Index, if sum, match, vlookup??

akilfoyle1192

New Member
Joined
Oct 17, 2017
Messages
3
Hi all,

I am getting stuck on how and or what may be the best way to navigate this data. I have values for injuries and I want to know how much shoulder injuries cost in 2015 and 2016.

Imagine if you will;
2015
Type of injuryBody PartNature of injury
Total
MedicalIndemnityVocLegalOtherJob Mod
Sprain
ShoulderI did x$1500$1200$3000000
DislocationShoulderI was X$3000$2000$5000$50000
ExposureEyeBlood in eye$50$5000000
SprainAnkleI did x$300$30000000
StrainHamstringI was x$1500$1000$2500$200$500

<tbody>
</tbody>

I want to know the total sum of all shoulder injuries, total sum of medical, indemnity, etc in 2015. Mind you the real data has 100+ rows.

Thanks in advance.
AK
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Assuming Body part column is B and Total column is D, try this and copy across for the other columns:

=SUMIF($B$2:$B$100,"Shoulder",D$2:D$100)

Godspeed!
 
Upvote 0
Assuming Body part column is B and Total column is D, try this and copy across for the other columns:

=SUMIF($B$2:$B$100,"Shoulder",D$2:D$100)

Godspeed!

Any way to insert a second argument with that equation?

I would like it to now count if it is a Shoulder Sprain, or Elbow Sprain, then report that sum. (see below?)

=SUMIF($B$2:$B$100,"shoulder"=Sumif($C$2:$C$100,"Sprain",$D$2:$D$100),$D$2:$D$100)
 
Upvote 0

Forum statistics

Threads
1,215,516
Messages
6,125,285
Members
449,218
Latest member
Excel Master

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