Thread: Formula in B1
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Rik_UK Rik_UK is offline
external usenet poster
 
Posts: 22
Default Formula in B1

As a blank in a1 or any othoer word than the ones listed have the same result
they need not be defined... putting this formula in cell b1 will provide the
results requested.

=IF(OR(A1="green",A1="blue",A1="plant",A1="street" ),"f","")

but if when A1 is blank needs to be considered seperately then use the
following

=IF(A1="","",IF(OR(A1="green",A1="blue",A1="plant" ,A1="street"),"f",""))

--
Kind regards

Rik


"Trainee" wrote:

Could somebody be so kind and provide me with a formula to go in
B1 that will change this cell accordinly to A1.
If A1= blank, then B1= blank
If A1= "green" or "blue" or "plant" or "street" (TEXT),then B1 will show
letter "f".(all examples without quotation of course)
If A1= any other different word, then B1= blank.
Thank you very much.