Distinct Count Values With Multiple Criteria and Date Ranges

Kym21

New Member
Joined
Jun 7, 2021
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi,

I have some data that I need to summarise. I need to summarise the number of orders within a certain date range and then further break it down by whether the order has been shipped, it's on track etc. The orders are broken down by items so the same order number will appear several times. However I need a formula that will exclude duplicates (eg. If PO0100 is listed 10 times I only want it to count it once).

I will need multiple formulas as I need to first show the total number of orders then under that show the total number of overdue orders (based on the current date) then total orders shipped etc. I will display this data in an overview sheet in the same workbook as the data.

I have 3 columns to pull the data from: order number column (A), due date column (G) and status column (N) - this shows whether it's been shipped, received etc. The status column will include blank cells where the status is not yet known. The data will also change so I need to be able to code the columns like A:A instead of A2:A500 for example. Each column also has a header eg. PO Number.

I'm having trouble finding a formula that will work. Any help would be appreciated.
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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