Conditional formula if content is text

  • Thread starter Thread starter a m spock
  • Start date Start date
A

a m spock

How do i write an IF statement which does Task A if contents of a certain
cell are a TEXT and Task B if it is a numerical value. e.g. If(A1=any
text,1,0) or If(a1=specific text,1,0)
 
Sort of opens a whole new world, doesn't it? Microsoft needs to come up with
an easier way to return data types from a worksheet cell. I am sure that I
am not the only one who struggles with this occasionally.
 
many thanks. this is the simplest. can you suggest what to do for part 2 of
my question. if for example i have to match to a specific text say,
If(A1=Car,1,0)?
 
hi
i think you already have it. just add quotes to car.

formula is....=if(A1="Car",1,0)......pick your format.

Regards
FSt1
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top