+ Reply to Thread
Results 1 to 5 of 5

Average with Percentage in Different Cells and IF

  1. #1
    Forum Contributor
    Join Date
    05-17-2012
    Location
    Lisbon
    MS-Off Ver
    Excel 2016 for MAC
    Posts
    117

    Average with Percentage in Different Cells and IF

    Dear All,

    I'm facing a problem doing the average of the percentages in columns A to J at the Cell A42 as well as with the IF a value is more than 21% but no more than 49% the true vale is 2 and if =>50% but less than 69% the true value is 3

    The problems I'm facing are in Cells: A42, L3 and L42

    Can you help?

    Kind Regards

    Fausto
    Alexandre School Rates.xlsx
    Fausto Cruz

  2. #2
    Valued Forum Contributor
    Join Date
    10-13-2010
    Location
    Sunderland, England
    MS-Off Ver
    Excel 2007 (Home) / 2003 (Work)
    Posts
    740

    Re: Average with Percentage in Different Cells and IF

    =AVERAGEIF(A3:A39,"<>"&0,A3:A39)

    As for the second issue, you could change your table in col X:Y to only show the minimum values, i.e.
    0% 1
    21% 2
    50% 3
    70% 4
    90% 5

    Then use the formula
    =INDEX(X:Y,MATCH(A42,X:X,1),2)

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,319

    Re: Average with Percentage in Different Cells and IF

    IF Statement


    =IF(A3<20%,1,IF(A3<49%,2,IF(A3<69%,3,IF(A3<89%,4,5))))

    For AVERAGE use

    =AVERAGEIF(L3:L39,"<>0",L3:L39)

  4. #4
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Average with Percentage in Different Cells and IF

    Change the formula in L3 to

    =IF(A3<20%,1,IF(A3<49%,2,IF(A3<69%,3,IF(A3<89%,4,5))))

    For A42 and L42 use the first formula in brokenbiscuits' reply.

    If you need it to work with older versions of excel (2003 or older) then keep your existing formula in A42 and L42, but select the cell, press f2, then hold down Shift & Ctrl, and press Enter to confirm it as an array.
    You need to do this for each formula.

  5. #5
    Forum Contributor
    Join Date
    05-17-2012
    Location
    Lisbon
    MS-Off Ver
    Excel 2016 for MAC
    Posts
    117

    Re: Average with Percentage in Different Cells and IF

    I thank you all very much, it is solved.

    Kind regards

    fausto

+ 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. Calculate average percentage for specific selected cells
    By me1992 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-04-2013, 03:54 PM
  2. Replies: 1
    Last Post: 01-13-2013, 08:39 PM
  3. Average for percentage.
    By AndrewSE in forum Excel General
    Replies: 7
    Last Post: 03-09-2011, 12:49 PM
  4. average/percentage
    By chely69 in forum Excel General
    Replies: 2
    Last Post: 07-22-2009, 02:41 PM
  5. calculating average from a percentage of cells in a column
    By mcphie13 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-01-2009, 02:51 PM
  6. Mean Average of a Percentage
    By bwfc0907 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-14-2008, 04:18 PM
  7. [SOLVED] Average Percentage help please
    By kyleuk via OfficeKB.com in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 10-31-2005, 02:06 PM
  8. [SOLVED] Average MTD percentage
    By Mike Punko in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 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