ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Using the outcome of cell A in a formula in cell B as a worksheet (https://www.excelbanter.com/excel-programming/401580-using-outcome-cell-formula-cell-b-worksheet.html)

Upgrade

Using the outcome of cell A in a formula in cell B as a worksheet
 
Cell A displays text based on an IF statement. for example: "Water"

I then have a worksheet titled "Water" and would like cell B to use the text
displayed in Cell A ("Water") to look at a cell reference on the "Water"
worksheet.

So the worksheet reference in cell B's formula is dynamically changing based
on the text in cell A.

Is this possible.

Thanks in advance for any help on this.

Niek Otten

Using the outcome of cell A in a formula in cell B as a worksheet
 
Look in HELP for the INDIRECT() function

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Upgrade" wrote in message ...
| Cell A displays text based on an IF statement. for example: "Water"
|
| I then have a worksheet titled "Water" and would like cell B to use the text
| displayed in Cell A ("Water") to look at a cell reference on the "Water"
| worksheet.
|
| So the worksheet reference in cell B's formula is dynamically changing based
| on the text in cell A.
|
| Is this possible.
|
| Thanks in advance for any help on this.



Gary''s Student

Using the outcome of cell A in a formula in cell B as a worksheet
 
=INDIRECT(A1&"!B9")

to get cell B9 from the sheet displayed in A1
--
Gary''s Student - gsnu200758


"Upgrade" wrote:

Cell A displays text based on an IF statement. for example: "Water"

I then have a worksheet titled "Water" and would like cell B to use the text
displayed in Cell A ("Water") to look at a cell reference on the "Water"
worksheet.

So the worksheet reference in cell B's formula is dynamically changing based
on the text in cell A.

Is this possible.

Thanks in advance for any help on this.



All times are GMT +1. The time now is 12:29 PM.

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