#1   Report Post  
Posted to microsoft.public.excel.programming
KT KT is offline
external usenet poster
 
Posts: 47
Default Vlookup

How do I look up something and combine data from three individual workbook or
excel file?
like sheet1, sheet2, and sheet3
I know the standard vlookup formula =vlookup(A1,data$a$1:$C$6500,2,false),
but this only combine two spreadsheet. I my case I need to do combine three
or more worksheets or files.
Thanks your assistance in advance
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 192
Default Vlookup

the easiest way is to do a "=IF(ISNA(VLOOKUP(etc.)) that is nested. That
way, if it doesn't find it in the first sheet, it can look to the second and
then to the third. Here's an example I used the other day:

=IF(ISNA(VLOOKUP($A35,'RFL-Early'!$C$6:$I$52,I$9,FALSE)),IF(ISNA(VLOOKUP($A35 ,'FRP-Early'!$C$4:$I$45,I$9,FALSE)),VLOOKUP($A35,'RRP-Early'!$C$5:$J$73,I$9,FALSE),VLOOKUP($A35,'RRD-Early'!$C$4:$I$45,I$9,FALSE)),VLOOKUP($A35,'PRL-Early'!$C$6:$I$52,I$9,FALSE))

--
-SA


"KT" wrote:

How do I look up something and combine data from three individual workbook or
excel file?
like sheet1, sheet2, and sheet3
I know the standard vlookup formula =vlookup(A1,data$a$1:$C$6500,2,false),
but this only combine two spreadsheet. I my case I need to do combine three
or more worksheets or files.
Thanks your assistance in advance

  #3   Report Post  
Posted to microsoft.public.excel.programming
st st is offline
external usenet poster
 
Posts: 3
Default Vlookup

On Jul 15, 1:56*pm, StumpedAgain
wrote:
the easiest way is to do a "=IF(ISNA(VLOOKUP(etc.)) that is nested. *That
way, if it doesn't find it in the first sheet, it can look to the second and
then to the third. *Here's an example I used the other day:

=IF(ISNA(VLOOKUP($A35,'RFL-Early'!$C$6:$I$52,I$9,FALSE)),IF(ISNA(VLOOKUP($A*3 5,'FRP-Early'!$C$4:$I$45,I$9,FALSE)),VLOOKUP($A35,'RRP-Early'!$C$5:$J$73,I*$9,FALSE),VLOOKUP($A35,'RRD-Early'!$C$4:$I$45,I$9,FALSE)),VLOOKUP($A35,'PRL*-Early'!$C$6:$I$52,I$9,FALSE))

--
-SA



"KT" wrote:
How do I look up something and combine data from three individual workbook or
excel file?
like sheet1, sheet2, and sheet3
I know the standard vlookup formula =vlookup(A1,data$a$1:$C$6500,2,false),
but this only combine two spreadsheet. I my case I need to do combine three
or more worksheets or files.
Thanks your assistance in advance- Hide quoted text -


- Show quoted text -


You could do 2 separate colums with normal vlookups (col b, col c),
each w/ a look-up to a different sheet. Then in a 3rd column, do
=if(iserror(b1),c1,b1). This would say if your vlookup in column B is
an error, use the vlookup in column C, otherwise use column B.
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
If (Vlookup 0) working, but what if Vlookup cell does not exist Steve Excel Worksheet Functions 18 November 18th 09 07:33 PM
using a vlookup to enter text into rows beneath the vlookup cell Roger on Excel Excel Programming 1 November 29th 07 12:09 PM
Vlookup in vlookup - taking the result as array name SupperDuck Excel Worksheet Functions 2 June 2nd 07 11:05 AM
Which is faster: VLOOKUP-worksheet or VB-array VLOOKUP? erikhs[_20_] Excel Programming 1 August 6th 06 06:18 PM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


All times are GMT +1. The time now is 11:50 AM.

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

About Us

"It's about Microsoft Excel"