How to make the report without using pivotable?

Sochen

Board Regular
Joined
Dec 6, 2022
Messages
63
Office Version
  1. 2021
Platform
  1. Windows
Hi All,

I have two reports below which need to fill in yellow cell.
Report 1: Find the total amount, receipt and units of each Salesperson between date.
Note: Special Plastic bag, Credit off, Free repair and Free Gift will not count the qty/receipt as sale.

Report 2: Prepare daily sales report which need to count unique receipt and remove all Special Plastic bag, Credit off, Free repair and Free Gift.
Note: Do not include Special Plastic bag, Credit off, Free repair and Free Gift in sale

Please help with office 2019 formula as my work place used excel 2019, while only my personal laptop used office 2021.
Thank you!

Please download full report from the link belows:
Sales Report.xlsx

Thank you!

Sales Report.xlsx
HIJKLMNOPQ
1Report 1Report 2
2
3Start:23-Jan-23To:29-Jan-23
4
5RankSeller IDTotal SalesTotal ReceiptsTotal Units Date Total Sales Total Receipts Total Units
61111$ 865.0024348-Jan-23$ 822.001419
72133$ 537.0016229-Jan-23$ 455.001520
83144$ 511.00162110-Jan-23$ 416.001315
94155$ 437.00101211-Jan-23$ 428.001418
105166$ 363.0081612-Jan-23$ 444.001617
116122$ 266.0081213-Jan-23$ 566.001115
12Total$ 2,979.008211714-Jan-23$ 524.001217
1315-Jan-23$ 418.001119
1416-Jan-23$ 787.001820
15Please note:17-Jan-23$ 396.001617
16Special Pastic bagNot count as sale18-Jan-23$ 800.001519
17Credit OffNot count as sale19-Jan-23$ 334.00712
18Free RepairNot count as sale20-Jan-23$ 233.0068
19Free GiftNot count as sale21-Jan-23$ 277.00611
2022-Jan-23$ 602.001422
2123-Jan-23$ 588.001521
2224-Jan-23$ 464.001114
2325-Jan-23$ 402.001726
2426-Jan-23$ 554.001217
2527-Jan-23$ 314.00710
2628-Jan-23$ 331.001117
2729-Jan-23$ 326.00812
Sheet1
Cell Formulas
RangeFormula
J12:L12J12=SUM(J6:J11)
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: How to create a dynamic report?
There is no need to repeat the link(s) provided above but if you have posted the question at other places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
However, since you have been advised previously: How to sum and rank with multi criteria uniquely without duplicate? For excel 2019 if you continue with cross-posting without links sterner action may follow.
 
Upvote 0
Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: How to create a dynamic report?
There is no need to repeat the link(s) provided above but if you have posted the question at other places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
However, since you have been advised previously: How to sum and rank with multi criteria uniquely without duplicate? For excel 2019 if you continue with cross-posting without links sterner action may follow.
Dear Peter,
My sincere apologies.
I have shared the link to another forum.
Again, my apologies for this.

Thank you!
 
Upvote 0
Hi All,

I have two reports below which need to fill in yellow cell.
Report 1: Find the total amount, receipt and units of each Salesperson between date.
Note: Special Plastic bag, Credit off, Free repair and Free Gift will not count the qty/receipt as sale.

Report 2: Prepare daily sales report which need to count unique receipt and remove all Special Plastic bag, Credit off, Free repair and Free Gift.
Note: Do not include Special Plastic bag, Credit off, Free repair and Free Gift in sale

Please help with office 2019 formula as my work place used excel 2019, while only my personal laptop used office 2021.
Thank you!

Please download full report from the link belows:
Sales Report.xlsx

Thank you!

Sales Report.xlsx
HIJKLMNOPQ
1Report 1Report 2
2
3Start:23-Jan-23To:29-Jan-23
4
5RankSeller IDTotal SalesTotal ReceiptsTotal Units Date Total Sales Total Receipts Total Units
61111$ 865.0024348-Jan-23$ 822.001419
72133$ 537.0016229-Jan-23$ 455.001520
83144$ 511.00162110-Jan-23$ 416.001315
94155$ 437.00101211-Jan-23$ 428.001418
105166$ 363.0081612-Jan-23$ 444.001617
116122$ 266.0081213-Jan-23$ 566.001115
12Total$ 2,979.008211714-Jan-23$ 524.001217
1315-Jan-23$ 418.001119
1416-Jan-23$ 787.001820
15Please note:17-Jan-23$ 396.001617
16Special Pastic bagNot count as sale18-Jan-23$ 800.001519
17Credit OffNot count as sale19-Jan-23$ 334.00712
18Free RepairNot count as sale20-Jan-23$ 233.0068
19Free GiftNot count as sale21-Jan-23$ 277.00611
2022-Jan-23$ 602.001422
2123-Jan-23$ 588.001521
2224-Jan-23$ 464.001114
2325-Jan-23$ 402.001726
2426-Jan-23$ 554.001217
2527-Jan-23$ 314.00710
2628-Jan-23$ 331.001117
2729-Jan-23$ 326.00812
Sheet1
Cell Formulas
RangeFormula
J12:L12J12=SUM(J6:J11)
Hi everyone,
I'd like to share about the solution of my problem as below:

