How to fetch sales data from specific cells based on moving months

Wadebro

New Member
Joined
Jul 9, 2023
Messages
8
Office Version
  1. 365
Platform
  1. Windows
Hello!

Trying to optimize my workflow as a boomer excel user in my business job.
Every month I get a report with hundreds of rows from different customers with 3 columns per month in this order (Gross Sales, Net Sales, Sales Quantity).
January numbers start from column H so that would mean the following:

Column H: Gross Sales
Column I: Net Sales
Column J: Sales Quantity

Each month adds another 3 columns so K, L, M for February and so on.

Simple enough. Now at the bottom of the excel data sheet there is a row with the "Overall Result" for all of the Gross Sales etc. data from all the customer rows.
My Question is the following:

How do I formulate a "=" sentence that knows how to look up the current total values of Gross Sales, Net Sales and Sales Quantity respectively and print out the number in a very simple table that has
the previos numbers summed up until the latest FULL month so that would be June as of writing this question. The Formula should for example print the sum of all "Gross Sales" data from Jan-Jun into a single cell for further use.

The idea here is to keep the master excel data updated automatically so that I wouldn't have to do so much manual work each month updating all the 20+ customers I have with each coming with hundreds of rows of data.

I've trie VLOOKUP, LOOKUP, INDEX while toying around with setting the table array and looking at MAX function to retrieve the bottom most row but I just can't get it to work.

Hopefully it was clear what I want to achieve. Thank you for taking the time to look at this and for all the help!
Mehiläinen.xlsx
HIJKLMNOPQRS
1JAN 2022FEB 2022MAR 2022APR 2022
2Gross SalesNet SalesSales QuantityGross SalesNet SalesSales QuantityGross SalesNet SalesSales QuantityGross SalesNet SalesSales Quantity
3EUREURPCEEUREURPCEEUREURPCEEUREURPCE
4
5
6
7460,00460,002460,00460,002
8176,00176,002
915,5015,50131,0031,002
10174,72174,721
11212,50212,50293,7593,751
12
13112,00112,001
14862,72862,726205,75205,752667,00667,006
15
16480,00480,006400,00400,005800,00800,0010
17230,00230,001
1862,0062,004
19
20375,00375,004
21118,40118,402
221 035,401 035,4016400,00400,0051 030,001 030,0011
23
24
25
26352,00352,004
2762,0062,004
28937,50937,5010
29118,40118,402118,40118,402
30
31
32
33
34
351 055,901 055,901262,0062,004470,40470,406
2022
 
Ok so how do I share it? Couldn't just paste it here when tried. I imagine you would want to see the whole data. I cleaned all the non-relevant data.
 
Upvote 0

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Master Data.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAE
1Cal. year / monthJAN 2023FEB 2023MAR 2023APR 2023MAY 2023JUN 2023JUL 2023Overall Result
2Gross SalesNet SalesSales QuantityGross SalesNet SalesSales QuantityGross SalesNet SalesSales QuantityGross SalesNet SalesSales QuantityGross SalesNet SalesSales QuantityGross SalesNet SalesSales QuantityGross SalesNet SalesSales QuantityGross SalesNet SalesSales Quantity
3Customer numberStreet NamePostal CodeLocationMaterialEUREURPCEEUREURPCEEUREURPCEEUREURPCEEUREURPCEEUREURPCEEUREURPCEEUREURPCE
418,8418,84218,8418,842
5133,75133,751133,75133,751267,50267,502
6152,59152,593133,75133,751286,34286,344
721,4521,45121,4521,451
821,4521,45121,4521,451
918,8418,84218,8418,842
108,128,1228,128,122
11133,75133,751133,75133,751267,50267,502
12133,75133,751160,71160,715294,46294,466
1347,1047,10547,1047,105
Ark1


This is how the top part looks when print. Left I just cleared all the data that is on the colored backroung.
The important thing is the bottom part which has the "Overall Result" for each column like so

Master Data.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAE
44440,000,0010,000,001
44450,000,0010,000,001
4446Overall Result746 289,29552 456,2121 389509 844,47353 804,507 751596 366,10443 477,427 842551 764,43380 733,106 793843 787,33579 992,098 452608 132,60455 214,2223 52213 601,63-8 017,921 2313 869 785,852 757 659,6276 980
Ark1
 
Upvote 0
no, just post a representative same. Some with your customers and some not. And you'd need to show how to distinguish.
Or you can filter the data for your customers only and give a representative sample.

I just saw your two items above. The master (or if already filtered) data should not have any blank columns or rows. It is just what many people call a "flat" file. and no summarization.
 
Upvote 0
is the first xl2bb in post #8 your "master data". if so, you are getting a report and not data.
 
Upvote 0
Yes everything is from the same excel so I would guess it's a report then and not the data.
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,956
Members
449,096
Latest member
Anshu121

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