Lookup to sum totals

kac1125

Board Regular
Joined
Jul 31, 2014
Messages
71
Office Version
  1. 365
Platform
  1. Windows
Hello,

Looking for a sum/vlookup formula to sum up the total values for a certain criteria. For example I am looking to sum up Days for a name I input in cell D2 so lets say D2 is Joe, I want E2 to read 9.5. Any help will be appreciates. THanks in advance!
NameqtyDays
Joe507.5
John402
Rich301
John202
John153
Rich101
Dan402
Tom402
Joe302
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Forgot to mention the names start in A2 qty B2 Days in C2
 
Upvote 0
USE SUMIFS FORMULA

ENTER =+SUMIFS(C2:C10,A2:A10,D2) IN E2 AND INPUT JOE IN D2 TO GET YOUR RESULT
 
Upvote 0
USE SUMIFS FORMULA

ENTER =+SUMIFS(C2:C10,A2:A10,D2) IN E2 AND INPUT JOE IN D2 TO GET YOUR RESULT
Thanks! this worked! one more question. what if I am using a slicer? It seems to pull the full sum instead of the filtered values. Please let me know if you have any ideas.

Thanks again!
 
Upvote 0

Forum statistics

Threads
1,214,591
Messages
6,120,425
Members
448,961
Latest member
nzskater

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