+ Reply to Thread
Results 1 to 5 of 5

concatenate cells to make average function that works

  1. #1
    Registered User
    Join Date
    03-29-2010
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010
    Posts
    70

    concatenate cells to make average function that works

    Does anyone know how to concatenate pieces of a function so that it will actually solve?

    e.g.

    I want to solve
    =average(A3,A4) by piecing together data in this column of cells:

    A1 3
    A2 4
    A3 100
    A4 100

    I've tried the following:

    =average(a&index(a1,1,1),a&index(a2,1,1))

    or

    = concatenate("=average(A",A1,",A",A2,")")

    any suggestions? been stuck on this for a few hours now. Thanks!!
    Last edited by umbata; 07-12-2013 at 01:48 PM.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: concatenate cells to make average function that works

    Probably with an pivot table.

    But without an excel file'(with the desired result), it's hard to show you.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

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

    Re: concatenate cells to make average function that works

    How about:

    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.

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: concatenate cells to make average function that works

    In what way do you want to solve AVERAGE(A3, A4)?
    If posting code please use code tags, see here.

  5. #5
    Registered User
    Join Date
    03-29-2010
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010
    Posts
    70

    Re: concatenate cells to make average function that works

    =AVERAGE(INDEX(A:A,A1,1),INDEX(A:A,A2,1)) this works amazingly! ... thanks ConnecXion Lost

+ 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