Can I put these three formulas together?

suzette0735

New Member
Joined
Jul 12, 2023
Messages
18
Office Version
  1. 365
Platform
  1. Windows
I have tried putting these three formulas together in one cell but keep getting errors: Can anyone help?
=IF(AND($I$9="TAX",K14="Y"),(((((M14*$I$8)+M14)*0.0825)+M14*$I$8)+M14),0)
=IF(AND($I$9="TAX MATERIALS ONLY",K14="N"),((M14*$I$8)+M14),0)
=IF($I$9="TAX EXEMPT",((N14*$I$8)+N14),0)
I am trying to get the retail amount in a certain cell with tax or with out depending on the type of construction type and whether they are tax exempt tax or tax on materials. I get it to work in three separate cells but cannot combine.
Thanks!
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
How about
Excel Formula:
=IF(AND($I$9="TAX",K14="Y"),((((M14*$I$8)+M14)*0.0825)+M14*$I$8)+M14,IF(AND($I$9="TAX MATERIALS ONLY",K14="N"),(M14*$I$8)+M14,IF($I$9="TAX EXEMPT",(N14*$I$8)+N14,0)))
 
Upvote 0
Solution
How about
Excel Formula:
=IF(AND($I$9="TAX",K14="Y"),((((M14*$I$8)+M14)*0.0825)+M14*$I$8)+M14,IF(AND($I$9="TAX MATERIALS ONLY",K14="N"),(M14*$I$8)+M14,IF($I$9="TAX EXEMPT",(N14*$I$8)+N14,0)))
Thank you so much it seems to be working but i keep getting a circular reference error.
 
Upvote 0
What cell do you have the formula in?
 
Upvote 0
That's why you get a circular reference as the formula is looking at itself.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,487
Messages
6,125,075
Members
449,205
Latest member
Healthydogs

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