Unique Values From Different Areas BUT with criteria

ellison

Active Member
Joined
Aug 1, 2012
Messages
356
Office Version
  1. 365
Platform
  1. Windows
Hi, we are trying to make a unique list from separate columns of a spreadsheet BUT taking into account the criteria (y/n) columns...

Sitrep so far:
-A unique set of values from different columns on a spreadsheet: done
-Taking into account blanks: done
-Sorted A-Z: done
The formula we are using for this is:
#=SORT(UNIQUE(TOCOL((B2:B10, D2:D10,F2:F10), 1)))


But we are also trying to make the formula take into account the accompanying info (Y/N) in the criteria columns and can't do it.
Is this possible?
Please could you take a look at the below?

RowHeader-1Use-Header-1Header-2Use-Header-2Header-3Use-Header-3#=SORT(UNIQUE(TOCOL((B2:B10, D2:D10,F2:F10), 1)))My Manual Notes
2Southyalphanfootballyalphano, should not be included
3Northnechoybetano, should not be included
4Eastyrugbyncharlie
5Northnechoycricketno, should not be included
6EastycricketnEast
7Northnbetanecho
8Westycharlieynetballyfootball
9Southyalphannetball
10SouthyalphanNorthno, should not be included
rugbyno, should not be included
South
West



Huge thanks for taking a look!
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Hi

=UNIQUE(SORT(A.COL(IF(C2:G10="Y",B2:F10,x),3)))
 
Last edited:
Upvote 0
Hi

=UNIQUE(SORT(TOCOL(IF(C2:G10="Y",B2:F10,x),3)))
 
Upvote 0
Solution

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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