hlookup multiple values

stuckagainexcel

New Member
Joined
May 16, 2016
Messages
8
I have the data below I want to add all the values that match a certain date in a pair of column below, if the dates didn't duplicate I could do a hlookup but as they do, I'm a bit stuck.

For example my input would be "13/9/2021" and I would want the output in separate cells to show:

Row 1 total: 80
Row 2 total: 50
Row 3 total: 0
Row 4 total: 0
Row 5 total: 36
Row 6 total: 17


Input
Date
13/09/2021​
13/09/2021​
21/09/2021​
21/09/2021​
21/09/2021​
21/09/2021​
Row 1
46​
34​
4​
18​
28​
35​
Row 2
32​
18​
4​
19​
10​
26​
Row 3
0​
0​
0​
3​
0​
0​
Row 4
0​
0​
7​
10​
0​
10​
Row 5
6​
30​
0​
0​
0​
0​
Row 6
0​
17​
0​
0​
0​
0​
 

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
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Maybe
+Fluff 1.xlsm
ABCDEFG
1Input
2Date13/09/202113/09/202121/09/202121/09/202121/09/202121/09/2021
3Row 146344182835
4Row 232184191026
5Row 3000300
6Row 400710010
7Row 56300000
8Row 60170000
9
10
1113/09/2021
12Row 180
13Row 250
14Row 30
15Row 40
16Row 536
17Row 617
Master
Cell Formulas
RangeFormula
B12:B17B12=SUMIFS(B3:G3,$B$2:$G$2,$A$11)
 
Upvote 0

Forum statistics

Threads
1,215,734
Messages
6,126,543
Members
449,316
Latest member
sravya

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