+ Reply to Thread
Results 1 to 2 of 2

Average values that contain text characters in cell

  1. #1
    Registered User
    Join Date
    08-27-2009
    Location
    Alton, IL
    MS-Off Ver
    Excel 2003
    Posts
    2

    Average values that contain text characters in cell

    I want the AVERAGE function to be able to include cells which also contain the "<" character.
    At the same time, I want cells containing the "<" character to use 50% of the reference value for purposes of the average calculation. I have attached an example of the output I'm seeking.

    I would like for the solution to be a formula or array I can put into the calcuation cell without the need for dummy cells or off-page conversions or calculations. I can do that, using a single formula is what I'm struggling with.
    Attached Files Attached Files
    Last edited by pauli618; 08-27-2009 at 01:53 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Average values that contain text characters in cell

    One way:

    =AVERAGE(IF(LEFT(B2:B13)="<",MID(B2:B13,2,10)*0.5,B2:B13))

    confirmed with CTRL+SHIFT+EnTER not just ENTER
    Last edited by NBVC; 08-27-2009 at 01:40 PM.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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