IF function + a formula

  • Thread starter Thread starter Cindyt
  • Start date Start date
C

Cindyt

I am trying to figure out how I can use the IF function to identify a word,
such as "Home". If it is true, I need to do a formula on that line of
information. The formula I am using is =+((C2-Criteria)-M2)/60. I cannot
seem to add all this together and make it work. I am using Excel 2003.

thanks!
 
Hi

The formula in the cell where you need the result could look like this:

=if(A2="Home",+((C2-Criteria)-M2)/60,0)

Regards,
Per
 
Try something like:

=IF(ISNUMBER(FIND("home",A1)),((C2-criteria)-M2)/60,"not found")

BTW, "=+" is superfluous. "=" works just as well.

Regards,
Fred.
 
Are you trying to find Home in the text contained in a single cell (Fred
gave you code which should do that) or are you looking for the word Home in
a column of data? Assuming the latter..

=IF(ISNUMBER(MATCH("Home",A1:A100,0)),(C2-Criteria-M2)/60,"")
 

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

Similar Threads

IF function 1
Help Writing a SUM Formula 5
Excel Need Countifs Formula Help 0
I am trying to use the IF and SUMIF function on Excel 8
Please help with a formula 6
Excel VBA 1
Nested IF Formula 5
Compound Formula for Substitution 3

Back
Top