Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Using VLOOKUP to lookup a unique value in 6 different workbooks

Hi every body

i am trying to lookup a unique value in 6 different workbooks, i tried the
following argument,
=IF(ISNA(VLOOKUP($A:$A, Sheet2!$A:$B, 2, FALSE)), VLOOKUP($A:$A,
Sheet3!$A:$B, 2, FALSE), VLOOKUP($A:$A, Sheet2!$A:$B, 2, FALSE)),
but it works with two different workbooks/sheets, but i have 6 different
workbooks,

pleaaaaaaaaaze help of think to use some thing else to get same result

i tried to put AND/OR, but i failed to get it work.
thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Using VLOOKUP to lookup a unique value in 6 different workbooks

I would put the 6 lookups in separate cells, say A1:F1, and then use


=IF(COUNTIF(A1:F1,"#N/A")<6,INDEX(A1:F1,,MIN(IF(NOT(ISNA(A1:F1)),COLUMN( A1:F1)))),"none
matched")

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.
Excel will automatically enclose the formula in braces (curly brackets), do
not try to do this manually.
When editing the formula, it must again be array-entered.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"T_Hawary" wrote in message
...
Hi every body

i am trying to lookup a unique value in 6 different workbooks, i tried the
following argument,
=IF(ISNA(VLOOKUP($A:$A, Sheet2!$A:$B, 2, FALSE)), VLOOKUP($A:$A,
Sheet3!$A:$B, 2, FALSE), VLOOKUP($A:$A, Sheet2!$A:$B, 2, FALSE)),
but it works with two different workbooks/sheets, but i have 6 different
workbooks,

pleaaaaaaaaaze help of think to use some thing else to get same result

i tried to put AND/OR, but i failed to get it work.
thanks



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
vlookup and Sum unique values Diggsy Excel Worksheet Functions 3 January 11th 12 10:22 PM
Use a vlookup to lookup up and count the amount of unique numbers Greg Excel Discussion (Misc queries) 1 February 14th 08 07:39 PM
Function To Lookup Unique Records In 2 Sets Of Data James Al Excel Worksheet Functions 2 January 18th 08 08:00 PM
Excel Workbooks, user returns, extract unique data [email protected] Excel Discussion (Misc queries) 2 April 23rd 07 09:36 AM
Vlookup for non-unique fields EdwardG Excel Discussion (Misc queries) 0 May 13th 06 09:17 AM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"