Vlookup but with unique values

Jovinchious

New Member
Joined
Oct 12, 2022
Messages
19
Office Version
  1. 2007
Platform
  1. Windows
Hi guys,

i ll need a bit of help.

i want this formula in "LR" column "=IFERROR(VLOOKUP(C2;Sheet1!$A:$E;5;FALSE);"")" to give me only the unique values, so for example, if it returns number "9900007055" in cells LR4 and in LR5, thats no good...

so, basically i have a lot of the same names in C column of sheet2 and A column of sheet1, but with different number in E column of sheet1, and Vlookup gives me only 1 result and copies it all over the column...but i need a unique numbers.

chatGPT does not help with this one :D
Thanks in advance!

Luka
 

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.
what version of excel , is this still 2007????
UNIQUE() & FILTER() are in later versions which should do what you are after
 
Upvote 0
It would help if you post a small sample and the expected results. With Excel 2007 it will probably require a complicated array formula using INDEX and FREQUENCY functions.
 
Upvote 0
got it. thanks guys...
heres the solution:

=IFERROR(TEXTJOIN(";";TRUE; UNIQUE(FILTER(Sheet1!$D:$D; Sheet1!$A:$A=A2)));"")

its for other columns...but the same thing.
after that, just make text to columns via ; separator and thats it. Thanks!
 
Upvote 0
thanlks for takling the time to reply with the solution, not everyone does here ,

however, it would be useful if you update your profile with the version you are using , would have had a much quicker reply as members here would know you can use , filter and unique etc
as i posted
 
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,265
Members
452,627
Latest member
KitkatToby

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