LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default lookup multi values

Hi!

If there will be only a single instance of 060831 and Joe?

Assuming the report dates are really formatted TEXT entries (leading 0's):

=SUMPRODUCT(--(A2:A5="060831"),--(B2:B5="Joe"),C2:C5)

If there might be multiple instances of 060831 and Joe which one do you
want?

Entered as an array using the key combination of CTRL,SHIFT,ENTER (not just
ENTER):

=INDEX(C2:C5,MATCH(1,(A2:A5="060831")*(B2:B5="Joe" ),0))

Will match the FIRST instance.

Biff

"robtlewis957" wrote in message
...
I need to lookup data within a list and select a value in the appropriate
row
based on the values of two inputs(report date and user name, for example),
not just one. The list data is such that I cannot make any modifications
to
it (like concatenating the two fields together.
ReportDate User Value
060824 Mary $5
060824 Joe $4
060831 Mary $6
060831 Joe $3
I need to be able to retrieve the value $3 by inputting 060831 and Joe.
Note the list has many rows and about a dozen columns.



 
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
How do I use vlookup with two lookup values? pinpalchris Excel Worksheet Functions 4 April 25th 06 06:57 PM
Advanced Lookup (lookup for 2 values) 0-0 Wai Wai ^-^ Excel Worksheet Functions 2 March 30th 06 07:09 PM
how do I lookup multiple values Lisa Excel Discussion (Misc queries) 2 December 19th 05 08:58 PM
Lookup values in one column to return another [email protected] Excel Worksheet Functions 4 November 17th 05 09:42 PM
how to lookup a value and return multiple corresponding values Asthee Excel Worksheet Functions 1 November 5th 05 01:49 PM


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