A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Vlookup Data Split



 
 
Thread Tools Display Modes
  #1  
Old September 26th, 2008, 05:34 PM posted to microsoft.public.excel.worksheet.functions
Atif
external usenet poster
 
Posts: 45
Default Vlookup Data Split

Hi

Data is split in two sheets, can I vlookup both sheet in single formula.
i.e.
Sheet 1 (half data)
Sheet 2 (half data)
Sheet 3 (vlookup)

Thanks

  #2  
Old September 26th, 2008, 05:58 PM posted to microsoft.public.excel.worksheet.functions
T. Valko
external usenet poster
 
Posts: 15,759
Default Vlookup Data Split

One way:

Sheet3 A1 = lookup_value

=VLOOKUP(A1,IF(COUNTIF(Sheet1!A1:A10,A1),Sheet1!A1 :B10,Sheet2!A1:B10),2,0)

--
Biff
Microsoft Excel MVP


"Atif" wrote in message
...
Hi

Data is split in two sheets, can I vlookup both sheet in single formula.
i.e.
Sheet 1 (half data)
Sheet 2 (half data)
Sheet 3 (vlookup)

Thanks



  #3  
Old September 26th, 2008, 06:31 PM posted to microsoft.public.excel.worksheet.functions
Pete_UK
external usenet poster
 
Posts: 8,780
Default Vlookup Data Split

Another way:

=IF(ISNA(vlookup1),IF(ISNA(vlookup2),"not present",vlookup2),vlookup1)

where vlookup1 will be looking for an exact match in Sheet1, and
vlookup2 will be looking for an exact match in Sheet2, so might look
something like:

VLOOKUP(A2,Sheet1A:F,6,0)

(example only).

Hope this helps.

Pete

On Sep 26, 5:34*pm, Atif wrote:
Hi

Data is split in two sheets, can I vlookup both sheet in single formula.
i.e.
Sheet 1 (half data)
Sheet 2 (half data)
Sheet 3 (vlookup)

Thanks


  #4  
Old September 26th, 2008, 06:37 PM posted to microsoft.public.excel.worksheet.functions
Sean Timmons
external usenet poster
 
Posts: 1,722
Default Vlookup Data Split

Are you looking for a result in one OR the other, or one AND the other? (i.e.
- want to know if the value is in sheet A, if not, look in sheet B VS. Find
the lookup in sheet A and add to the lookup in sheet B)

"Atif" wrote:

Hi

Data is split in two sheets, can I vlookup both sheet in single formula.
i.e.
Sheet 1 (half data)
Sheet 2 (half data)
Sheet 3 (vlookup)

Thanks

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


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