+ Reply to Thread
Results 1 to 6 of 6

Finding Averages in Cells with Text and Number

  1. #1
    Registered User
    Join Date
    01-21-2015
    Location
    Chicago
    MS-Off Ver
    2007
    Posts
    5

    Question Finding Averages in Cells with Text and Number

    Morning folks.

    I am trying to find the average value of heights for a plant database I have.

    HEIGHT
    Min-Max (Typical)
    1-2.5' (2')
    1-2' (2')
    1-2.5' (2')
    1-3' (2')
    2.5-4' (3')
    1-2.5' (2')
    2.5-3.5' (3')
    2-3' (3')

    I15:I22

    I want to be able to calculate the typical/average height of those species.

  2. #2
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    365 Version 2409
    Posts
    2,789

    Re: Finding Averages in Cells with Text and Number

    Here's a possibility.



    If your original request is fulfilled please click the Thread Tools drop down box above your first post and choose solved.


    If you are happy with my help, please consider clicking the add reputation button in the lower left hand corner of this post.
    Attached Files Attached Files

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Finding Averages in Cells with Text and Number

    An alternative Using the same layout as skywriter...:

    =AVERAGE(--LEFT(MID(A3:A10,FIND("(",A3:A10)+1,255),FIND(")",MID(A3:A10,FIND("(",A3:A10)+1,255))-2))

    This is an Array Formula. They're a little different from ordinary formulas in that they MUST be confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER.

    You will know the array is active when you see curly braces { } appear around the outside of your formula. If you do not CTRL+SHIFT+ENTER you will get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly braces yourself - it won't work...
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Finding Averages in Cells with Text and Number

    I notice that you have marked this as solved. As a matter of interest, which one did you use?

  5. #5
    Registered User
    Join Date
    01-21-2015
    Location
    Chicago
    MS-Off Ver
    2007
    Posts
    5

    Re: Finding Averages in Cells with Text and Number

    Thanks guys. Both ways worked.

    :edit: Sorry didn't send this response. Both ways works.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Finding Averages in Cells with Text and Number

    Glad to have helped! It'd be appreciated if you were to click the add Reputation button at the foot of any of the posts of those who helped you reach a solution.

+ 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. Sumproduct for finding averages
    By ammartino44 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-17-2013, 08:05 PM
  2. Finding & using row number to calculate averages
    By magnus.blomquist in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-05-2013, 06:27 AM
  3. finding a specific text and average the number of data of that text
    By bravo8939 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-09-2013, 10:16 PM
  4. Finding averages
    By globetrotter532 in forum Excel General
    Replies: 18
    Last Post: 12-09-2010, 05:45 PM
  5. Finding Averages between various dates
    By Horia in forum Excel General
    Replies: 6
    Last Post: 07-19-2010, 04:57 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