ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Formula Help - Easy for somebody (https://www.excelbanter.com/excel-worksheet-functions/46007-formula-help-easy-somebody.html)

Mike B

Formula Help - Easy for somebody
 
I have three clients that get billed at different rates, here is the formula I have

=IF(contract=John,(J11*50)*B11),IF(contract=Willey ,(J11*20)*B11),IF(contract=Ernst,(J11*500)*B11)

But I only get the rate for John? Can anybody fix this?

Thanks

Aladin Akyurek

Something like:

=IF(Contract<"",(J11*VLOOKUP(Contract,{"John",50; "Willey",20;"Ernst",500},2,0))*B11,"")

Mike B wrote:
I have three clients that get billed at different rates, here is the
formula I have

=IF(contract=John,(J11*50)*B11),IF(contract=Willey ,(J11*20)*B11),IF(contract=Ernst,(J11*500)*B11)

But I only get the rate for John? Can anybody fix this?

Thanks



Mike B

Thanks,
But I got it by just removing some ()

=IF(Contract="John",Points*50*Quantity,IF(Contract ="Willey",Points*20*Quantity, IF(Contract="Ernst",Points*500*Quantity,IF(Contrac t="Rad",Points*5*Quantity,""))))




Quote:

Originally Posted by Aladin Akyurek
Something like:

=IF(Contract"",(J11*VLOOKUP(Contract,{"John",50;"W illey",20;"Ernst",500},2,0))*B11,"")

Mike B wrote:
I have three clients that get billed at different rates, here is the
formula I have

=IF(contract=John,(J11*50)*B11),IF(contract=Willey ,(J11*20)*B11),IF(contract=Ernst,(J11*500)*B11)

But I only get the rate for John? Can anybody fix this?

Thanks




All times are GMT +1. The time now is 10:23 AM.

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