ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Help with a formula (https://www.excelbanter.com/excel-worksheet-functions/194822-help-formula.html)

Vince

Help with a formula
 
Cell H18 contains an account number such as 11-10-80808-61510. Cell K18
contains the formula =(Actuals61510), which is a defined name.

I would like for cell K18 to show the data for whatever account may be in
cell H18 based on the last five digits. I tried entering into cell K18 the
formula ="Actuals" & Right(H18,5) but is merely concatenates the two and
puts that in the cell.

Is there a way to create a dynamic formula such as what I am looking for?

Your help is appreciated.

John C[_2_]

Help with a formula
 
=INDIRECT("ACTUALS"&RIGHT(H18,5))
--
John C


"Vince" wrote:

Cell H18 contains an account number such as 11-10-80808-61510. Cell K18
contains the formula =(Actuals61510), which is a defined name.

I would like for cell K18 to show the data for whatever account may be in
cell H18 based on the last five digits. I tried entering into cell K18 the
formula ="Actuals" & Right(H18,5) but is merely concatenates the two and
puts that in the cell.

Is there a way to create a dynamic formula such as what I am looking for?

Your help is appreciated.


Vince

Help with a formula
 
Thank you very much John. That worked perfectly.

"John C" wrote:

=INDIRECT("ACTUALS"&RIGHT(H18,5))
--
John C


"Vince" wrote:

Cell H18 contains an account number such as 11-10-80808-61510. Cell K18
contains the formula =(Actuals61510), which is a defined name.

I would like for cell K18 to show the data for whatever account may be in
cell H18 based on the last five digits. I tried entering into cell K18 the
formula ="Actuals" & Right(H18,5) but is merely concatenates the two and
puts that in the cell.

Is there a way to create a dynamic formula such as what I am looking for?

Your help is appreciated.



All times are GMT +1. The time now is 02:50 AM.

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