INDIRECT function

Mary Bizmax

New Member
Joined
Aug 12, 2018
Messages
4
Hi guys

Love Mr Excel and usually I can figure out what I need but am going round in circles here, so help would be much appreciated.

In my workbook I have a sheet called "Summary" where I am picking up information for each month. The names of the months are in this sheet in cells B1 to M1. e.g. "Apr" in is cell B1, "May" in C1 etc.

I then have a sheet for each month with same naming convention e.g. "Apr", "May" etc. I've got various formula in the summary sheet to reference the individual sheets, just wondering how I can insert the name of the sheet within the formula by referencing the names of the months? Example formula is =IFERROR(INDEX(Apr!$V:$V,MATCH(Summary!$A3,Apr!$U:$U,0)),"") So I would like to substitute the Apr bit with B1, but not sure how to do this.

Thanks

Mary
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Assuming your month names are strings and not dates formatted as "mmm", try:
Code:
=IFERROR(INDEX(INDIRECT(B1&"!$V:$V"),MATCH(Summary!$A3,INDIRECT(B1&"!$U:$U"),0)),"")
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,246
Members
452,623
Latest member
cliftonhandyman

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top