Using Indirect to pull in sheet name only

smiffydotnet

New Member
Joined
Jun 22, 2020
Messages
4
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
=INDIRECT("'"&A1&"'!"&B1)

This is my current formula.

A1 = the sheet name e.g. September
B2 = cell reference e.e D190

Is it possible to have D190 as part of the formula, so I only pull in the sheet name?
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Do you mean like this?
Excel Formula:
=INDIRECT("'"&A1&"'!D190")
 
Upvote 0
Just add your fixed cell reference inside the double quotes:

=INDIRECT("'"&A1&"'!D190")
 
Upvote 0
Thank you - a follow up question if I may....

If I fill down this new formula, is it possible of the D190 to be D191 on the next row down and then D192 and so on? Or do I have to just change this manually for each row?
 
Upvote 0
If I fill down this new formula, is it possible of the D190 to be D191 on the next row down and then D192 and so on? Or do I have to just change this manually for each row?
You can make use of the ROW() function to return the current row number that the formula is found in. As you copy down, that value increases. So you just need to add a value to get it up to what you want.

For example, let's say that the first formula is in row 2, and you want to return D190. Then enter this into the row 2 formula and copy down.
=INDIRECT("'"&A1&"'!D" & (ROW()+188))
 
Upvote 0

Forum statistics

Threads
1,214,944
Messages
6,122,391
Members
449,080
Latest member
Armadillos

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