#1   Report Post  
maca
 
Posts: n/a
Default Lookup: 2 criteria


Hi,

Is it posible to search with lookup after 2 criteria?
Inputs:
An array(column) of dates and an array of monthly returns.
Outputs:
Rows of the returns corresponding to the each year of data as follows:

First row:
in the first cell the return corresponding to the first month, in the
second, the return corresponding to the second month, etc.
The next row should be similar to the first one.
So I have to search after 2 criteria: the year and the month of the
date.
How can I solve this issue?

Rgds,
Maca.


--
maca
------------------------------------------------------------------------
maca's Profile: http://www.excelforum.com/member.php...o&userid=24892
View this thread: http://www.excelforum.com/showthread...hreadid=392128

  #2   Report Post  
Gary's Student
 
Posts: n/a
Default

Take your two criteria and CONCATINATE them. The resulting column will
contain the same info as the two original columns. Then use VLOOKUP, which
can look-up based upon text.

Good Luck
--
Gary's Student


"maca" wrote:


Hi,

Is it posible to search with lookup after 2 criteria?
Inputs:
An array(column) of dates and an array of monthly returns.
Outputs:
Rows of the returns corresponding to the each year of data as follows:

First row:
in the first cell the return corresponding to the first month, in the
second, the return corresponding to the second month, etc.
The next row should be similar to the first one.
So I have to search after 2 criteria: the year and the month of the
date.
How can I solve this issue?

Rgds,
Maca.


--
maca
------------------------------------------------------------------------
maca's Profile: http://www.excelforum.com/member.php...o&userid=24892
View this thread: http://www.excelforum.com/showthread...hreadid=392128


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 Lookup on Multiple Criteria TBarker Excel Worksheet Functions 1 June 22nd 05 12:28 AM
2-Level (criteria) Lookup Function Help Steven Leuck Excel Worksheet Functions 3 February 28th 05 06:29 PM
Multiple Criteria Lookup Question Gregg Riemer Excel Discussion (Misc queries) 3 February 22nd 05 01:18 AM
lookup with 2 criteria LoriM Excel Discussion (Misc queries) 5 January 7th 05 05:39 PM
lookup with 2 criteria LoriM Excel Discussion (Misc queries) 0 January 5th 05 02:05 AM


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