Unique List from formula help to remove "0"

Arcticwarrio

Active Member
Joined
Dec 6, 2005
Messages
439
Hello again,

i have a range named MATS (F9:F58)

and this formula in C9 and dragged down 20 rows
Code:
=IFERROR(INDEX(MATS, MATCH(MIN(IF(COUNTIF($C$8:C8, MATS)=0, 1, MAX((COUNTIF(MATS, "<"&MATS)+1)*2))*(COUNTIF(MATS, "<"&MATS)+1)), COUNTIF(MATS, "<"&MATS)+1, 0)), "")

this is a typical contents of MATS:
Code:
[TABLE="width: 97"]
<tbody>[TR]
[TD]5MM MS[/TD]
[/TR]
[TR]
[TD]5MM MS[/TD]
[/TR]
[TR]
[TD]5MM MS[/TD]
[/TR]
[TR]
[TD]5MM MS[/TD]
[/TR]
[TR]
[TD]5MM MS[/TD]
[/TR]
[TR]
[TD]8MM MS[/TD]
[/TR]
[TR]
[TD]8MM MS[/TD]
[/TR]
[TR]
[TD="align: right"]0[/TD]
[/TR]
</tbody>[/TABLE]
and in column C outputs:
Code:
[TABLE="width: 138"]
<tbody>[TR]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]5MM MS
8MM MS[/TD]
[/TR]
</tbody>[/TABLE]
i need for the above formula to omit 0 (zero)

any ideas or better ways to filter the list?

Cheers
Arctic.
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
p.s. the content of MATS is a vlookup, if i set blank cells to an apostophe it ignore them, but not if they are blank.
 
Upvote 0

Forum statistics

Threads
1,215,530
Messages
6,125,347
Members
449,220
Latest member
Edwin_SVRZ

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