For Report 1
In Cell J6:
=LARGE(INDEX(SUMIFS(Sheet1!$E$4:$E$400,Sheet1!$C$4:$C$400,"<>"&$H$16,Sheet1!$C$4:$C$400,"<>"&$H$17,Sheet1!$C$4:$C$400,"<>"&$H$18,Sheet1!$C$4:$C$400,"<>"&$H$19,Sheet1!$A$4:$A$400,">="&$I$3,Sheet1!$A$4:$A$400,"<="&$L$3,Sheet1!$F$4:$F$400,Sheet1!$F$4:$F$400)*(COUNTIF($I$5:$I5,Sheet1!$F$4:$F$400)=0),0),1)
In Cell i6:
=INDEX(Sheet1!$F$4:$F$400,MATCH(J6,INDEX(SUMIFS(Sheet1!$E$4:$E$400,Sheet1!$C$4:$C$400,"<>"&$H$16,Sheet1!$C$4:$C$400,"<>"&$H$17,Sheet1!$C$4:$C$400,"<>"&$H$18,Sheet1!$C$4:$C$400,"<>"&$H$19,Sheet1!$A$4:$A$400,">="&$I$3,Sheet1!$A$4:$A$400,"<="&$L$3,Sheet1!$F$4:$F$400,Sheet1!$F$4:$F$400)*(COUNTIF($J$5:$J5,Sheet1!$F$4:$F$400)=0),0),0))

Cell K6:
=SUM(--(FREQUENCY(IF(Sheet1!$F$4:$F$400=I6,IF(ISERROR(MATCH(Sheet1!$C$4:$C$400,$H$16:$I$19,0)),IF(Sheet1!$A$4:$A$400>=$I$3,IF(Sheet1!$A$4:$A$400<=$L$3,MATCH(Sheet1!$B$4:$B$400,Sheet1!$B$4:$B$400,0))))),ROW(Sheet1!$B$4:$B$400)-ROW($B$4)+1)>0))

Cell L6:
=SUMIFS(Sheet1!$D$4:$D$400,Sheet1!$F$4:$F$400,I6,Sheet1!$C$4:$C$400,"<>"&$H$16,Sheet1!$C$4:$C$400,"<>"&$H$17,Sheet1!$C$4:$C$400,"<>"&$H$18,Sheet1!$C$4:$C$400,"<>"&$H$19,Sheet1!$A$4:$A$400,">="&$I$3,Sheet1!$A$4:$A$400,"<="&$L$3)

For Report 2:
Cell O6:
=SUMIFS(Sheet1!$E$4:$E$400,Sheet1!$A$4:$A$400,[@Date],Sheet1!$C$4:$C$400,"<>"&$H$16,Sheet1!$C$4:$C$400,"<>"&$H$17,Sheet1!$C$4:$C$400,"<>"&$H$18,Sheet1!$C$4:$C$400,"<>"&$H$19)

Cell P6:
=SUM(--(FREQUENCY(IF(ISERROR(MATCH(Sheet1!$C$4:$C$400,$H$16:$I$19,0)),IF(Sheet1!$A$4:$A$400=[@Date],MATCH(Sheet1!$B$4:$B$400,Sheet1!$B$4:$B$400,0))),ROW(Sheet1!$B$4:$B$400)-ROW($B$4)+1)>0))

Cell Q6:
=SUMIFS(Sheet1!$D$4:$D$400,Sheet1!$A$4:$A$400,[@Date],Sheet1!$C$4:$C$400,"<>"&$H$16,Sheet1!$C$4:$C$400,"<>"&$H$17,Sheet1!$C$4:$C$400,"<>"&$H$18,Sheet1!$C$4:$C$400,"<>"&$H$19)

Thank you!
 
Upvote 0
Solution

Forum statistics

Threads
1,215,130
Messages
6,123,220
Members
449,091
Latest member
jeremy_bp001

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