Calculate Weekly movements

Shp1

New Member
Joined
Jan 17, 2024
Messages
21
Office Version
  1. 365
Platform
  1. Windows
HI Guys,

Quick question.. I am looking to work out the following:

Week 1#
Number of orders remaining in Shipping Station QueueHow many orders outstanding that week
Number of orders received from warehouse
Number of orders shipped to customers
Number of Faulty items returned to warehouse


The data set is coming from another excel spreadsheet and looks something like this:

Order NoDate order received from warehouseDate item shipped to customerDate faulty item Returned to WarehousePosition
106/01/2025 Warehouse
206/01/2025 Shipping station
307/01/202509/01/2025 Courier
408/01/202507/01/2025 Customer - Complete
508/01/202517/01/202508/01/2025Returned - Faulty
608/01/2025 Warehouse
709/01/2025 Shipping station
809/01/202513/01/2025 Courier
910/01/202513/01/2025 Customer - Complete
1013/01/202515/01/202513/01/2025Returned - Faulty
1113/01/2025 Warehouse
1214/01/2025 Shipping station
1315/01/202517/01/2025 Courier
1415/01/202517/01/2025 Customer - Complete
1515/01/202517/01/202515/01/2025Returned - Faulty
1616/01/2025 Warehouse
1716/01/2025 Shipping station
1817/01/202520/01/2025 Courier
1917/01/202521/01/2025 Customer - Complete
2017/01/202521/01/202517/01/2025Returned - Faulty


Any idea on how I could do this?
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
so you want to use both
=COUNTIFS($F$2:$F$21,1,$E$2:$E$21,"customer - complete")+COUNTIFS($F$2:$F$21,1,$E$2:$E$21,"courier")

Week 1 #
Number of orders remaining in Shipping Station Queue 2 =COUNTIFS($F$2:$F$21,1,$E$2:$E$21,"shipping station")
Number of orders received from warehouse 2 =COUNTIFS($F$2:$F$21,1,$E$2:$E$21,"warehouse")
Number of orders shipped to customers 4 =COUNTIFS($F$2:$F$21,1,$E$2:$E$21,"customer - complete")+COUNTIFS($F$2:$F$21,1,$E$2:$E$21,"courier")
Number of Faulty items returned to warehouse 1 =COUNTIFS($F$2:$F$21,1,$E$2:$E$21,"returned - faulty")

Book2
ABCDEFGHI
1Order NoDate order received from warehouseDate item shipped to customerDate faulty item Returned to WarehousePositionWeek numberWeek 1#
211/6/25Warehouse1Number of orders remaining in Shipping Station Queue2
321/6/25Shipping station1Number of orders received from warehouse2
431/7/251/9/25Courier1Number of orders shipped to customers4
541/8/251/7/25Customer - Complete1Number of Faulty items returned to warehouse1
651/8/251/17/251/8/25Returned - Faulty1
761/8/25Warehouse1
871/9/25Shipping station1
981/9/251/13/25Courier1
1091/10/251/13/25Customer - Complete1
11101/13/251/15/251/13/25Returned - Faulty2
12111/13/25Warehouse2
13121/14/25Shipping station2
14131/15/251/17/25Courier2
15141/15/251/17/25Customer - Complete2
16151/15/251/17/251/15/25Returned - Faulty2
17161/16/25Warehouse2
18171/16/25Shipping station2
19181/17/251/20/25Courier2
20191/17/251/21/25Customer - Complete2
21201/17/251/21/251/17/25Returned - Faulty2
Sheet1
Cell Formulas
RangeFormula
I2I2=COUNTIFS($F$2:$F$21,1,$E$2:$E$21,"shipping station")
I3I3=COUNTIFS($F$2:$F$21,1,$E$2:$E$21,"warehouse")
I4I4=COUNTIFS($F$2:$F$21,1,$E$2:$E$21,"customer - complete")+COUNTIFS($F$2:$F$21,1,$E$2:$E$21,"courier")
I5I5=COUNTIFS($F$2:$F$21,1,$E$2:$E$21,"returned - faulty")
F2:F21F2=IF(B2="","",WEEKNUM(B2,2)-1)
 
Upvote 0

Forum statistics

Threads
1,225,743
Messages
6,186,770
Members
453,370
Latest member
juliewar

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