Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Does anyone know the formula for "If between x & y, then z"? Someone's hourly
wage will be dependent upon three different ranges I will bill their time out to clients. If under X, then the hourly rate is $30 If between X and Y, then the hourly rate is $33 If over Y, then the hourly rate is $35 |
#2
![]() |
|||
|
|||
![]()
One way:
=IF(A1<X,30,IF(A1<=Y, 33, 35)) In article , "Stumped by If Thens...." <Stumped by If wrote: Does anyone know the formula for "If between x & y, then z"? Someone's hourly wage will be dependent upon three different ranges I will bill their time out to clients. If under X, then the hourly rate is $30 If between X and Y, then the hourly rate is $33 If over Y, then the hourly rate is $35 |
#3
![]() |
|||
|
|||
![]()
Hi
With value to process in cell A1: =30+3*(A1=X)+2*(A1Y) Unlike using nested IF, you aren't limited with 7 nesting levels. And probably it will work faster too. Arvi Laanemets "Stumped by If Thens...." <Stumped by If wrote in message ... Does anyone know the formula for "If between x & y, then z"? Someone's hourly wage will be dependent upon three different ranges I will bill their time out to clients. If under X, then the hourly rate is $30 If between X and Y, then the hourly rate is $33 If over Y, then the hourly rate is $35 |
#4
![]() |
|||
|
|||
![]()
Long before 7 nesting levels became an issue, I'd think one would want
to use a lookup. The simpler maintenance in most cases would trump faster calculation... In article , "Arvi Laanemets" wrote: With value to process in cell A1: =30+3*(A1=X)+2*(A1Y) Unlike using nested IF, you aren't limited with 7 nesting levels. And probably it will work faster too. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? | Excel Discussion (Misc queries) | |||
How to I use ** without Excel thinking I want to type a formula? | Excel Discussion (Misc queries) | |||
Converting an Excel formula to an Access query formula | Excel Discussion (Misc queries) | |||
Suddenly Excel can't calculate formula!!! | Excel Worksheet Functions | |||
Excel 2003 - Formula result shows as 0:00 | Excel Worksheet Functions |