![]() |
If function with 3 different outcomes
How to use the IF function to get 3 different outcomes. If E17<C17 then
"Below Range", If E17D17 "Above Range" IF E17 is between between C17 AND D17 then In Range.. How do i do this? |
Answer: If function with 3 different outcomes
This formula uses nested IF functions to check if the value in cell E17 is below the range (less than C17), above the range (greater than D17), or within the range (between C17 and D17). If the value in E17 is less than C17, the formula will return "Below Range". If the value in E17 is greater than D17, the formula will return "Above Range". If the value in E17 is between C17 and D17, the formula will return "In Range". You can adjust the cell references in the formula to match your specific data range. |
If function with 3 different outcomes
You could do this:
=IF(E17<C17,"Below range",IF(E17D17,"Above range","In range")) Assumes that C17 is less than D17. Hope this helps. Pete On Jul 31, 1:44*am, Max wrote: How to use the IF function to get 3 different outcomes. If E17<C17 then "Below Range", If E17D17 "Above Range" IF E17 is between between C17 AND D17 then In Range.. How do i do this? |
If function with 3 different outcomes
I may have typed in wrong, however, excel corrected my mistake and the
formulas worked. Truely appreciate the help Pete, saved me a lot of time just now. take care "Pete_UK" wrote: You could do this: =IF(E17<C17,"Below range",IF(E17D17,"Above range","In range")) Assumes that C17 is less than D17. Hope this helps. Pete On Jul 31, 1:44 am, Max wrote: How to use the IF function to get 3 different outcomes. If E17<C17 then "Below Range", If E17D17 "Above Range" IF E17 is between between C17 AND D17 then In Range.. How do i do this? |
If function with 3 different outcomes
You should consider using Copy/Paste to put posted formulas and/or code into
Excel instead of relying on typing what you (think you) read from the screen. -- Rick (MVP - Excel) "Max" wrote in message ... I may have typed in wrong, however, excel corrected my mistake and the formulas worked. Truely appreciate the help Pete, saved me a lot of time just now. take care "Pete_UK" wrote: You could do this: =IF(E17<C17,"Below range",IF(E17D17,"Above range","In range")) Assumes that C17 is less than D17. Hope this helps. Pete On Jul 31, 1:44 am, Max wrote: How to use the IF function to get 3 different outcomes. If E17<C17 then "Below Range", If E17D17 "Above Range" IF E17 is between between C17 AND D17 then In Range.. How do i do this? |
If function with 3 different outcomes
Here's another similar formula:
=IF(E17<C17,"Below",IF(E17D17,"Above","In"))&" Range" -- If this helps, please click the Yes button. Cheers, Shane Devenshire "Max" wrote: How to use the IF function to get 3 different outcomes. If E17<C17 then "Below Range", If E17D17 "Above Range" IF E17 is between between C17 AND D17 then In Range.. How do i do this? |
All times are GMT +1. The time now is 06:42 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com