[mso] Re: Excel IF function to sort data into different worksheets from master?
- From: "Linda F. Johnson" <linda@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- To: <mso@xxxxxxxxxxxxx>
- Date: Thu, 13 Nov 2008 16:40:02 -0500
Excel gives you true or false as default results if you don't tell it what
it wants ... in your case you told it the True part, but not the false part
... so tell it to give you a blank cell ("") when it's false
Your adjusted formula would be:
=IF(master!B2="a", master!A2,"")
I'm in a real hurry here, so I don't have a chance to test this, but I
believe blank cells won't screw up your sort
Also, there are no attachments allowed in this group, so your screenshot
didn't come thru ... read the footer of every email you get from this group
to see how to share files with this group.
Linda
*********************************
Linda F. Johnson
Linda's Computer Stop
http://personal-computer-tutor.com
-----Original Message-----
From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx] On Behalf
Of Shawn McGinniss
Sent: Thursday, November 13, 2008 3:27 PM
To: mso@xxxxxxxxxxxxx
Subject: [mso] Excel IF function to sort data into different worksheets from
master?
Hello,
I'm trying to create conditional statements to get certain rows to copy into
different worksheets from a master based on the string value for a specific
column. I tried doing something like, *=IF(master!B2="a", master!A2)*,
which works okay, except values that don't equal "a" come back with FALSE in
the cells. Is there a way I can create the false condition to just do
nothing and skip over it? I'd like the sorted worksheets to be condensed
rather than have a bunch of rows with FALSE as a value, but the way I'm
doing it is causing the rows to be place marked.
Screenshot attached---
Thanks,
Shawn McGinniss
*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or
MicrosoftOffice@xxxxxxxxxxxxxxxx
To send mail to the group, simply address it to mso@xxxxxxxxxxxxx
To Unsubscribe from this group, visit the group's homepage and use the dropdown
menu at the top. This will allow you to unsubscribe your email address or
change your email settings to digest or vacation (no mail).
http://www.freelists.org/webpage/mso
To be able to share files with the group, you must join our Yahoo sister group.
This group will not allow for posting of emails, but will allow you to join
and share problem files, templates, etc.:
http://tech.groups.yahoo.com/group/MicrosoftOffice . This group is for FILE
SHARING ONLY.
If you are using Outlook and you see a lot of unnecessary code in your email
messages, read these instructions that explain why and how to fix it:
http://personal-computer-tutor.com/abc3/v28/greg28.htm
*************************************************************
Other related posts: