+ Reply to Thread
Results 1 to 3 of 3

Formulas within Cell References

  1. #1
    jhockstr
    Guest

    Formulas within Cell References


    Hello All,

    I need to use a number that was calculated from a formula in a cell
    reference. Here is the situation: I have a large spreadsheet that
    changes periodically. I need to count the number of items in that
    spreadsheet(i will use COUNTA - already works) and then take that
    number and use it as a row number in a cell reference like this:

    In cell H1: =COUNTA(A2:A9999)

    Then take that number in cell H1 and insert that into say $J$XXXX where
    XXXX represents the number in cell H1.

    I'm looking to increase the calculation speed of the workbook by only
    calculating cells that I need to.

    Thanks for the help,
    Jason


    --
    jhockstr

  2. #2
    Registered User
    Join Date
    01-28-2004
    Location
    Suffolk, England
    Posts
    4

    Concatenate

    Have you tried the formula

    =Concatenate("$J$",H1)

  3. #3
    BizMark
    Guest

    Re: Formulas within Cell References


    jhockstr,

    You can use the INDIRECT function to do this.

    i.e.

    =INDIRECT("$J$" & H1)
    'returns the cell in Column J and in the row number calculated in H1,
    as a reference.

    e.g. You can work out the SUM of all values entered in Column J with
    =SUM(INDIRECT("$J$1:$J$" & H1))

    Regards,
    BizMark


    --
    BizMark

+ 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