Finding variance with applying condition.

Samiur Rahman

New Member
Joined
Feb 3, 2023
Messages
1
Office Version
  1. 2019
Platform
  1. Windows
I want to find the variance of salaries by applying conditions with an age limit < 35.
I tried with VARPA function , used this formula: =VARPA(IF(age1:ageXX < 35, salary1:salaryXX))
But it is providing me a result of 0.
can anyone please show me my fault in this case?
 

Attachments

  • 21.PNG
    21.PNG
    40.9 KB · Views: 6

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Try this
Book1
ABCDEFGHI
5NameAgeGenderCountryEthnicityStart DateDepartmetPositionSalary
6WilsonK34MaleUnited StatesWhite7/5/2011ProductionProduction Technician$ 41,600.00
7Trina29FemaleUnited StatesWhite1/7/2008ProductionProduction Technician$ 43,680.00
8Sam34MaleUnited StatesWhite9/30/2013ProductionProduction Technician 1$ 45,760.00
9Alejandro30MaleUnited StatesWhite1/5/2015WISNetwork Engineer$ 93,600.00
10Francesco A34MaleUnited StatesTwo or more races2/20/2012ProductionProduction Technician 1$ 34,860.00
11Helen28FemaleUnited StatesWhite7/7/2014ProductionProduction Technician 1$ 33,280.00
12Dianna27FemaleUnited StatesWhite4/4/2011ProductionProduction Technician 11$ 56,160.00
13Bonalyn30FemaleUnited StatesAsan2/16/2015Admin OfficesSr. Accountant$ 72,696.00
14Elsa34FemaleUnited StatesBlack or African American1/5/2009ProductionDirector of Operations$124,800.00
15Mia32FemaleUnited StatesBlack or African American 10/27/2008Admin OfficesAccountant$ 59,280.00
16. In•enh24MaleUnited StatesWhite9/29/21714Prnd,cti,-,nPrnrf' '"tinn Technician 11$ 45,760.00
17
18Variance
19$ 91,520.00
Sheet7
Cell Formulas
RangeFormula
I19I19=MAXIFS(I6:I16,B6:B16,"<"&35)-MINIFS(I6:I16,B6:B16,"<"&35)
 
Upvote 0

Forum statistics

Threads
1,223,898
Messages
6,175,272
Members
452,628
Latest member
dd2

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