Forumla Error on Sum of lines Containing same Value

jarett

Board Regular
Joined
Apr 12, 2021
Messages
179
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
I have this formula which works at the being of the data, but it seems to get thrown off towards the end of all my data sheets. I thought it was pretty basic, just checking column D and adding the sum of column E for all the lines that have the same value in column D. However, when I get to the value "8000-SPORT GREy-2XL" the output of the formula is "7" when it should be "5" (line 53). Missing something easy?



SHS-EVENT STORE.xlsx
ABCDEFG
1
28345407SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-2XL1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
38345936SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-2XL1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP)2
48345085SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-L1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
58345320SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-L1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
68345406SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-L1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
78345407SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-L1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
88345421SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-L1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
98345436SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-L1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
108345573SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-L2CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
118345836SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-L1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP)9
128345073SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-M1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
138345145SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-M1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
148345146SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-M1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
158345151SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-M1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
168345155SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-M1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
178345227SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-M1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
188345323SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-M1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
198345335SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-M1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
208345433SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-M1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
218345540SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-M1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
228345550SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-M1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
238345628SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-M1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
248345839SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-M1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
258346110SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-M1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
268346372SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-M1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
278346426SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-M1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP)16
288345311SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-S1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
298345426SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-S1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
308345430SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-S1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
318345583SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-S1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
328345879SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-S2CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
338345881SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-S1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
348345904SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-S1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
358345938SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-S1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
368346052SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-S1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
378346110SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-S1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
388346339SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-S1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
398346436SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-S1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP)13
408345145SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-XL1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
418345205SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-XL1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
428345287SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-XL1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
438345321SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-XL2CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
448345405SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-XL1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
458345428SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-XL1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
468345436SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-XL1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
478346110SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-XL3CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
488346367SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-XL1CENTER FRONT AND FULL BACK SP: 3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP)12
498347149SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-2XL1CENTER FRONT AND FULL BACK SP:3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
508348603SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-2XL1CENTER FRONT AND FULL BACK SP:3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
518348765SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-2XL1CENTER FRONT AND FULL BACK SP:3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
528349343SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-2XL1CENTER FRONT AND FULL BACK SP:3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP) 
538349597SOUTHSIDE-FEAR THE FIN FOOTBAL8000-SPORT GREY-2XL1CENTER FRONT AND FULL BACK SP:3 COLOR FRONT & 2 COLOR BACK DESIGN (00120SP)7
Sheet1
Cell Formulas
RangeFormula
G2:G53G2=IF(D2<>D3,SUMIF(D$2:D2,D2,E$2:E2),"")
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
It is because not only does the value "8000-SPORT GREY-2XL" appear in rows 49-53, but it also appears in rows 2-3!
So there are, in fact 7 records with that value in your data set at that point.
 
Upvote 0
Solution
It is because not only does the value "8000-SPORT GREY-2XL" appear in rows 49-53, but it also appears in rows 2-3!
So there are, in fact 7 records with that value in your data set at that point.
well that will do it.
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,772
Members
452,353
Latest member
strainu

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