Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
jay
 
Posts: n/a
Default QUICK HELP - Retrieve value based on two column criteria

I have three columns in worksheet A (id,name,city) in worksheet B I have
(id,name,city) where the ID is not populated. I need to populate worksheet
b(id) with worksheet A(id) where the name and city are equal. Just so you
know, worksheetA has a lot more values than B so I can't just copy/paste.
  #2   Report Post  
Bryan Hessey
 
Posts: n/a
Default


Jay,

for a quick one-off solution, make a column of concatenated A and C,
followed by column B, (say in columns D and E),

(in D1 put =A1&C1
in E1 put =B1
and formula copy for the extent of your data)

then in the blank column B put

=vlookup(A1&C1,sheet2!D1:E9999,2,false)

Hope this helps


jay Wrote:
I have three columns in worksheet A (id,name,city) in worksheet B I
have
(id,name,city) where the ID is not populated. I need to populate
worksheet
b(id) with worksheet A(id) where the name and city are equal. Just so
you
know, worksheetA has a lot more values than B so I can't just
copy/paste.



--
Bryan Hessey
------------------------------------------------------------------------
Bryan Hessey's Profile: http://www.excelforum.com/member.php...o&userid=21059
View this thread: http://www.excelforum.com/showthread...hreadid=469965

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
Conditional format based on data from another column Ellie Excel Discussion (Misc queries) 3 May 14th 08 05:23 PM
Row filtering based on input box entry (column heading) Santed593 Excel Worksheet Functions 4 August 18th 05 12:35 AM
Lookup Table Dilemma Karen Excel Worksheet Functions 2 June 10th 05 08:22 PM
conditional formatting based on column snax500 Excel Discussion (Misc queries) 4 April 27th 05 06:13 PM
Putting text in a column based on variable text from another colum Jacky D. Excel Discussion (Misc queries) 1 December 16th 04 06:09 PM


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

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

About Us

"It's about Microsoft Excel"