Need help to count duplicates as one with multiple criteria

Mr Rice

New Member
Joined
Nov 30, 2022
Messages
6
Office Version
  1. 365
Platform
  1. Windows
i have formulas that counts how many lines are shipping per day. i want to count how many orders are on my data sheet. the data is entered by line so i have "duplicate" sales order numbers in my column. i was wondering if there was a way to do so.

Production Control Visual 1.6.3.xlsm
ABCDEFGHIJKLMNOP
126GoalTotalless shippedBackorderPulled NDNot PulledPAINTINGShippedCancelled
127Thu-J190.00%2.00%100.00%100.00%80000000000
128Fri-J200.00%2.00%100.00%100.00%80000000000
129Mon-J230.00%2.00%100.00%100.00%80000000000
130Tue-J240.00%2.00%100.00%100.00%80000000000
131Wed-J250.00%2.00%100.00%100.00%80000000000
132Thu-J260.00%2.00%100.00%100.00%80000000000
133Fri-J270.00%2.00%100.00%100.00%80000000000
134Mon-J300.00%2.00%100.00%100.00%80000000000
135Tue-J310.00%2.00%100.00%100.00%80000000000
136Wed-F10.00%2.00%100.00%100.00%80000000000
137Thu-F20.00%2.00%100.00%100.00%80000000000
138Fri-F30.00%2.00%100.00%100.00%80000000000
139Mon-F60.00%2.00%100.00%100.00%80000000000
140Tue-F70.00%2.00%100.00%100.00%80000000000
141Wed-F80.00%2.00%100.00%100.00%80000000000
142Thu-F90.00%2.00%100.00%100.00%80000000000
143Fri-F100.00%2.00%100.00%100.00%80000000000
144Mon-F130.00%2.00%100.00%100.00%80000000000
145Tue-F140.00%2.00%100.00%100.00%80000000000
146Wed-F150.00%2.00%100.00%100.00%80000000000
147Thu-F160.00%2.00%100.00%100.00%60000000000
Acuity One
Cell Formulas
RangeFormula
H127:H147H127=I127
I127I127=COUNTIF(AcuityData!G:G,"="&TODAY())
J127:J147J127=I127-O127-K127-P127
K127K127=COUNTIFS(AcuityData!C:C,"BACKORDER",AcuityData!G:G,"="&TODAY())
L127L127=COUNTIFS(AcuityData!C:C,"PULLED/ NOT DONE",AcuityData!G:G,"="&TODAY())
M127M127=COUNTIFS(AcuityData!C:C,"Not Pulled",AcuityData!G:G,"="&TODAY())
N127N127=COUNTIFS(AcuityData!C:C,"PAINTING",AcuityData!G:G,"="&TODAY())
O127O127=COUNTIFS(AcuityData!C:C,"Shipped",AcuityData!G:G,"="&TODAY())
P127P127=COUNTIFS(AcuityData!C:C,"CANCELLED",AcuityData!G:G,"="&TODAY())
I128:I147I128=COUNTIF(AcuityData!G:G,"="&WORKDAY(A127,1))
K128:K147K128=COUNTIFS(AcuityData!C:C,"BACKORDER",AcuityData!G:G,"="&WORKDAY(A127,1))
L128:L147L128=COUNTIFS(AcuityData!C:C,"PULLED/ NOT DONE",AcuityData!G:G,"="&WORKDAY(A127,1))
M128:M147M128=COUNTIFS(AcuityData!C:C,"Not Pulled",AcuityData!G:G,"="&WORKDAY(A127,1))
N128:N147N128=COUNTIFS(AcuityData!C:C,"PAINTING",AcuityData!G:G,"="&WORKDAY(A127,1))
O128:O147O128=COUNTIFS(AcuityData!C:C,"Shipped",AcuityData!G:G,"="&WORKDAY(A127,1))
P128:P147P128=COUNTIFS(AcuityData!C:C,"CANCELLED",AcuityData!G:G,"="&WORKDAY(A127,1))
C127:C147C127=I127/G127
E127:E147E127=1-C127
D145:D147D145=D144
A127A127=TODAY()
A128:A147A128=WORKDAY(A127,1)


_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________

Production Control Visual 1.6.3.xlsm
BCDEFGHIJK
94JCLABEL ROOM31816693683800010770101/9/2023P1204K7A12/29/2022
95JC93884300010770241/5/2023 1174LFE12/28/2022
96JC93884300010770241/5/2023 2144FFH12/28/2022
97JCLABEL ROOM31797293884500010770291/5/2023P1174LFE12/28/2022
98JCLABEL ROOM31797393884500010770291/5/2023P2144FFH12/28/2022
99JCLABEL ROOM31797493884800010770321/5/2023P1174LFE12/28/2022
100JCLABEL ROOM31797593884800010770321/5/2023P2144FFH12/28/2022
101JC93885100010770331/5/2023 1174LFE12/28/2022
102JC93885100010770331/5/2023 2144FFH12/28/2022
103JC93889300010770591/5/2023 1228YRY12/29/2022
104JC93889300010770591/5/2023 2211MMJ12/29/2022
105JC93887600010770621/9/2023 1144X3P
106JC93887700010770661/5/2023 1142APG
107JC299740600010770691/6/2023 1167GLX
108JC93886600010770761/5/2023 1259RYS
109JC93885800010770771/9/2023 1215RF6
110JC93885900010770791/9/2023 1211MGC
111JC93886300010770821/6/2023 1109PV5
112JC93886300010770821/6/2023 1109PV5
AcuityData
Cell Formulas
RangeFormula
H94:H112H94=IF(C94="LABEL ROOM","P","")
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C2:K1048576Expression=$C2="BACKORDER"textYES
C2:K1048576Expression=$C2="CANCELLED"textYES
C:CCell Valuecontains "JUST ENTERED"textYES
C2:K1048576Expression=$C2="JUST ENTERED"textYES
C:CCell Valuecontains "LABEL ROOM"textYES
C2:K1048576Expression=$C2="Problem"textYES
C:CCell Valuecontains "Problem"textYES
C:CCell Valuecontains "NOT PULLED"textYES
C:CCell Valuecontains "PARTIAL SHIP"textYES
C:CCell Valuecontains "Small Parts"textYES
C:CCell Valuecontains "CANCELLED"textYES
C:CCell Valuecontains "PAINTING"textYES
C:CCell Valuecontains "SHIPPED"textYES
C:CCell Valuecontains "PULLED/ NOT DONE"textYES
C:CCell Valuecontains "BACKORDER"textYES
Cells with Data Validation
CellAllowCriteria
C94:C112List=Dynamic
 

Attachments

  • Capture.JPG
    Capture.JPG
    212.5 KB · Views: 11

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

Forum statistics

Threads
1,224,814
Messages
6,181,121
Members
453,021
Latest member
Justyna P

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