Count of Unique number, based on a different number?

mrctravers

New Member
Joined
Nov 8, 2022
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I am new here, and am decent with Excel but am stuck trying to find a unique number.

On my first worksheet, I have a list of sales based with a customer number, and order numbers, as well as other information.
This is at line level, and so some of the order numbers are repeated.
I have this data over around 6 months.

I want to be able to find out how many unique orders numbers are in the data, based on a customer number.
In the example image, it is column F (in green) that I need the information for in a formula, for a large amount of data.

Any help would be really appriciated.

Thanks,
Mr T.
 

Attachments

  • Excel Image 1.png
    Excel Image 1.png
    17.3 KB · Views: 8

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Hi & welcome to MrExcel.
How about
Excel Formula:
=ROWS(UNIQUE(FILTER($B$2:$B$1000,$A$2:$A$1000=E2)))
 
Upvote 0
Solution
Hi & welcome to MrExcel.
How about
Excel Formula:
=ROWS(UNIQUE(FILTER($B$2:$B$1000,$A$2:$A$1000=E2)))
Perfect! Thanks so much Fluff! Looking forward to being a part of this community moving forward.
Looks like it was the Rows part I missed from the formula. :)
 
Upvote 0

Forum statistics

Threads
1,214,960
Messages
6,122,479
Members
449,088
Latest member
Melvetica

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