Formulating taxes assistance

Johnathan_Jeremy

New Member
Joined
Dec 20, 2023
Messages
4
Office Version
  1. 365
Platform
  1. Windows
I am creating a expense form with excel. I want to use the value of a drop down on cell E6 of either P,G, GP. These represent GST, PST, or GST&PST depending on the good / service. Then is cell F6 would be GST Cell G6 PST. The cell D6 has the subtotal pre

Essentially what I would like, is if the report writer puts a G in the drop down. Cell F6 would show the gst amount of 5%. If writer puts in P then cell G6 calculates 7% pst. If writer puts in GP then it would put both calculations in both cells.
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Do you mean something like this:
Book1
DEFG
5
6$100.00G$5.00 
7
Sheet1
Cell Formulas
RangeFormula
F6F6=IF(OR(E6="G",E6="GP"),D6*0.05,"")
G6G6=IF(OR(E6="P",E6="GP"),D6*0.07,"")
Cells with Data Validation
CellAllowCriteria
E6ListG,P,GP


Book1
DEFG
5
6$100.00P $7.00
7
Sheet1
Cell Formulas
RangeFormula
F6F6=IF(OR(E6="G",E6="GP"),D6*0.05,"")
G6G6=IF(OR(E6="P",E6="GP"),D6*0.07,"")
Cells with Data Validation
CellAllowCriteria
E6ListG,P,GP


Book1
DEFG
5
6$100.00GP$5.00$7.00
7
Sheet1
Cell Formulas
RangeFormula
F6F6=IF(OR(E6="G",E6="GP"),D6*0.05,"")
G6G6=IF(OR(E6="P",E6="GP"),D6*0.07,"")
Cells with Data Validation
CellAllowCriteria
E6ListG,P,GP
 
Upvote 0
Solution
I read your request as asking to simply display the static values of 5% or 7% in the corresponding cells based on E6. If that's the case, then try this:

Excel Formula:
F6 =IF(OR(E6="g",F6="GP"),"5%","")
G6=IF(OR(E6="p",F6="GP"),"7%","")

However, if I misunderstood and you are wanting a calculation of 5% or 7% of some value in another cell, then go with Kevin's solution.
 
Upvote 0
Do you mean something like this:
Book1
DEFG
5
6$100.00G$5.00 
7
Sheet1
Cell Formulas
RangeFormula
F6F6=IF(OR(E6="G",E6="GP"),D6*0.05,"")
G6G6=IF(OR(E6="P",E6="GP"),D6*0.07,"")
Cells with Data Validation
CellAllowCriteria
E6ListG,P,GP


Book1
DEFG
5
6$100.00P $7.00
7
Sheet1
Cell Formulas
RangeFormula
F6F6=IF(OR(E6="G",E6="GP"),D6*0.05,"")
G6G6=IF(OR(E6="P",E6="GP"),D6*0.07,"")
Cells with Data Validation
CellAllowCriteria
E6ListG,P,GP


Book1
DEFG
5
6$100.00GP$5.00$7.00
7
Sheet1
Cell Formulas
RangeFormula
F6F6=IF(OR(E6="G",E6="GP"),D6*0.05,"")
G6G6=IF(OR(E6="P",E6="GP"),D6*0.07,"")
Cells with Data Validation
CellAllowCriteria
E6ListG,P,GP
is there a way to make the cell with PST that reads like this =IF(OR(E9="P",E9="GP"),D9*0.07,"") to have it say 0.00 if there is no P or GP value? On my total I am having trouble with the Total when I add the cells from Subtotal, GST & PST. When there is only GST on an item the PST cell is blank and then the Total column has #VALUE in it.
 
Upvote 0
Try changing it to this:
=IF(OR(E9="P",E9="GP"),D9*0.07,0)
 
Upvote 0

Forum statistics

Threads
1,215,328
Messages
6,124,295
Members
449,149
Latest member
mwdbActuary

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