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

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
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,223,250
Messages
6,171,036
Members
452,374
Latest member
keccles

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