Count number of unique values based on criteria in other rows

arjun0405

New Member
Joined
Apr 30, 2018
Messages
5
Hey Guys,

I am new to writing formula. Can you guys help me with the below problem? Thanks.
I want to write a formula in separate cells, where it shows the unique values of column A when a criteria is selected in Column B.
Eg.
Cell 1: good: 3 (101,101,103,103,105)
Cell2: bad: 3 (102,104,101,102)

Order no.Status
101good
101good
102bad
103good
104bad
103good
101bad
102bad
105good

<tbody>
</tbody>
 

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.
Hmmm. It seems you don't want to calculate anyting. Wouldn't Autofilter suffice then?
 
Upvote 0
Hmmm. I won't help you with this... I don't know of a way to concat values into one cell without using UDF (user defined function)...
 
Upvote 0
If you get a formula please post it here. Thx. :)
 
Upvote 0

Forum statistics

Threads
1,215,360
Messages
6,124,491
Members
449,166
Latest member
hokjock

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