=Sumif Help

zone709

Well-known Member
Joined
Mar 1, 2016
Messages
2,072
Office Version
  1. 365
Platform
  1. Windows
So this formula is working, but i am trying to get the total sum on the last part of the formula in that range. Week1!N3:T100)
As you can see after H matches AH cells i need the total in that line range N to T. Any help thanks.

=SUMIF(Week1!H3:H300,GP!AH10,Week1!N3:T100)
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
How about
Excel Formula:
SUMPRODUCT((Week1!H3:H300=GP!AH10)*(Week1!N3:T100))
 
Upvote 0
How about
Excel Formula:
SUMPRODUCT((Week1!H3:H300=GP!AH10)*(Week1!N3:T100))
For some reason when i put formula in cell it just sits there. Then i tried = in front but i got #value
 
Upvote 0
In that case can you post some sample data.
 
Upvote 0
I made a quick example of the 2 sheets. I am going to enter formula on the Week 1 sheet.

Example: Lets say the number 10 on Week1 matches ID number 10 in column H on sheet GP. Which then should give me total sum from columns N to T on sheet GP. Which in this case would be 48

Excel 2016 (Windows) 32 bit
A
B
C
D
E
1
AH
2
5
3
26
4
12
5
23
6
52
7
2
8
3
9
6
10
10
Sheet: Week1


Excel 2016 (Windows) 32 bit
A
B
C
D
E
F
G
H
I
J
K
1
H
N
O
P
Q
R
S
T
2
5
3
9
4
12
5
23
6
56
7
10
8
8
8
8
8
4
4
8
12
9
13
10
14
Sheet: GP
 
Upvote 0
Can you please use the XL2BB add-in to post a mini-sheet
 
Upvote 0
It doesn't work and tried to get it to work but i cant. Capture range in there is not highlighted which doesn't make me click it.
 
Upvote 0
I can just do this and keep on adding, but why all this formula just to get a sum on a range.

=SUMIF(Week1!H3:H300,GP!AH10,Week1!N3:N100)+SUMIF(Week1!H3:H300,GP!AH10,Week1!O3:O100)
 
Upvote 0

Forum statistics

Threads
1,213,484
Messages
6,113,920
Members
448,533
Latest member
thietbibeboiwasaco

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