Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 102
Default 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.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,358
Default 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.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 102
Default 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.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:07 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"