if then statements referencing multiple worksheets

gretti24

New Member
Joined
Feb 12, 2013
Messages
17
I am trying to come up with a formula that states: if cell A1 = "January" then go to the January worksheet and grab cell B15 from the worksheet. If cell A1 = "February" go to the February worksheet and grab the data.

I've tried to do it by developing multiple nests but for a one year period is reached the maximum fairly quickly.

I am intermediate I'd say with excel so creating a vba I'd like to avoid.

I was also told that maybe going with a concatenate formula could possible work, but I haven't had any luck with that.

Any help would would greatly appreciated!
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Okay this is good...but what if i need a range for it to pull in multiple rows and columns of data that are in a table from the other tab. Both table are identical in each worksheet so and the forumla needs to work so that I can drag down and across and reflect the worksheet that is indicated in cell A1...

So in this case i want to drag the formula down so it would be something like: =INDIRECT("'"&A1&"'!B16") ...B17.. .B18
and also drag across columns?
 
Upvote 0
You can use the following formula:

=INDIRECT("'" & $A$1 & "'!" & CELL("address",B15))

Thanks for bringing up an interesting question!
 
Upvote 0

Forum statistics

Threads
1,214,832
Messages
6,121,850
Members
449,051
Latest member
excelquestion515

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