first 6 unique numbers in row

palaeontology

Active Member
Joined
May 12, 2017
Messages
444
Office Version
  1. 2016
Platform
  1. Windows
Hi,

I have the following numbers in range AS133:BD133 ...
102322239758239547823

<tbody>
</tbody>

I would like to return the first 6 unique numbers from that list into the range BF133:BK133
I'm currently using the following formula in BF133 and dragging across ...

=INDEX($AS$133:$BD$133,MATCH(0,INDEX(COUNTIF($BF$133:BF133,$AS$133:$BD$133),0,0),0))

Unfortunately, instead of returning these 6 unique numbers ...

10 23 2 97 58 9 .... it's returning zero in all 6 cells

Can anyone see the error in my formula ?

Kind regards,

Chris
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Your formula refers to BF133, so if you put it in cell BF133 you'll get circular references and zero values.

Change $BF$133:BF133 to $BE$133:BE133
 
Upvote 0
of course, embarrassed i missed it.

Thankyou for solving that,

Kind regards,

Chris
 
Upvote 0

Forum statistics

Threads
1,214,584
Messages
6,120,385
Members
448,956
Latest member
JPav

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