#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 49
Default lookup 2 variables

Hi,

I have a rather large spreadsheet which I am using to populate another based
on vlookups. On this occasion, I wish to look up an ID and a date from the
large spreadsheet (the ID is in column A and may repeat, the date is in
column C, and again may repeat, but together with the ID, there should only
be 1 occurrance of the combination) and return a value from another column
(Employment Status). Both the large spreadsheet and the spreadsheet I wish
to populate are ongoing documents and will increase in length.

Any ideas would be gratefully received.

Many thanks,

Karen
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,047
Default lookup 2 variables

Hi Karen,

try to use something like:

=sumproduct(--(a2:a1000="yourid")*(c2:c1000=date(2006,08,28));(d 2:d1000)

hth
--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"KarenF" escreveu:

Hi,

I have a rather large spreadsheet which I am using to populate another based
on vlookups. On this occasion, I wish to look up an ID and a date from the
large spreadsheet (the ID is in column A and may repeat, the date is in
column C, and again may repeat, but together with the ID, there should only
be 1 occurrance of the combination) and return a value from another column
(Employment Status). Both the large spreadsheet and the spreadsheet I wish
to populate are ongoing documents and will increase in length.

Any ideas would be gratefully received.

Many thanks,

Karen

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
showing lookup result with multiple variables jprice Excel Discussion (Misc queries) 2 July 12th 06 12:50 AM
can't figure out LOOKUP with 2 variables LTUser54 Excel Discussion (Misc queries) 1 May 30th 06 07:41 PM
Lookup (multiple variables) stevenpwhite Excel Worksheet Functions 2 December 16th 05 11:03 AM
Lookup Vector > Lookup Value Alec Kolundzic Excel Worksheet Functions 6 June 10th 05 02:14 PM
double lookup, nest, or macro? Josef.angel Excel Worksheet Functions 1 October 29th 04 09:50 AM


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