Nesting or And function?

Utradeshow

Well-known Member
Joined
Apr 26, 2004
Messages
809
Office Version
  1. 365
Hi All,

I have a tricky formula that I'm stumped on.

In cell A1 I have a dropdown that is taxable and non taxable
In cell B1 I have a dropdown with 3 counties Broward (6%), Dade (7%), Palm Beach (7%)
In cell C1 i have a sale amount and I am trying to calculate the tax rates with the result in cell D1.

If cell A1 says "Taxable" then the result in cell D1 would calculate based on the value of B1.

Thanks a Bunch!!
 
So B3 can equal "REC 90 (Non Ethanol Gasoline)" or "Unleaded Gasoline"? If so, try the following modification:

=IF(OR(B3="REC 90 (Non Ethanol Gasoline)",B3="Unleaded Gasoline"),IF(B9="Service County - Dade",0.183,IF(OR(B9="Service County - Broward",B9="Service County - Palm Beach"),0.203,0)),IF(B3="Ultra Low Sulfer Diesel",IF(B9="Service County - Dade",0.153,IF(OR(B9="Service County - Broward",B9="Service County - Palm Beach"),0.153,0)),0))
Yes sir!! Thank you so much
 
Upvote 0

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

Forum statistics

Threads
1,225,197
Messages
6,183,502
Members
453,165
Latest member
kuldeep08126

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