ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Function To Lookup Unique Records In 2 Sets Of Data (https://www.excelbanter.com/excel-worksheet-functions/173579-function-lookup-unique-records-2-sets-data.html)

James Al

Function To Lookup Unique Records In 2 Sets Of Data
 
Can someone please help me with the following. I am trying to lookup values
in 2 sets of data to provide 1 list with all unique records. For example:
Range a: 1, 2, 3
Range b: 1, 2, 4, 5
These value ranges are populating columns a and b and I want to be able to
populate column c with values 1, 2, 3, 4, 5 using a cross lookup function of
some sort. Because of the nature of the spreadsheet that I am working on I
want to keep user intervention to a minimum and so using the advanced filter
is not an option.

Marcelo

Function To Lookup Unique Records In 2 Sets Of Data
 
did you try a pivot table?
--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"James Al" escreveu:

Can someone please help me with the following. I am trying to lookup values
in 2 sets of data to provide 1 list with all unique records. For example:
Range a: 1, 2, 3
Range b: 1, 2, 4, 5
These value ranges are populating columns a and b and I want to be able to
populate column c with values 1, 2, 3, 4, 5 using a cross lookup function of
some sort. Because of the nature of the spreadsheet that I am working on I
want to keep user intervention to a minimum and so using the advanced filter
is not an option.


Alan Beban[_2_]

Function To Lookup Unique Records In 2 Sets Of Data
 
James Al wrote:
Can someone please help me with the following. I am trying to lookup values
in 2 sets of data to provide 1 list with all unique records. For example:
Range a: 1, 2, 3
Range b: 1, 2, 4, 5
These value ranges are populating columns a and b and I want to be able to
populate column c with values 1, 2, 3, 4, 5 using a cross lookup function of
some sort. Because of the nature of the spreadsheet that I am working on I
want to keep user intervention to a minimum and so using the advanced filter
is not an option.


If the functions in the freely downloadable file at
http://home.pacbell.net are available to your workbook, then if "rng" is
the name of your data range

=INDEX(ArrayUniques(rng),ROW(1:1),1) entered in C1 and filled down as
far as required.

Alan Beban


All times are GMT +1. The time now is 03:25 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com