A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

IF Logical Test



 
 
Thread Tools Display Modes
  #1  
Old February 19th, 2009, 08:00 PM posted to microsoft.public.excel.newusers
s bruce
external usenet poster
 
Posts: 1
Default IF Logical Test

How can I write a formula that in effect goes =IF(cell# contains character
a,b,c,f) then insert contents of cell# here, if not then 0)
  #2  
Old February 19th, 2009, 08:05 PM posted to microsoft.public.excel.newusers
T. Valko
external usenet poster
 
Posts: 15,759
Default IF Logical Test

Not enough specific info. Maybe something like this:

=IF(OR(A1={"a","b","c","f"}),B1,0)

--
Biff
Microsoft Excel MVP


"s bruce" s wrote in message
...
How can I write a formula that in effect goes =IF(cell# contains character
a,b,c,f) then insert contents of cell# here, if not then 0)



  #5  
Old February 23rd, 2009, 03:51 PM posted to microsoft.public.excel.newusers
s bruce[_2_]
external usenet poster
 
Posts: 2
Default IF Logical Test

You were right... it worked great

Thanks
  #6  
Old February 23rd, 2009, 05:15 PM posted to microsoft.public.excel.newusers
T. Valko
external usenet poster
 
Posts: 15,759
Default IF Logical Test

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"s bruce" wrote in message
...
You were right... it worked great

Thanks



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:04 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.