Alternative to IF function

marciaoaktree

New Member
Joined
Feb 3, 2016
Messages
4
In my spreadsheet I need a formula to automatically calculate the HST/GST based on which province the purchase order is being created for. Example: I'm doing a purchase order for a company in Ontario. We need to charge 13% HST on that purchase order because that company is in Ontario. However, if we were doing up a purchase order for a company in Nova Scotia, the HST is 15%. So, I need a formula that will calculate either the GST or HST (whichever is applicable) based on whatever the HST or GST rate is for that province. I can't do IF statement because I have 14 of them, and the max allowable is 7. Can anyone help with this?

Example:

I want the HST or GST of whatever rate is applicable for the province I'm sending the Purchase Order to, to auto generate from the Subtotal in the cell above.

Can anyone help with this??
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Hi Joe. If the cell beside my Tax amount is a dropdown box containing all of the provinces to choose from, can I still use this VLOOKUP Function?
 
Upvote 0
I just tried using the vlookup function. Problem is, i need to multiply the subtotal by the gst/hst... I can't see this function working for this. Is there anything else i can do?
 
Upvote 0
It should return your percent, so you can multiply by that, either in two cells or in one cell like:
Code:
=Subtotal * VLOOKUP(...)
 
Upvote 0

Forum statistics

Threads
1,217,370
Messages
6,136,155
Members
449,995
Latest member
rport

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