Help Running Tally

PFS12

New Member
Joined
Jan 28, 2014
Messages
43
Office Version
  1. 2016
Platform
  1. Windows
80-20 Sheet trial.xlsx
ABCDEFGHIJKLM
15HUIZI0034814093803NWOQ19944BRUSH,CIRC2021010820210108-138.9618CASE07-272.16
16HUIZI0034814093803NWOQ19944BRUSH,CIRC2021010820210108138.9618CASE07216
17BELLE003AE306707GARP68836HARNESS2021011120210111464.1696.15AGEX01696.15
18MURRO00154160107GARP68837BANDIT CIH R2021011120210111832130YIEL011248
19MURRO00154160007GARP68837BANDIT CIH L2021011120210111832130YIEL011248
20MAGOS0018447554207GARP68870FILTER, ENGINE202101122021011226.5418.5CASE0737
21MAGOS0018698252207GARP68870FILTER, AIR202101122021011257.9654.25CASE07108.5
22MAGOS0018698252307GARP68870FILTER, AI202101122021011235.2425.25CASE0750.5
Sheet1


Good afternoon, The above sheet is an excerpt of data that i pull monthly. I'd like to see if I can start to glean out dollars throughout the course of the year by customer. The information I need is is column A (customer) and Column M (Sell price). Is there a way to do monthly data dumps into one sheet, have excel look for the customer name, if it already exists or not put it into another column and total everything for the year in the new columns. The above example should tally

HUIZI003 -56.16
BELLE003 696.15
MURRO001 2496
MAGOS001 196

Next month these customers might buy something again, and I would like it to tally them and add to existing. as well as add new customers if needed. THis might be a big ask, but its definitely over my head. Please aske me a question if my explanation isn't good.

Thanks,

Seth
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Or you could set Summary sheet like this and use formulas. I have your monthly data in another sheet named "Monthly Data".

Enter the following formula in A2 and copy it down (maximum 1000 rows) in Summary sheet

=IFERROR(INDEX('MONTNLY DATA'!$A$1:$A$1000,MATCH(0,INDEX(COUNTIFS(SUMMARY!$A$1:A1,'MONTNLY DATA'!$A$1:$A$1000),0,1),0)),"")

The above formula will pick all unique customer names and list in Summary sheet.

And then use the following formula in B2 in Summary sheet to sum total sales for the month.

=SUMIFS('MONTNLY DATA'!M:M,'MONTNLY DATA'!A:A,SUMMARY!A2)

1624050457343.png


Kind regards

Saba
 
Upvote 0
Or you could set Summary sheet like this and use formulas. I have your monthly data in another sheet named "Monthly Data".

Enter the following formula in A2 and copy it down (maximum 1000 rows) in Summary sheet

=IFERROR(INDEX('MONTNLY DATA'!$A$1:$A$1000,MATCH(0,INDEX(COUNTIFS(SUMMARY!$A$1:A1,'MONTNLY DATA'!$A$1:$A$1000),0,1),0)),"")

The above formula will pick all unique customer names and list in Summary sheet.

And then use the following formula in B2 in Summary sheet to sum total sales for the month.

=SUMIFS('MONTNLY DATA'!M:M,'MONTNLY DATA'!A:A,SUMMARY!A2)

View attachment 41116

Kind regards

Saba
Saba this seems simple enough but its not copying correctly. I have seen some of the misspellings and am trying to correct them but its not working. I'm sure its something I am doing wrong. Also the 1000 lines will get eaten up rather quickly I am afraid.
 
Upvote 0
Saba this seems simple enough but its not copying correctly. I have seen some of the misspellings and am trying to correct them but its not working. I'm sure its something I am doing wrong. Also the 1000 lines will get eaten up rather quickly I am afraid.
Could you do this in xl2BB?
 
Upvote 0
How about
+Fluff 1.xlsm
ABCDEFGHIJKLMNOPQ
1Customer
2HUIZI003481409383NWOQ19944BRUSH,CIRC2021010820210108-138.9618CASE07-272.16HUIZI003-56.16
3HUIZI003481409383NWOQ19944BRUSH,CIRC2021010820210108138.9618CASE07216BELLE003696.15
4BELLE003AE30677GARP68836HARNESS2021011120210111464.1696.15AGEX01696.15MURRO0012496
5MURRO0015416017GARP68837BANDIT CIH R2021011120210111832130YIEL011248MAGOS001196
6MURRO0015416007GARP68837BANDIT CIH L2021011120210111832130YIEL011248  
7MAGOS001844755427GARP68870FILTER, ENGINE202101122021011226.5418.5CASE0737  
8MAGOS001869825227GARP68870FILTER, AIR202101122021011257.9654.25CASE07108.5  
9MAGOS001869825237GARP68870FILTER, AI202101122021011235.2425.25CASE0750.5  
10
11
12
Lists
Cell Formulas
RangeFormula
P2:P9P2=IFERROR(INDEX($A$2:$A$5000,AGGREGATE(15,6,(ROW($A$2:$A$5000)-ROW($A$2)+1)/(ISNA(MATCH($A$2:$A$5000,P$1:P1,0)))/($A$2:$A$5000<>""),1)),"")
Q2:Q9Q2=IF(P2="","",SUMIFS(M:M,A:A,P2))
 
Upvote 0
Solution
How about
+Fluff 1.xlsm
ABCDEFGHIJKLMNOPQ
1Customer
2HUIZI003481409383NWOQ19944BRUSH,CIRC2021010820210108-138.9618CASE07-272.16HUIZI003-56.16
3HUIZI003481409383NWOQ19944BRUSH,CIRC2021010820210108138.9618CASE07216BELLE003696.15
4BELLE003AE30677GARP68836HARNESS2021011120210111464.1696.15AGEX01696.15MURRO0012496
5MURRO0015416017GARP68837BANDIT CIH R2021011120210111832130YIEL011248MAGOS001196
6MURRO0015416007GARP68837BANDIT CIH L2021011120210111832130YIEL011248  
7MAGOS001844755427GARP68870FILTER, ENGINE202101122021011226.5418.5CASE0737  
8MAGOS001869825227GARP68870FILTER, AIR202101122021011257.9654.25CASE07108.5  
9MAGOS001869825237GARP68870FILTER, AI202101122021011235.2425.25CASE0750.5  
10
11
12
Lists
Cell Formulas
RangeFormula
P2:P9P2=IFERROR(INDEX($A$2:$A$5000,AGGREGATE(15,6,(ROW($A$2:$A$5000)-ROW($A$2)+1)/(ISNA(MATCH($A$2:$A$5000,P$1:P1,0)))/($A$2:$A$5000<>""),1)),"")
Q2:Q9Q2=IF(P2="","",SUMIFS(M:M,A:A,P2))
This seems to work, Can I adjust the Index to a number bigger than 5000 because I'll probably have more than 5000 lines by the end of the year.

Thanks!
 
Upvote 0
Yup, just change the numbers of rows to what ever you need.
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,264
Members
449,075
Latest member
staticfluids

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