Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Look for a value in two cells and match it with another

I have many first names in column A and last names in column B and their
corresponding #s farther down in four columns (F:I). I have another list of
first and last names at the bottom of the page which I would like excel look
for thier match in the same sheet and copy the #s from all 4 columns in the
top sheet and paste it to their corresponding columns (F:I) at the bottom
sheet.

I belive it can be done with Vlookup but I can't get it right.

Help please.
Thank you.

EX.

Top of the sheet:

ColumnA ColumnB | ColumnF ColumnG ColumnH ColumnI
Bob newman 6 45 86 52


Bottom of the sheet:

ColumnA ColumnB | ColumnF ColumnG ColumnH ColumnI
Bob newman ? ? ? ?

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200707/1

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Look for a value in two cells and match it with another

In cell F (F200 in the example) at the bottom of your sheet:

=INDEX(F$1:F$100,MATCH(1,($A200=$A$1:$A$100)*($B20 0=$B$1:$B$100),0))

Enter with Ctrl+Shift+Enter

OR

=SUMPRODUCT(--($A$1:$A$100=$A200),--($B$1:$B$100=$B200),F$1:F$100)

Just Enter

Copy across to Column H and down as required

Change your "upper" & "lower" ranges as required

HTH

"sam81 via OfficeKB.com" wrote:

I have many first names in column A and last names in column B and their
corresponding #s farther down in four columns (F:I). I have another list of
first and last names at the bottom of the page which I would like excel look
for thier match in the same sheet and copy the #s from all 4 columns in the
top sheet and paste it to their corresponding columns (F:I) at the bottom
sheet.

I belive it can be done with Vlookup but I can't get it right.

Help please.
Thank you.

EX.

Top of the sheet:

ColumnA ColumnB | ColumnF ColumnG ColumnH ColumnI
Bob newman 6 45 86 52


Bottom of the sheet:

ColumnA ColumnB | ColumnF ColumnG ColumnH ColumnI
Bob newman ? ? ? ?

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200707/1


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
Excel: match two cells in one sheet to two cells in another and return a third cells value Spence Excel Worksheet Functions 3 February 13th 11 05:33 AM
Match cells with cells on another workbook James1976 Excel Worksheet Functions 1 October 31st 06 05:28 PM
Trying to get a match on Four of Five cells, which formula is use Aldin Linton Excel Discussion (Misc queries) 1 June 7th 06 09:33 PM
Query counting cells in a row that exactly match cells in another Marlsnz Excel Discussion (Misc queries) 1 June 2nd 06 07:08 AM
Make cells match flotowntiger Excel Discussion (Misc queries) 1 December 7th 04 02:40 PM


All times are GMT +1. The time now is 05:21 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"