Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default If Statements - Need Help

I am getting so confused by these If Statements!! I have 3 columns
that I need to encorporate into my If Statement. I need it to say:

If column J = the letter "M", then put "REPAIR", IF column H = 0, then
put "REPAIR", IF column I < 0, "REPAIR", "DO NOT REPAIR"

Does this make any sense?? It does in my head, but not sure if I typed
it out right.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default If Statements - Need Help

Does this work for you:

=IF(OR(J1="M",H1=0,I1<0),"Repair","Do Not Repair")
?
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Wonder" wrote in message
oups.com...
I am getting so confused by these If Statements!! I have 3 columns
that I need to encorporate into my If Statement. I need it to say:

If column J = the letter "M", then put "REPAIR", IF column H = 0, then
put "REPAIR", IF column I < 0, "REPAIR", "DO NOT REPAIR"

Does this make any sense?? It does in my head, but not sure if I typed
it out right.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,886
Default If Statements - Need Help

Hi
Try
=IF(J1="M","Repair",IF(H1=0,"Repair",IF(I1<0,"Repa ir","Do not Repair")))

--
Regards

Roger Govier


"Wonder" wrote in message
oups.com...
I am getting so confused by these If Statements!! I have 3 columns
that I need to encorporate into my If Statement. I need it to say:

If column J = the letter "M", then put "REPAIR", IF column H = 0, then
put "REPAIR", IF column I < 0, "REPAIR", "DO NOT REPAIR"

Does this make any sense?? It does in my head, but not sure if I
typed
it out right.



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
Creating my own user defined function help statements Craig Excel Worksheet Functions 2 February 22nd 06 04:51 PM
UDFunctions and nested If-the-else statements JDB Excel Worksheet Functions 1 January 25th 06 03:29 PM
"IF Statements in Microsoft Excel Kathy Excel Discussion (Misc queries) 5 December 5th 05 05:02 PM
Linking two IF statements together trixma Excel Discussion (Misc queries) 2 September 29th 05 06:07 AM
Nested IF statements John Simons Excel Worksheet Functions 14 February 16th 05 06:17 AM


All times are GMT +1. The time now is 11:47 PM.

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

About Us

"It's about Microsoft Excel"