#1   Report Post  
Posted to microsoft.public.excel.misc
Joe Joe is offline
external usenet poster
 
Posts: 476
Default Vlookup table

If I want to get the result from the first table instead of the second one.
Wot can I do?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Vlookup table

You may need to clarify that with an example of your data layout but if by
table you mean from a different Column then consider this

=VLOOKUP(A1,J1:N18,2,FALSE)

The table array in the above is 5 columns wide and the column to return is
set by the 2 in the formula which can be any of the 5 columns.

Mike

"Joe" wrote:

If I want to get the result from the first table instead of the second one.
Wot can I do?

  #3   Report Post  
Posted to microsoft.public.excel.misc
Joe Joe is offline
external usenet poster
 
Posts: 476
Default Vlookup table

Hi Mike,

I meant to post this to my previous question but apparantely I am having
problems using the web-link at work.

Assume that I have two tables for the same data but from two different
systems. The original idea is to substract data from Table A from Tabel B by
using Vlookup.

However, the some of the headings may be missing from one of the tables.
Therefore, the result is #N/A.

To prevent this I am now using =ISNA. But I would like to have a formula so
when one of the values is missing in one of the tables, it brings just the
value from one of the tables

Thanks,
jose

"Mike H" wrote:

You may need to clarify that with an example of your data layout but if by
table you mean from a different Column then consider this

=VLOOKUP(A1,J1:N18,2,FALSE)

The table array in the above is 5 columns wide and the column to return is
set by the 2 in the formula which can be any of the 5 columns.

Mike

"Joe" wrote:

If I want to get the result from the first table instead of the second one.
Wot can I do?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Vlookup table

Use something along these lines:

=IF(ISNA(vlookup_1),IF(ISNA(vlookup_2),"not
present",vlookup_2,vlookup_1))

where vlookup_1 and vlookup_2 are your VLOOKUP formulae looking at
table_1 and table_2 respectively. So, if it is not present in table_1
then look in table_2 - if it is not present in either then return that
message.

Hope this helps.

Pete

On Jan 23, 7:02*pm, Joe wrote:
Hi Mike,

I meant to post this to my previous question but apparantely I am having
problems using the web-link at work.

Assume that I have two tables for the same data but from two different
systems. The original idea is to substract data from Table A from Tabel B by
using Vlookup.

However, the some of the headings may be missing from one of the tables.
Therefore, the result is #N/A.

To prevent this I am now using =ISNA. But I would like to have a formula so
when one of the values is missing in one of the tables, it brings just the
value from one of the tables

Thanks,
jose



"Mike H" wrote:
You may need to clarify that with an example of your data layout but if by
table you mean from a different Column then consider this


=VLOOKUP(A1,J1:N18,2,FALSE)


The table array in the above is 5 columns wide and the column to return is
set by the 2 in the formula which can be any of the 5 columns.


Mike


"Joe" wrote:


If I want to get the result from the first table instead of the second one.
Wot can I do?- Hide quoted text -


- Show quoted text -


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
Find a second value in a table with VLOOKUP vsoler Excel Worksheet Functions 8 May 22nd 07 07:34 AM
Table with VLOOKUP? Tatebana Excel Discussion (Misc queries) 5 February 1st 07 03:31 PM
VLOOKUP - 3 Table Array tangomj Excel Worksheet Functions 1 August 1st 06 05:43 PM
vlookup with validation table jparker Excel Discussion (Misc queries) 3 August 12th 05 02:12 AM
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 09:00 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"