Formula help return number once only

zone709

Well-known Member
Joined
Mar 1, 2016
Messages
2,079
Office Version
  1. 365
Platform
  1. Windows
Hi,

Trying to do a formula to return number only once.

Example
Staring from row A2

I have going down an more.
A
10
10
10
20
20
29
29

Trying to return in AN only one number at a time.
AN
10
20
29
like that anyway formula would do this ?
 
Last edited:

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
In AN2 try
=IFERROR(INDEX(A$2:A$32,MATCH(0,INDEX(COUNTIF(AN$1:AN1,A$2:A$32),0),0)),"")
 
Upvote 0
Another option for AN2:

=IFERROR(SMALL($A$2:$A$32,COUNTIF($A$2:$A$32,"<="&MAX($AN$1:$AN1))+1),"")
 
Upvote 0
Hey guys thanks for the reply. I just ran into something simliar and tried these formulas but didnt work.

In column B I have names that are the same but only want to return one name at a time like the numbers I did without taking in duplicates.

Any help on this thanks
 
Upvote 0
Just change the A ranges to B & the AN to your new column
 
Upvote 0
The formula I provided in post 4 only works on numbers, but Fluff's should work for text as well as numbers.
 
Upvote 0
I did but the first name keeps pulling in the same name all the way down. I am leaving now i will check tomorrow. Thanks fro the reply.
 
Upvote 0

Forum statistics

Threads
1,214,643
Messages
6,120,702
Members
448,980
Latest member
CarlosWin

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