Problem with sales, multiple values, postcodes, etc.

Tashbbb

New Member
Joined
Aug 8, 2020
Messages
5
Office Version
  1. 2019
Platform
  1. MacOS
Hi guys,


I came across this problem today and I'm not sure how to solve it..I'm sure this is easy for you but I'm a beginner so this is really stressing me out :(((

I have two tabs which include:

1: Sales dates, postcodes and number of sales

2: postcodes, store number, store names

Each postcodes is associated with a certain store number and store numbers is associated with a store name.
Now....

1)How do I get total number of sales per store (name)?

2)How do I calculate which two months had the highest volume of sales taking only into consideration stores that had sales from September onwards? (and excluding stores which are not associate with a postcode)?

3) How do I figure out which store had the fastest growth?

Number 1 and 2 are giving me more headaches...I tried to look online but I cannot find a solution

I really appreciate your help !!!!
 

Attachments

  • Screenshot 2020-08-08 at 13.24.48.png
    Screenshot 2020-08-08 at 13.24.48.png
    95.8 KB · Views: 10
  • Screenshot 2020-08-08 at 13.24.54.png
    Screenshot 2020-08-08 at 13.24.54.png
    155.5 KB · Views: 11

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
@Tashbbb
While we do allow Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules). This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.
 
Upvote 0
So it will troublesome pasting all the data in excel
So if you can use the XL2BB addin which is available in the Right hand side of Reply Box to provide us the data
 
Upvote 0
Is the Postcode prefix in Sheet 1 and Post code in sheet 2 same???
 
Upvote 0
Hi

@CA_Punit

Here it is (sorry took me ages to figure out XL2BB. ?)
- Postcodes are the same in both tabs





problem_forum.xlsx
ABCD
1Data Month SalePost code PrefixConfirmed Sales
22019-05N71
32019-05SE121
42019-05BR61
52019-05SW161
62019-05BA11
72019-05SN11
82019-05M161
92019-05E11
102019-05NW61
112019-05W91
122019-05SW61
132019-05W121
142019-05KT142
152019-05KT123
162019-05N91
172019-05E142
182019-05CR31
192019-05SG121
202019-05B361
212019-05N131
222019-05N191
232019-05OX21
242019-05SE11
252019-05W82
262019-05RM41
272019-05WD251
282019-05SE31
292019-05TN151
302019-05G421
312019-05M31
322019-05BS241
Data set





problem_forum.xlsx
ABCDE
1PostcodesStore numberStore numberStore name
2BT1113113Store Belfast
3BT10113125Store Southampton
4BT11113140Store Warrington
5BT12113141Store London - Wembley
6BT13113142Store Birmingham - Wednesbury
7BT14113143Store Newcastle - Gateshead
8BT15113144Store London - Croydon
9BT16113150Store Coventry
10BT17113185Store Milton Keynes
11BT18113186Store Manchester
12BT19113255Store London - Tottenham
13BT2113261Store Leeds
14BT20113262Store Lakeside
15BT21113263Store Nottingham
16BT22113264Store Bristol
17BT23113265Store Edinburgh - Straiton
18BT24113266Store Glasgow - Braehead
19BT25113267Store Cardiff
20BT26113461Store Reading
21BT27113472Store eCommerce Great Britain
22BT28113519Store Sheffield
23BT29113548Store Exeter
24BT3113567Store Greenwich
25BT30113
26BT36113
27BT37113
28BT38113
29BT39113
30BT4113
31BT40113
32BT41113
Lookup
 
Upvote 0
Queries

1. Can a post code be associated with different Stores Number.
2. None of the Postcode prefix matches with post code data?
 
Upvote 0
Queries

1. Can a post code be associated with different Stores Number.
2. None of the Postcode prefix matches with post code data?


Hi Ca-Unit,
1. I believe each postcode is associated with a specific store
2 In the picture I've only included the top values per tab (there are more then 1000 value)
 
Upvote 0
Consider This

Balance Quantity.xlsx
ABCDEFGHIJKLMNOPQRSTUVW
1PostcodesStore numberStore numberStore nameStore SalesData Month SalePost code PrefixConfirmed SalesStore IdRequired SalesmonthmonthSum of Required Sales
2BT1113113Store Belfast201/09/2019N712651980
3BT10113125Store Southampton031/08/2019SE1212660895
4BT11113140Store Warrington020/09/2019BR6127719100
5BT12113141Store London - Wembley021/09/2019SW16156719Grand Total5
6BT13113142Store Birmingham - Wednesbury022/09/2019BA1111319
7BT14113143Store Newcastle - Gateshead023/09/2019SN1111319
8BT15113144Store London - Croydon024/09/2019M161#N/A09
9BT16113150Store Coventry025/09/2019E11#N/A09
10BT17113185Store Milton Keynes026/09/2019NW61#N/A09
11BT18113186Store Manchester027/09/2019W91#N/A09
12BT19113255Store London - Tottenham028/09/2019SW61#N/A09
13BT2113261Store Leeds029/09/2019W121#N/A09
14BT20113262Store Lakeside030/09/2019KT142#N/A09
15N7265263Store Nottingham001/10/2019KT123#N/A010
16SE12266264Store Bristol002/10/2019N91#N/A010
17BR6277265Store Edinburgh - Straiton103/10/2019E142#N/A010
18SW16567266Store Glasgow - Braehead104/10/2019CR31#N/A010
19BA1113267Store Cardiff005/10/2019SG121#N/A010
20SN1113461Store Reading006/10/2019B361#N/A010
21BT27113472Store eCommerce Great Britain007/10/2019N131#N/A010
22BT28113519Store Sheffield008/10/2019N191#N/A010
23BT29113548Store Exeter009/10/2019OX21#N/A010
24BT3113567Store Greenwich110/10/2019SE11#N/A010
2511/10/2019W82#N/A010
2612/10/2019RM41#N/A010
2713/10/2019WD251#N/A010
2814/10/2019SE31#N/A010
2915/10/2019TN151#N/A010
3016/10/2019G421#N/A010
3117/10/2019M31#N/A010
3218/10/2019BS241#N/A010
Sheet6
Cell Formulas
RangeFormula
R2:R32R2=IFERROR((N2:N32>DATE(2019,8,31))*IF(MATCH(O2:O32,A2:A24,0),P2:P32),0)
F2:F24F2=SUMIF($Q$2:$Q$32,D2,$P$2:$P$32)
N5:N32N5=N4+1
Q2:Q32Q2=VLOOKUP(O2,A:B,2,0)
S2:S32S2=MONTH(N2)
Dynamic array formulas.
 
Upvote 0
@CA_Punit
The OP is using 2019 & therefore does not have dynamic arrays.
 
Upvote 0

Forum statistics

Threads
1,215,455
Messages
6,124,935
Members
449,195
Latest member
Stevenciu

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