Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Find and IF statement
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Atif  
View profile  
 More options Nov 4, 5:06 am
Newsgroups: microsoft.public.excel.newusers
From: Atif <A...@discussions.microsoft.com>
Date: Tue, 3 Nov 2009 13:06:10 -0800
Local: Wed, Nov 4 2009 5:06 am
Subject: Find and IF statement
Hi:

I am using following formula to search a string and display in target cell,
if first IF condition returns TRUE it displays BCOT, if not #value! error.
any help.

=IF(SEARCH("BCOT",A2)>0,"BCOT",IF(SEARCH("BCPN",A2)>0,"BCPN",""))


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joe User  
View profile  
 More options Nov 4, 5:27 am
Newsgroups: microsoft.public.excel.newusers
From: "Joe User" <joeu2004>
Date: Tue, 3 Nov 2009 13:27:15 -0800
Local: Wed, Nov 4 2009 5:27 am
Subject: Re: Find and IF statement

"Atif" <A...@discussions.microsoft.com> wrote:
> =IF(SEARCH("BCOT",A2)>0,"BCOT",IF(SEARCH("BCPN",A2)>0,"BCPN",""))

Try:

=IF(ISNUMBER(SEARCH("BCOT",A2)),"BCOT",IF(ISNUMBER(SEARCH("BCPN",A2)),"BCPN ",""))

----- original message -----

"Atif" <A...@discussions.microsoft.com> wrote in message

news:8BF6D68B-BD8C-46ED-85FA-6DAF0A2BBD23@microsoft.com...


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
cm  
View profile  
 More options Nov 4, 5:41 am
Newsgroups: microsoft.public.excel.newusers
From: cm <c...@discussions.microsoft.com>
Date: Tue, 3 Nov 2009 13:41:02 -0800
Local: Wed, Nov 4 2009 5:41 am
Subject: RE: Find and IF statement
replace your formula with this one:

=IF(ISERROR(SEARCH("BCOT",A2))=TRUE,IF(ISERROR(SEARCH("BCPN",A2))=TRUE,""," BCPN"),"BCOT")
--
hope to help,
cm


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Atif  
View profile  
 More options Nov 4, 6:04 am
Newsgroups: microsoft.public.excel.newusers
From: Atif <A...@discussions.microsoft.com>
Date: Tue, 3 Nov 2009 14:04:01 -0800
Local: Wed, Nov 4 2009 6:04 am
Subject: RE: Find and IF statement
Can we add more conditions?


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
cm  
View profile  
 More options Nov 4, 6:26 am
Newsgroups: microsoft.public.excel.newusers
From: cm <c...@discussions.microsoft.com>
Date: Tue, 3 Nov 2009 14:26:01 -0800
Local: Wed, Nov 4 2009 6:26 am
Subject: RE: Find and IF statement
you can nest up to 7 if statements; if you need more conditions, there will
need to be a different solution.
--
hope to help,
cm


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Atif  
View profile  
 More options Nov 4, 6:29 am
Newsgroups: microsoft.public.excel.newusers
From: Atif <A...@discussions.microsoft.com>
Date: Tue, 3 Nov 2009 14:29:01 -0800
Local: Wed, Nov 4 2009 6:29 am
Subject: RE: Find and IF statement
Yes, I need more conditions.


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Atif  
View profile  
 More options Nov 5, 12:40 am
Newsgroups: microsoft.public.excel.newusers
From: Atif <A...@discussions.microsoft.com>
Date: Wed, 4 Nov 2009 08:40:01 -0800
Local: Thurs, Nov 5 2009 12:40 am
Subject: RE: Find and IF statement
Thank you!

following statement worked for me:
=IF(ISERROR(FIND("YSC",AO2)),IF(ISERROR(FIND("MHO",AO2)),IF(ISERROR(FIND("W CC",AO2)),IF(ISERROR(FIND("BCOT",AO2)),IF(ISERROR(FIND("SCC",AO2)),IF(ISERR OR(FIND("BMTT",AO2)),"","BMTT"),"SCC"),"BCOT"),"WCC"),"MHO"),"YSC")


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google