Multiple unique results from search and formatting of results

Falcoty

New Member
Joined
Jun 15, 2015
Messages
2
My question is in two parts.

First, how to fix the formula I have, or create a new one, to get only the unique values when I perform my search.

Second, how to also set a conditional format so that active models will be highlighted one color and inactive models will be highlighted another.

This is how the document currently appears.

kyDDNkQ13bhoTNYgTKbFHSpoGyEeUGEyUs1H1aeYFXjo8jGmcKxEx81LRWeDpUAEEjeCKT5brtVqoYg=w1566-h681







I would like the end result to look more like this. There is only one return value for each Model, and they are highlighted to indicate activity.


EMhuOk146x1GsPurohC9rYvFsbDqa0yQQ55OH_FTntmjXGB1Kz-aFydKWXZkuF2MyoAfnsCugr4Mnqk=w1566-h681
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Of course the pictures don't work. I figured out a workaround for the formatting, I'm still trying to figure out how to get unique values.


ModelPart#Search30001
Model230001
Model230001ResultModel2
Model230001Model2
Model230001Model2
Model330001
Model2
Model330001Model3
Model230002Model3
Model230002#NUM!
Model330002#NUM!
Model330002#NUM!
Model430002
Model430002
Model165001
Model165001
Model165001
Model165001
Model277016
Model277016
Model377016
Model377016
Model477016

<colgroup><col style="mso-width-source:userset;mso-width-alt:3766;width:77pt" width="103"> <col style="mso-width-source:userset;mso-width-alt:3328;width:68pt" width="91"> <col style="width:48pt" span="2" width="64"> </colgroup><tbody>
</tbody>


{INDEX($A:$A,SMALL(IF($D$1=$B:$B, ROW($A$2:$A$22)-ROW($D$2)+1), ROW(1:1)))}


The formula I have is almost idea, except that it returns every instance of when the given search value is used, instead of the first one of each unique model.
 
Upvote 0

Forum statistics

Threads
1,215,009
Messages
6,122,674
Members
449,091
Latest member
peppernaut

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