Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default How do I complete this nested if formula

This formula is working for the condition "If Long" but how do I add "If
Short" in a nested formula thats checks both criteria?

=IF(AND(B3="Long",H3<E3-G3),"NO GOOD","GOOD")
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default How do I complete this nested if formula

Depends on how you want it nested, but my guess is:
=IF(AND(OR(B3="Long",B3="Short"),H3<E3-G3),"NO GOOD","GOOD")

If B3 equals "Long" or "Short, and H3<E3-G3, then cell displays "no good".
If either condition is false, returns "good".
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Bobbybee" wrote:

This formula is working for the condition "If Long" but how do I add "If
Short" in a nested formula thats checks both criteria?

=IF(AND(B3="Long",H3<E3-G3),"NO GOOD","GOOD")

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
HOW DO I SET UP A FORMULA TO SUBTRACT AFTER EACH ROW I COMPLETE kimiecake Excel Worksheet Functions 3 January 9th 08 08:53 PM
Reference Cells from other Workbook to complete Formula Dvinechild Excel Discussion (Misc queries) 6 May 4th 07 04:22 PM
Amount in Words Complete Right Formula Naveed New Users to Excel 1 November 14th 06 10:07 AM
Automation Formula almost complete pboost1 Excel Discussion (Misc queries) 14 May 19th 06 12:22 AM
How do I create a conditional formula that hides a complete row o. Tom Excel Worksheet Functions 3 March 28th 06 12:46 PM


All times are GMT +1. The time now is 02:26 PM.

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"