+ Reply to Thread
Results 1 to 5 of 5

Formula Result as Cell Reference

  1. #1
    Registered User
    Join Date
    10-01-2009
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    2

    Unhappy Formula Result as Cell Reference

    Hi, I need to use the result of a simple calculation in one cell on Sheet1 (=A1+2) as the row in a cell reference on a different sheet. eg =Sheet2!A"n" where "n" is the result of formula.
    Last edited by The Mint; 10-05-2009 at 03:05 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Formula Result as Cell Reference

    Where cell A1 has that first calculation in it, try this in the next cell:
    =INDIRECT("Sheet2!A" & A1)

    Be careful about falling love with the INDIRECT() function. It comes with a lot of overhead. Every cell you use it in will recalculate every time you change any piece of data anywhere on your sheet. Every time. If you insert 1000s of these INDIRECT() functions into one sheet, you will suffer some performance issues.

    It's fine in controlled amounts.
    Last edited by JBeaucaire; 10-01-2009 at 11:47 AM.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Formula Result as Cell Reference

    You can avoid INDIRECT here with INDEX

    =INDEX(Sheet2!A:A,A1)

  4. #4
    Registered User
    Join Date
    10-01-2009
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    2

    Thumbs up Re: Formula Result as Cell Reference

    Absolutely fantastic!!! Thanks chaps! Works a treat.

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Formula Result as Cell Reference

    If that takes care of your need, be sure to EDIT your original post, click Go Advanced and mark the PREFIX box [SOLVED].


    (Also, use the blue "scales" icon in our posts to leave Reputation Feedback, it is appreciated)

+ 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