Unique, Choose, (IF?)

Silverhorne

New Member
Joined
Feb 21, 2015
Messages
42
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Good day all,

I have been watching a lot of videos from Mr. Excel himself and have learned a lot of good stuff. I am wondering if it is possible to use the Unique Choose formula if a cell on the same row contains a constant value.
I have extracted the unique values based on columns A and C combined in the example below, what I would like to do is only extract these unique values if column E="BW".
Columns B and D are columns with data that is not required and are placeholders, the results I am looking for are in G4:N5.
Maybe I am trying to use the incorrect approach?

Mr Excel Help.xlsm
ABCDEFGHIJKLMN
120XXX11.9XXXBW1010121618202030
220XXX11.9XXXBW12.715.99.312.715.911.912.715.9
316XXX12.7XXXBW
412XXX9.3XXXSW10161820
516XXX12.7XXXSW15.912.715.911.9
618XXX15.9XXXBW
720XXX12.7XXXSW
830XXX15.9XXXFW
930XXX15.9XXXFW
1010XXX12.7XXXFW
1110XXX15.9XXXBW
1216XXX12.7XXXBW
Unique Choose
Cell Formulas
RangeFormula
G1:N2G1=TRANSPOSE(SORT(UNIQUE(CHOOSE({1,2},A1:A12,C1:C12))))
Dynamic array formulas.
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
If you have the LET function try
Excel Formula:
=LET(f,FILTER(A1:C12,E1:E12="BW"),SORT(TRANSPOSE(UNIQUE(INDEX(f,SEQUENCE(ROWS(f)),{1,3}))),,,1))
 
Upvote 0
Solution
Thank you Fluff! I was looking at posts with the LET function but couldn't get my head around it.
That worked perfectly!
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,214,515
Messages
6,119,974
Members
448,934
Latest member
audette89

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