ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   "IF" formula question (https://www.excelbanter.com/excel-worksheet-functions/20650-%22if%22-formula-question.html)

Barb1

"IF" formula question
 
I have been working with this formula for two hours and can't get it to work
right. Can anyone help?

The criteria is--If less than 400 pages, but not equal to 0, then charge
2.00 minimum. If more than 400 pages, then charge is .50 per 100.

Thanks,
Barb


JulieD

Hi Barb

=IF(A1=0,"",IF(A1<400,2,A1/100*.5))

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"Barb1" wrote in message
...
I have been working with this formula for two hours and can't get it to
work
right. Can anyone help?

The criteria is--If less than 400 pages, but not equal to 0, then charge
2.00 minimum. If more than 400 pages, then charge is .50 per 100.

Thanks,
Barb




Duke Carey

Try

=(2+((A1400)*0.5*(CEILING(A1/100,1)-4)))*(A10)

Which assumes that the charge for 400 is $2, but for 401 it's $2.5

Duke

"Barb1" wrote:

I have been working with this formula for two hours and can't get it to work
right. Can anyone help?

The criteria is--If less than 400 pages, but not equal to 0, then charge
2.00 minimum. If more than 400 pages, then charge is .50 per 100.

Thanks,
Barb



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

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