Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default look up multiple fields

Hello smart people!
I need to update a worksheet to include data from an older worksheet.
Columns ABCDE have data. I need to populate columns FGHIJ with data if BCD
match between sheets. Can I do that with a VLookup? or Index?

Thanks!!!!!!!!
--
Maritza
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default look up multiple fields

=Index(Sheet1!A:A,Match(B2&C2&D2,Sheet1!$B$1:$B$10 00&Sheet1!
$C$1:$C$1000&Sheet1!$D$1:$D$1000,0),1)

entered with Ctrl+shift+Enter rather than just enter since this is an array
formula

Adapt for other columns.

Drag fill down the column.

--
Regards,
Tom Ogilvy



"Maritza" wrote:

Hello smart people!
I need to update a worksheet to include data from an older worksheet.
Columns ABCDE have data. I need to populate columns FGHIJ with data if BCD
match between sheets. Can I do that with a VLookup? or Index?

Thanks!!!!!!!!
--
Maritza

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 64
Default look up multiple fields

You could do something like this in say cell F...

=IF(B1='Old Sheet'!B1,"MATCH","NO MATCH")

Then follow with this

=IF(F1="MATCH",B1,"NO MATCH")

Play around with this simple logic and it should do the trick for
you...

On Aug 9, 2:58 pm, Maritza wrote:
Hello smart people!
I need to update a worksheet to include data from an older worksheet.
Columns ABCDE have data. I need to populate columns FGHIJ with data if BCD
match between sheets. Can I do that with a VLookup? or Index?

Thanks!!!!!!!!
--
Maritza



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 64
Default look up multiple fields

Or you could do this...

=IF(B1='Old Sheet'!B1,'Old Sheet'!B1,"NO MATCH")

So you'll only see data from the old sheet if you find a match,
otherwise, it will say no match..

On Aug 9, 2:58 pm, Maritza wrote:
Hello smart people!
I need to update a worksheet to include data from an older worksheet.
Columns ABCDE have data. I need to populate columns FGHIJ with data if BCD
match between sheets. Can I do that with a VLookup? or Index?

Thanks!!!!!!!!
--
Maritza



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
Counting from multiple fields toby131 Excel Discussion (Misc queries) 7 October 8th 09 03:56 PM
Vlookup to look up multiple fields? Cam Excel Discussion (Misc queries) 5 February 13th 08 07:21 PM
Multiple Fields In Multiple Ranged Pivot Table FARAZ QURESHI Excel Discussion (Misc queries) 0 September 19th 07 07:08 AM
Comparing multiple fields in an array with multiple fields in a table. [email protected] Excel Programming 2 June 14th 07 11:51 PM
how do I add multiple fields together? aharrell Excel Worksheet Functions 1 September 1st 06 04:05 PM


All times are GMT +1. The time now is 11:31 AM.

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"