Help In Reporting

Haree

Board Regular
Joined
Sep 22, 2019
Messages
146
Office Version
  1. 2016
Hello All,
I require a small help in reporting my data would be segregated and arranged into monthly basis based on SKU. I have attached Xl2BB below for further understanding of the exact model, My requirements would be if i click SKU 2 from Dropdown box in the reporting worksheet it should show me that particular SKU's data for all the months , and colour grade it based on the total sales. For Example if i have sold 100 pieces in total for the year and i have sold 50 pieces in the month of june alone, june should be full green and the lowest month should be in red. The same way if i click All it should Show data for all the SKU. Hope i was clear. In other words i nedd to know which SKU moved fast overall and In which month one particular SKU moved fast. Kindly help me out. Thanks in advance

reporting trial.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQARASATAUAVAW
1ParticularsAprilMayJuneJulyAugustSeptemberOctoberNovemberDecemberJanuaryFebruaryMarch
2ITEM NAMEPurchase PPurchase WSales PSales WPurchase PPurchase WSales PSales WPurchase PPurchase WSales PSales WPurchase PPurchase WSales PSales WPurchase PPurchase WSales PSales WPurchase PPurchase WSales PSales WPurchase PPurchase WSales PSales WPurchase PPurchase WSales PSales WPurchase PPurchase WSales PSales WPurchase PPurchase WSales PSales WPurchase PPurchase WSales PSales WPurchase PPurchase WSales PSales W
3SKU 1
4SKU 2
5SKU 3
6SKU 4
7SKU 5
8SKU 6
9SKU 7
10SKU 8
11SKU 9
12SKU 10
13SKU 11
14SKU 12
15SKU 13
16SKU 14
17SKU 15
18SKU 16
19SKU 17
20SKU 18
21SKU 19
22SKU 20
23
24
25Purchase P Purchase Pieces
26Purchase WPurchase Weight
27Sales PSales Pieces
28Sales W Sales Weight
Sheet1
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Hi Haree,

So the sheet shown is the data sheet?
You want a similar looking Reporting sheet where you can select one or all SKU for pulling into the Reporting sheet?
Can I assume that if multiple months have the same lowest or highest "Sales P" then they should all be highlighted?
 
Upvote 0
Hi Haree,

So the sheet shown is the data sheet?
You want a similar looking Reporting sheet where you can select one or all SKU for pulling into the Reporting sheet?
Can I assume that if multiple months have the same lowest or highest "Sales P" then they should all be highlighted?
Hi Toadstol, Thank you for taking out time to help me. Yes i would require a separate sheet and yes they all should be highlighted. and the highest and lowest should be based on pieces only.
 
Upvote 0
Here's my solution as sheet Query. It requires the sheet with the data be called Data and I used your format but generated some test data.

You can select a SKU in the B1 dropdown or leave empty to list all SKU.

Haree.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQARASATAUAVAWAX
1SKU:(Leave empty for all)
2ParticularsAprilMayJuneJulyAugustSeptemberOctoberNovemberDecemberJanuaryFebruaryMarch
3ITEM NAMETotal Sales PPurchase PPurchase WSales PSales WPurchase PPurchase WSales PSales WPurchase PPurchase WSales PSales WPurchase PPurchase WSales PSales WPurchase PPurchase WSales PSales WPurchase PPurchase WSales PSales WPurchase PPurchase WSales PSales WPurchase PPurchase WSales PSales WPurchase PPurchase WSales PSales WPurchase PPurchase WSales PSales WPurchase PPurchase WSales PSales WPurchase PPurchase WSales PSales W
4SKU 16522176260.72688657.652036100.316641.51259896.41765211.3811312949.989320296.24128209514.8441127321.3720022829.02414646.24
5SKU 275140158933.3814811332.4513613868.22968594.921968732.9858197123.2610715182.5211811444.11125572.5420019484.56125179412.7821321797.79
6SKU 3691754452.45398514.4387178717513593.47212412469915609.091751670.6452156117.6143208011.19462934.041081310.445206026.67
7SKU 459497129111.26109880.591426401.6913719537.3510716385.68201974.859415568.94292087601681290.648712476.481728381.771004301.2
Query
Cell Formulas
RangeFormula
C2,AU2,AQ2,AM2,AI2,AE2,AA2,W2,S2,O2,K2,G2C2=Data!B1
A4:A7A4=IFERROR(IF($B$1="",INDEX(Data!$A$3:$A$99,AGGREGATE(15,6,ROW(Data!$A$3:$A$99)-ROW(Data!$A$2)/(Data!$A$3:$A$99<>""),ROW()-ROW($A$3))),INDEX(Data!$A$3:$A$99,AGGREGATE(15,6,ROW(Data!$A$3:$A$99)-ROW(Data!$A$2)/(Data!$A$3:$A$99=$B$1),ROW()-ROW($A$3)))),"")
B4:B7B4=IF(SUMIFS($C4:$AX4,C$3:AX$3,"Sales P")=0,"",SUMIFS($C4:$AX4,C$3:AX$3,"Sales P"))
C4:AX7C4=IFERROR(INDEX(Data!$B$3:$AW$99,MATCH($A4,Data!$A$3:$A$99,0),COLUMN(Data!A$2)),"")
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C4:AX104Expression=AND(C$3="sales P",C4=MAX($E4,$I4,$M4,$Q4,$U4,$Y4,$AC4,$AG4,$AK4,$AO4,$AS4,$AW4))textNO
C4:AX104Expression=AND(C$3="sales P",C4=MIN($E4,$I4,$M4,$Q4,$U4,$Y4,$AC4,$AG4,$AK4,$AO4,$AS4,$AW4))textNO
Cells with Data Validation
CellAllowCriteria
B1List=OFFSET(Data!$A$3,,,COUNTA(Data!$A$3:$A$9999))
 
Upvote 0
Solution

Forum statistics

Threads
1,223,230
Messages
6,170,883
Members
452,364
Latest member
springate

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