Need a formula to show the difference

Jdog12

New Member
Joined
May 21, 2020
Messages
23
Office Version
  1. 365
Platform
  1. Windows
I have a spreadsheet for bonus, and employees fill out the forms if they elect to pay additional taxes (FIT and SIT), no additional tax or they want to elect fixed amounts for FIT and SIT.

Bonus is taxed at 22% for Federal tax (FIT) and 6.6% for state (SIT). For those employees who elect to pay additional taxes, that's not an issue.

Some employees elect to pay a flat FIT and flast SIT. But on occassions what they put down for the flat FIT and SIT are lower than the required FIT and SIT.

I want to set up two columns to show the differences of what are required for FIT and SIT for those who prefer fixed amounts.

For columns G & H , not all the cells need to be filled out. It could be blank or with numbers.

I tried if statements using And/OR, but i could not get it right.

Any help is appreciated.
 

Attachments

  • Screenshot 2023-08-31 150328.png
    Screenshot 2023-08-31 150328.png
    13.1 KB · Views: 5

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
I'm a little confused, but here is my guess at what you want:

Mr excel questions 58.xlsm
BCDEFGHIJ
10.220.066Warning
2EmployeesFIT 22% SIT 6.6%Additional FITAdditional SITFLAT FIT to Replace Statutory FIT CalculationFLAT SIT to Replace Statutory SIT CalculationLess than required FITLess than required SIT
312343,300.00990.002,500.00800.00 
4567810,340.003,102.00200.00  
5267814,300.004,290.004,000.00 290.00
6626619,800.005,940.00  
Jdog12
Cell Formulas
RangeFormula
C3:C6C3=A3:A6*C1
D3:D6D3=A3:A6*D1
I3:J6I3=IF(G3="","",IF(G3>C3,"",C3-G3))
Dynamic array formulas.
 
Upvote 0
I'm a little confused, but here is my guess at what you want:

Mr excel questions 58.xlsm
BCDEFGHIJ
10.220.066Warning
2EmployeesFIT 22% SIT 6.6%Additional FITAdditional SITFLAT FIT to Replace Statutory FIT CalculationFLAT SIT to Replace Statutory SIT CalculationLess than required FITLess than required SIT
312343,300.00990.002,500.00800.00 
4567810,340.003,102.00200.00  
5267814,300.004,290.004,000.00 290.00
6626619,800.005,940.00  
Jdog12
Cell Formulas
RangeFormula
C3:C6C3=A3:A6*C1
D3:D6D3=A3:A6*D1
I3:J6I3=IF(G3="","",IF(G3>C3,"",C3-G3))
Dynamic array formulas.
I had a space inside of "", and that's why it was showing the value of C4 in I4 when I4 is blank.

My bad!

Thanks,
 
Upvote 0
I'm happy you figured it out, Best Wishes!
 
Upvote 0

Forum statistics

Threads
1,215,084
Messages
6,123,029
Members
449,092
Latest member
ikke

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