IF Else Statement Help

Dshaw

New Member
Joined
May 20, 2020
Messages
4
Office Version
  1. 365
  2. 2016
  3. 2013
Platform
  1. Windows
  2. Mobile
I have a Spreadsheet that has employee Names in Column A Payrate in Column B in Column C Total Hours. I am trying to add a 1.5% increase to the employees who make more than $14 an hour and bring up the employees that make less than to $14 an hour. Then I need it to return the total amount they would make with the increases. I created a IF else statement that works but can't get it to run on a selection from Column B or get it to sum the total.
Here is the statement I was using " =IF(B16<=14,14,B16*1.5%+B16). I belive I need to use an array but I not familiar with how to do that. Any help would greatly be appreciated.

Thanks,
Darren
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Hi and welcome to MrExcel.

You could put a sample of your data, try to put several records and explain what is the result that you need.
If you have confidential data, replace it with generic data.

Use XL2BB tool, check my signature.
 
Upvote 0
Here is an example Table

Example.xlsx
ABCDEFGHIJ
1NameWageAnnual HrsAnnual WageIncrease AmountTotal Annual increase
2Greg $ 13.50 2060 $ 27,810.00 1.50%
3John $ 13.75 2020 $ 27,775.00
4Sally $ 14.60 2040 $ 29,784.00 If column B is over $14 an hour they get a 1.5%
5April $ 15.60 2020 $ 31,512.00 Increase. If it under the get raised to $14 an hour.
6Juan $ 13.75 2060 $ 28,325.00 Then it tally's the new annual wage.
7Tom $ 14.00 2060 $ 28,840.00
8Byron $ 14.25 2020 $ 28,785.00
9Mike $ 15.00 2080 $ 31,200.00
10Total $ 234,031.00
Sheet1
Cell Formulas
RangeFormula
D2:D9D2=B2*C2
D10D10=SUM(D2:D9)
 
Upvote 0
Try this array formula

Dante Amor
ABCDEFG
1NameWageAnnual HrsAnnual WageIncrease AmountTotal Annual increase
2Greg13.50206027,810.001.5%235,850.22
3John13.75202027,775.00
4Sally14.60204029,784.00
5April15.60202031,512.00
6Juan13.75206028,325.00
7Tom14.00206028,840.00
8Byron14.25202028,785.00
9Mike15.00208031,200.00
Hoja4
Cell Formulas
RangeFormula
G2G2=SUM(IF(B2:B9>14,D2:D9*(1+F2),D2:D9))
Press CTRL+SHIFT+ENTER to enter array formulas surrounded with curly braces.
 
Upvote 0
Try this array formula

Dante Amor
ABCDEFG
1NameWageAnnual HrsAnnual WageIncrease AmountTotal Annual increase
2Greg13.50206027,810.001.5%235,850.22
3John13.75202027,775.00
4Sally14.60204029,784.00
5April15.60202031,512.00
6Juan13.75206028,325.00
7Tom14.00206028,840.00
8Byron14.25202028,785.00
9Mike15.00208031,200.00
Hoja4
Cell Formulas
RangeFormula
G2G2=SUM(IF(B2:B9>14,D2:D9*(1+F2),D2:D9))
Press CTRL+SHIFT+ENTER to enter array formulas surrounded with curly braces.
Thanks what you gave me allowed me to correct it to what i needed. this was the final formula "=SUM((IF(B2:B9<=14,14,B2:B9*$G$2+B2:B9))*C2:C9)"

Thanks, for your help
 
Upvote 0

Forum statistics

Threads
1,223,229
Messages
6,170,881
Members
452,364
Latest member
springate

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