Count delivered PO's

  • Thread starter Thread starter Legacy 469343
  • Start date Start date
L

Legacy 469343

Guest
Hi, how do I count the delivered PO's? A PO should only be counted if ALL line items of a PO have "Complete" in the Delivered column.

Test.xlsx
ABCDEFG
1WEEKS & DAYSPO'sDel. PO'sPen. PO's
2Date10-sep-2155
3Year2021
4Week #36
5Date (Mon)6-9-2021
6Date (Fri)10-9-2021
7InfoPO
8TrigramProjectSupplierPO SentPOLine itemDelivered
9ABC1Company 116-Aug-19PO-1234561Pending
10ABC1Company 36-Aug-19PO-1234571Complete
11ABC1Company 36-Aug-19PO-1234572Pending
12ABC1Company 36-Aug-19PO-1234573Pending
13ABCAAACompany 12-Aug-19PO-1234581Complete
14ABC1Company 49-Aug-19PO-1234591Complete
15ABCBBBCompany 219-Oct-20PO-1234601Complete
16ABCBBBCompany 219-Oct-20PO-1234602Complete
Sheet1
Cell Formulas
RangeFormula
B2B2=TODAY()
C2C2=SUM(IF(FREQUENCY(MATCH(Table1[PO],Table1[PO],0),MATCH(Table1[PO],Table1[PO],0))>0,1))
E2E2=C2-D2
B5B5=IF(ISOWEEKNUM(DATE($B$3,1,1)-WEEKDAY(DATE($B$3,1,1),2)+1)>1,DATE($B$3,1,1)-WEEKDAY(DATE($B$3,1,1),2)+1+$B$4*7,DATE($B$3,1,1)-WEEKDAY(DATE($B$3,1,1),2)-6+$B$4*7)
B6B6=IF(ISOWEEKNUM(DATE($B$3,1,1)-WEEKDAY(DATE($B$3,1,1),2)+1)>1,DATE($B$3,1,1)-WEEKDAY(DATE($B$3,1,1),2)+5+$B$4*7,DATE($B$3,1,1)-WEEKDAY(DATE($B$3,1,1),2)+5+$B$4*7)
Press CTRL+SHIFT+ENTER to enter array formulas.
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Ok, change the helper column to
Excel Formula:
=IF([@PO]<>"",COUNTIFS([PO],[@PO],[Delivered],"Complete")=COUNTIFS([PO],[@PO]))
 
Upvote 0
You've already said that. ;) Have a look at post#12
 
Upvote 0

Forum statistics

Threads
1,224,587
Messages
6,179,740
Members
452,940
Latest member
Lawrenceiow

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