Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Lookup values, compare and paste

If two cells on the same row have values that have been identified by a
VLookup formula, how do I compare both to a master list on a following page
and return a value from that following page to a different cell on page1?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Lookup values, compare and paste

If i understand you correctly; you are trying to get the information from a
master list with 2 matching fields..Suppose in Sheet1 you have the data as
below (master sheet)

Col A Col B Col C
Emp Code Name Office
10001 Tom R Bath
10002 Katy C Bath
10003 Nigel G Bath
10004 Pete R Bath
10005 Tony A London
10006 John B London
10007 Mary C London
10008 Jane D London

In Sheet2 you have the employee name and office location in cell A1,cell B1
Col A Col B
Katy C Bath

To retrive the employee code from master sheet (Sheet1) with the 2 fields
available in sheet2 try the below array formula. You create array formulas in
the same way that you create other formulas, except you press
CTRL+SHIFT+ENTER to enter the formula. If successful in 'Formula Bar' you can
notice the curly braces at both ends like "{=<formula}"

=INDEX(Sheet1!$A$2:$A$9,MATCH(1,(Sheet1!$B$2:$B$9= A1)*
(Sheet1!$C$2:$C$9=B1),0))


If this post helps click Yes
---------------
Jacob Skaria


"Willis_p" wrote:

If two cells on the same row have values that have been identified by a
VLookup formula, how do I compare both to a master list on a following page
and return a value from that following page to a different cell on page1?

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
Compare and copy/paste Rockbear Excel Worksheet Functions 1 October 10th 08 09:45 PM
Compare values on sheet 1 to values on sheet2 Colin Excel Worksheet Functions 2 August 2nd 06 07:19 PM
Excel Compare values in columns & display missing values in a new cpetta Excel Discussion (Misc queries) 1 April 2nd 05 05:51 AM
lookup in colum a and compare values in colum b Boggled Excel User Excel Worksheet Functions 14 October 29th 04 06:38 PM


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

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"