+ Reply to Thread
Results 1 to 5 of 5

variable Cell references within formula

  1. #1
    Registered User
    Join Date
    05-18-2009
    Location
    Auckland,NZ
    MS-Off Ver
    O365
    Posts
    14

    variable Cell references within formula

    I have a number of Cell names LR0Cost, EX0Cost, IM0cost that hold %

    formula might be
    Please Login or Register  to view this content.
    How can I get the "LR" and "EX" portion to be linked to another cell
    Please Login or Register  to view this content.


    Cheers

    Matthew
    Last edited by Macatk; 05-18-2009 at 09:01 PM.

  2. #2
    Forum Expert
    Join Date
    01-03-2006
    Location
    Waikato, New Zealand
    MS-Off Ver
    2010 @ work & 2007 @ home
    Posts
    2,243

    Re: variable Cell references within formula

    hi Matthew,

    Have a look at the Excel Help files for the "Indirect" function.

    hth
    Rob
    Rob Brockett
    Kiwi in the UK
    Always learning & the best way to learn is to experience...

  3. #3
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: variable Cell references within formula

    Hi from the 'Naki!

    i.e.
    +a5*INDIRECT(B5&"0cost")
    or
    +a5*INDIRECT(B6&"0cost")

    Does your formula actually start with a "+" or was that a typo? I know it works, but I'm just curious why you'd use it instead of the "="

    cheers

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: variable Cell references within formula

    Ex-Lotus user. It still works in Excel.
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Registered User
    Join Date
    05-18-2009
    Location
    Auckland,NZ
    MS-Off Ver
    O365
    Posts
    14

    Smile Re: variable Cell references within formula

    Many Thanks Guys,

    I had tried Indirect ,
    but obviously not the correct way.

    the + was a typo

    Cheers

    Matthew

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1