+ Reply to Thread
Results 1 to 8 of 8

getting the average of only some columns

  1. #1
    Registered User
    Join Date
    12-30-2013
    Location
    ny, ny
    MS-Off Ver
    Excel 2011 for mac
    Posts
    18

    getting the average of only some columns

    I need help showing the average of only some columns on my sheet.
    I have 3 kinds of columns. Each column either has text, "x", "y" or "z" in their first cell.

    Can you tell me how to call all of the averages of all of the columns that have "x" in their header cell? (averages are sitting at the bottom of ea. column)

    Thank you!

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: getting the average of only some columns

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    12-30-2013
    Location
    ny, ny
    MS-Off Ver
    Excel 2011 for mac
    Posts
    18

    Re: getting the average of only some columns

    Hi Ford, I did close out TMSchucks, but the solution you provided me re: the above is not clear to me. I saw only 4 pics but no sample workbook when I went to GoAdvanced. Did I do something wrong? Please advise and thx

  4. #4
    Registered User
    Join Date
    12-30-2013
    Location
    ny, ny
    MS-Off Ver
    Excel 2011 for mac
    Posts
    18

    Re: getting the average of only some columns

    Sorry Ford, I see you want a sample from me.. I will upload, thx

  5. #5
    Registered User
    Join Date
    12-30-2013
    Location
    ny, ny
    MS-Off Ver
    Excel 2011 for mac
    Posts
    18

    Re: getting the average of only some columns

    Attached is an sample workbook and a screen shot.
    Hope its clear, I wrote a note on the file that explains what I need help with
    thx
    Attached Images Attached Images
    Attached Files Attached Files

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: getting the average of only some columns

    Try this...
    =AVERAGEIF($F$2:$P$2,LEFT(AH7,3)&"*",$F$22:$P$22)

  7. #7
    Registered User
    Join Date
    12-30-2013
    Location
    ny, ny
    MS-Off Ver
    Excel 2011 for mac
    Posts
    18

    Re: getting the average of only some columns

    Thank you!

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: getting the average of only some columns

    happy to help. Thanks for the feedback and kind words, always appreciated

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Average of different columns
    By TallOne in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-13-2013, 04:09 PM
  2. Average of different columns
    By TallOne in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-12-2013, 10:01 AM
  3. Average across columns
    By FindAnswers in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-21-2012, 12:20 PM
  4. Average of last 3 columns
    By Joanne R. in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-03-2006, 05:25 PM
  5. Average of last 3 columns
    By CRIMP in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-18-2005, 03:01 PM

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