Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default IF function + a formula

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!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,533
Default IF function + a formula

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

"Cindyt" skrev i meddelelsen
...
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!


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default IF function + a formula

Try something like:

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

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

Regards,
Fred.

"Cindyt" wrote in message
...
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!


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,934
Default IF function + a formula

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,"")

--
Rick (MVP - Excel)


"Cindyt" wrote in message
...
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!


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,934
Default IF function + a formula

Is your system clock set correctly?

--
Rick (MVP - Excel)


"Per Jessen" wrote in message
...
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

"Cindyt" skrev i meddelelsen
...
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!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with OR function in IF function formula veggies27 Excel Worksheet Functions 3 March 18th 08 10:04 PM
formula within IF function Shirley Excel Discussion (Misc queries) 5 June 8th 07 07:50 PM
need function/formula help!! reneelimon Excel Worksheet Functions 4 March 28th 07 02:13 AM
A formula/function to return a formula/function sith janitor Excel Worksheet Functions 4 September 22nd 06 05:01 PM
IF formula with MAX function yo eddy Excel Discussion (Misc queries) 1 June 9th 06 01:36 AM


All times are GMT +1. The time now is 05:07 AM.

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

About Us

"It's about Microsoft Excel"