ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Combining formula and cell reference (https://www.excelbanter.com/excel-worksheet-functions/89048-combining-formula-cell-reference.html)

Drew

Combining formula and cell reference
 
Is there any way to combine a formula as part of the cell reference?
For example I want to use this type of format, but it doesn't work:

=Worksheetname!ADDRESS(BIG LONG FORMULA,6):T500

the output I want is: Worksheetname!F#:T500

# is defined by the BIG LONG FORMULA

If anyone knows the proper syntax, I would greatly appreciate it!!!

Ardus Petus

Combining formula and cell reference
 
=INDIRECT("Worksheetname!F"&BIGLONGFORMLA&":T500")

HTH
--
AP

"Drew" a écrit dans le message de news:
...
Is there any way to combine a formula as part of the cell reference?
For example I want to use this type of format, but it doesn't work:

=Worksheetname!ADDRESS(BIG LONG FORMULA,6):T500

the output I want is: Worksheetname!F#:T500

# is defined by the BIG LONG FORMULA

If anyone knows the proper syntax, I would greatly appreciate it!!!




Niek Otten

Combining formula and cell reference
 
Look at the INDIRECT() function

--
Kind regards,

Niek Otten

"Drew" wrote in message ...
| Is there any way to combine a formula as part of the cell reference?
| For example I want to use this type of format, but it doesn't work:
|
| =Worksheetname!ADDRESS(BIG LONG FORMULA,6):T500
|
| the output I want is: Worksheetname!F#:T500
|
| # is defined by the BIG LONG FORMULA
|
| If anyone knows the proper syntax, I would greatly appreciate it!!!



Drew

Combining formula and cell reference
 
THANK YOU FROM THE BOTTOM OF MY HEART

"Ardus Petus" wrote:

=INDIRECT("Worksheetname!F"&BIGLONGFORMLA&":T500")

HTH
--
AP

"Drew" a écrit dans le message de news:
...
Is there any way to combine a formula as part of the cell reference?
For example I want to use this type of format, but it doesn't work:

=Worksheetname!ADDRESS(BIG LONG FORMULA,6):T500

the output I want is: Worksheetname!F#:T500

# is defined by the BIG LONG FORMULA

If anyone knows the proper syntax, I would greatly appreciate it!!!






All times are GMT +1. The time now is 04:32 PM.

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