way to add figures

davidmor

New Member
Joined
Nov 20, 2020
Messages
30
Office Version
  1. 365
Platform
  1. Windows
hi i have a report and i need to total the numbers in column s, i need to use the ship request number from column m, this has 6 digits then / and another number.

is there a way excel can sum all the same ship request and give me the total figure for column S

ie if 327479 had more than one occurrence it would add all the numbers from "S" and return a total

hope this makes sense.

Thanks

1633003969208.png
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Do you want to sum col S based on the 1st 6 digits in col M or the entire string in col M?
 
Upvote 0
Hi Fluff

its just the first 6 digits, problem is i dont have a list of these first 6 digits so hopefully would want excel to report those as well
 
Upvote 0
Ok how about
+Fluff 1.xlsm
MNOPQRSTUV
1
2123456/111234566
3123456/252345673
4234567/73
5
6
Main
Cell Formulas
RangeFormula
U2:U3U2=UNIQUE(FILTER(LEFT(M2:M100,6),M2:M100<>""))
V2:V3V2=SUMIFS(S:S,M:M,U2#&"*")
Dynamic array formulas.
 
Upvote 0
Solution
Ok how about
+Fluff 1.xlsm
MNOPQRSTUV
1
2123456/111234566
3123456/252345673
4234567/73
5
6
Main
Cell Formulas
RangeFormula
U2:U3U2=UNIQUE(FILTER(LEFT(M2:M100,6),M2:M100<>""))
V2:V3V2=SUMIFS(S:S,M:M,U2#&"*")
Dynamic array formulas.
Hi Fluff,

Thats worked great thanks, ive just remembered i also need it to report the date from column d what would i do there ?

i just need the date once from each ship req

Thanks
 
Upvote 0
How about
Excel Formula:
=INDEX(D2:D100,MATCH(U2#&"*",M2:M100,0))
 
Upvote 0
How about
Excel Formula:
=INDEX(D2:D100,MATCH(U2#&"*",M2:M100,0))
HI Fluff,

ive tried that but i keep getting random 5 digit numbers, ive changed the "U" in your formula to BJ as thats the cell im looking at but cant get it to show correct info

=INDEX(D2:D1000,MATCH(BJ2#&"*",M2:M1000,0))

this is what i get
1633008879551.png

ive hidden all unused info and this is what im left with, so BL should be reporting whats in D

1633008951132.png
 
Upvote 0
Just format the cells as Dates.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,925
Messages
6,122,303
Members
449,078
Latest member
nonnakkong

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