Home » excel » excel – How to add cell value to certain part in Formula Bar

excel – How to add cell value to certain part in Formula Bar

Posted by: admin May 14, 2020 Leave a comment

Questions:

I have a formula that takes a value from a cell in different sheet.

='WEEK 42'!E12

Is it possible for ‘WEEK 42’ to be taken from cell value? Or even just a number 42 to be taken from cell value?

How to&Answers:

Use INDIRECT and concatenate the address you are interested in using &

enter image description here

Note that if the specified sheet name includes spaces (or certain other characters) you’ll need to enclose the name in ' ie

=INDIRECT("'" & B1 & "'!A1") 

might as well do this regardless, just in case