Formula help

MissK2018

New Member
Joined
Jan 23, 2018
Messages
8
Hi Again,

I have another formula giving me trouble ... (LOL)

=IF(B13="FT",(F18/37.5*C20),IF(B13="contract",(F18/37.5*C20),IF(B13="PT",52.5)))


The formula works as is BUT I want it to do this instead:
If B13=FT (F18/37.5*20)
if B13 = PT enter 52.5
If B13 = Contract AND D13 = PT then enter "6%"
if B13 = Contract AND D13 = FT then (F18/37.5*C20)

I've got this formula - but I'm getting a "false" response:
=IF(B13="FT",(F18/37.5*C20),IF(AND(B13="contract",D13="FT")*(F18/37.5*C20),IF(AND(B13="contract",D13="PT")*"6%",IF(B13="PT",52.5))))


Thanks in advance !!
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Hello i believe this is what you were needing

=IF(B13="FT",(F18/37.5*C20),IF(AND(B13="contract",D13="FT"),(F18/37.5*C20),IF(AND(B13="contract",D13="PT"),"6%",IF(B13="PT",52.5,0))))

you were close but had some multiplication where a comma was needed ... this was yours and in red is what i changed

=IF(B13="FT",(F18/37.5*C20),IF(AND(B13="contract",D13="FT")*(F18/37.5*C20),IF(AND(B13="contract",D13="PT")*"6%",IF(B13="PT",52.5,0))))

the zero on the end is just an exit statement if nothing is true ... feel free to insert whatever
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,176
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top