ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   IF function OK to use? (https://www.excelbanter.com/excel-worksheet-functions/174719-if-function-ok-use.html)

Tom McFadd

IF function OK to use?
 
I'm tryingfind a function to return one of three prices as below based on a
random qty as below:

Qty 0 to 49,999 = .61
Qty 50,000 to 99,999 = .60
Qty 99,999 = .59

Can the IF function handle this?
Thanks,
--
Tom

Don Guillett

IF function OK to use?
 
=if(a1=100000,.59,if(a1=50000,.6,if(a10,.61,0)) )

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Tom McFadd" wrote in message
...
I'm tryingfind a function to return one of three prices as below based on
a
random qty as below:

Qty 0 to 49,999 = .61
Qty 50,000 to 99,999 = .60
Qty 99,999 = .59

Can the IF function handle this?
Thanks,
--
Tom




All times are GMT +1. The time now is 02:08 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com