+ Reply to Thread
Results 1 to 7 of 7

Variable Cell Address

  1. #1
    Registered User
    Join Date
    08-21-2012
    Location
    Iowa, USA
    MS-Off Ver
    Excel 2013
    Posts
    75

    Variable Cell Address

    Im pretty sure Ive done this before but for the life of me I cant remember how...

    I basically need somthing that allows me to do this: C (4+variable)

    Im using it in a sum function sum(M8:M + (8+(countif function)))

    The countif is delivering me a number from a different column telling me how far down my table I need added.

    Thanks.

  2. #2
    Registered User
    Join Date
    04-17-2013
    Location
    Portugal
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: Variable Cell Address

    Try to put some attachment file. It is more easy.
    Thank You

  3. #3
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Variable Cell Address

    Try

    =SUM(M8:INDEX(M:M,8+COUNTIF(..)))

    Or

    =SUM(OFFSET(M8,0,0,COUNTIF(...),1))

  4. #4
    Registered User
    Join Date
    08-21-2012
    Location
    Iowa, USA
    MS-Off Ver
    Excel 2013
    Posts
    75

    Re: Variable Cell Address

    Ill put somthing together, but I think it all comes down to finding a way to do a cell reference of instead of C4 more like C(4+1)

    if I can do that then I can probably substitute in what I need I just dont know how to break down the cell reference so I can have that addition in it

  5. #5
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Variable Cell Address

    Another way:

    Please Login or Register  to view this content.
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  6. #6
    Registered User
    Join Date
    08-21-2012
    Location
    Iowa, USA
    MS-Off Ver
    Excel 2013
    Posts
    75

    Re: Variable Cell Address

    That works jonmo Thank you

  7. #7
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Variable Cell Address

    Great, glad to help

+ 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