ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   index & match month (https://www.excelbanter.com/excel-discussion-misc-queries/249888-index-match-month.html)

Charp

index & match month
 
I would like a formula that would match any month I want. IF statements have
a max of 7 criteria and I need more than that.

I would like to enter a month in another spreadsheet and return the data for
that month from the data worksheet.

Type Jan Feb Mar Apr May Jun Jul Aug Sep Oct
LR 87.55 126.77 111.63 174.66 132.49 117.70 135.82 203.85
184.11 177.43
PC 3.91 1.90 6.63 15.33 23.54 126.09 116.21
RE 98.23 29.75 17.27 5.52 10.25 -
SP 92.93 -


Luke M

index & match month
 
Lets say you input type into cell Z1, month into cell Z2 (using same format
as headers). Formula then becomes something like:

=INDEX(B2:J10,MATCH(Z1,A2:A10,0),MATCH(Z2,B1:J1,0) )
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Charp" wrote:

I would like a formula that would match any month I want. IF statements have
a max of 7 criteria and I need more than that.

I would like to enter a month in another spreadsheet and return the data for
that month from the data worksheet.

Type Jan Feb Mar Apr May Jun Jul Aug Sep Oct
LR 87.55 126.77 111.63 174.66 132.49 117.70 135.82 203.85
184.11 177.43
PC 3.91 1.90 6.63 15.33 23.54 126.09 116.21
RE 98.23 29.75 17.27 5.52 10.25 -
SP 92.93 -



All times are GMT +1. The time now is 05:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com