+ Reply to Thread
Results 1 to 6 of 6

To average cells included texts - how to ignore texts in those cells - help please

  1. #1
    Registered User
    Join Date
    11-23-2014
    Location
    Bangkok, Thailand
    MS-Off Ver
    2007
    Posts
    3

    To average cells included texts - how to ignore texts in those cells - help please

    Hi guys - would anyone please help on this? I have attached a question that I am working on.

    Thank you very much.
    Attached Files Attached Files

  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: To average cells included texts - how to ignore texts in those cells - help please

    Hi, welcome to the forum

    TRy this...
    =SUMPRODUCT(--(LEFT(B3:B7,1))/COUNTA(B3:B7))
    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
    Valued Forum Contributor
    Join Date
    11-22-2014
    Location
    Arizona, USA
    MS-Off Ver
    Office 365
    Posts
    973

    Re: To average cells included texts - how to ignore texts in those cells - help please

    FDibbins,

    I did not think of that, simply brilliant - and a Palm in hand moment...

    I was going here...
    =SUM(COUNTIFS($B$3:$B$9,"*1*"),COUNTIFS($B$3:$B$9,"*2*")*2,COUNTIFS($B$3:$B$9,"*3*")*3,COUNTIFS($B$3:$B$9,"*4*")*4,COUNTIFS($B$3:$B$9,"*5*")*5)/SUM(COUNTIFS($B$3:$B$9,"*1*"),COUNTIFS($B$3:$B$9,"*2*"),COUNTIFS($B$3:$B$9,"*3*"),COUNTIFS($B$3:$B$9,"*4*"),COUNTIFS($B$3:$B$9,"*5*"))
    -If you think you are done, Start over - ELeGault

  4. #4
    Registered User
    Join Date
    11-23-2014
    Location
    Bangkok, Thailand
    MS-Off Ver
    2007
    Posts
    3

    Re: To average cells included texts - how to ignore texts in those cells - help please

    Cool. Thank you very much @FDibbins

  5. #5
    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: To average cells included texts - how to ignore texts in those cells - help please

    Happy to help, and thanks for the kind words. If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  6. #6
    Registered User
    Join Date
    11-23-2014
    Location
    Bangkok, Thailand
    MS-Off Ver
    2007
    Posts
    3

    Re: To average cells included texts - how to ignore texts in those cells - help please

    Marked SOLVED as suggested. Thanks FDibbins.

+ 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. Search the text in 3rd cell by using texts in 2 cells
    By Shinaj in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-09-2014, 08:08 AM
  2. Count certain texts in cells and provide percentage overall
    By JaynRW in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-16-2014, 10:01 AM
  3. combine parts of texts from few cells into one
    By Ramzes in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-07-2010, 02:38 AM
  4. Help with merging texts from multiple cells
    By gronnies in forum Excel General
    Replies: 5
    Last Post: 11-13-2009, 03:28 PM
  5. [SOLVED] Using Texts in Cells
    By Duncan in forum Excel General
    Replies: 4
    Last Post: 10-14-2005, 07:05 AM

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