+ Reply to Thread
Results 1 to 8 of 8

Sumif/s maybe! + percentage

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    11-01-2014
    Location
    London, England
    MS-Off Ver
    Mac 2016
    Posts
    108

    Sumif/s maybe! + percentage

    Hi

    I need to do two things in the attached spreadsheet.

    1. On the 'reading' sheet in cell b5 I need to insert the % of kids from column 'A' (PP-FSM) on sheet 'class information' who have achieved the mark 1a, 2c, 2b or 2a (on reading sheet) as a proportion of the total number of children (cell b4).
    2. I need to do the reverse of point 1, i need to show all the children not in column 'A' (PP-FSM) on sheet 'class information'.

    Thanks for any help that you may be able to give.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    11-01-2014
    Location
    London, England
    MS-Off Ver
    Mac 2016
    Posts
    108

    Help!4 - countif specific text from column A appears in column B & convert to a %

    Hi

    I need to do two things in the attached spreadsheet.

    1. In cell b5 'Reading' I need to insert the % of kids from column 'A' 'class information' who have achieved the mark 1a, 2c, 2b & 2a (on reading sheet) as a % of cell b4.

    AND

    2. Same as point 1, but i need to show % of kids not in column 'A' 'class information'.

    Thanks for any help that you may be able to give.
    Attached Files Attached Files

  3. #3
    Valued Forum Contributor
    Join Date
    11-22-2014
    Location
    Arizona, USA
    MS-Off Ver
    Office 365
    Posts
    973

    Re: Help!4 - countif specific text from column A appears in column B & convert to a %

    This what you are going for ?

    Get the sum of anyone that has one of the 4 you listed (21) divided by the count of total found in B4
    =(COUNTIFS(Table1[Mark],"1a",Table1[End of Year 1 Target],"<>"&"")+COUNTIFS(Table1[Mark],"2a",Table1[End of Year 1 Target],"<>"&"")+COUNTIFS(Table1[Mark],"2b",Table1[End of Year 1 Target],"<>"&"")+COUNTIFS(Table1[Mark],"2c",Table1[End of Year 1 Target],"<>"&""))/B4
    And then the inverse is just 1 - the above or even subtract the end result as it would be the inverse
    1-B5

    EDIT - The format of the cells may need to change to Percentage instead of the custom format that you currently have set in B5 and B6 however that may be due to region settings in which case it may work as is for you.
    Last edited by ELeGault; 01-07-2015 at 03:14 AM.
    -If you think you are done, Start over - ELeGault

  4. #4
    Valued Forum Contributor
    Join Date
    02-05-2013
    Location
    Jakarta, Indonesia
    MS-Off Ver
    Excel 2013
    Posts
    571

    Re: Help!4 - countif specific text from column A appears in column B & convert to a %

    May be like this:
    on cell B5
    =SUMPRODUCT(COUNTIFS(Table1[End of Year 1 Target],'Class Information'!A2:A12,Table1[Mark],{"1a","2a","2b","2c"}))/B4
    on cell b6
    =(B4-SUMPRODUCT(COUNTIFS(Table1[End of Year 1 Target],'Class Information'!A2:A12,Table1[Mark],{"1a","2a","2b","2c"})))/31

    Note:
    - as EleGault mention, change your cell format into percentage

    - on cell b6 you can use EleGault formula too
    Last edited by SDCh; 01-07-2015 at 03:23 AM. Reason: add Note
    Click (*) if you received helpful response.

    Regards,
    David

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Help!4 - countif specific text from column A appears in column B & convert to a %

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. As you have replies in both of your threads just for this time, i'll merge your 2 threads.

    Pls take some minutes to read Forum Rules.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  6. #6
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: Sumif/s maybe! + percentage

    In B5 your formula should be:
    =(COUNTA('Class Information'!A:A)-1)/B4
    however I dont understand what you're expecting from point 2? are you looking for a list of kids names? a count etc?
    If someone has helped you then please add to their Reputation

  7. #7
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Sumif/s maybe! + percentage

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)

  8. #8
    Forum Contributor
    Join Date
    11-01-2014
    Location
    London, England
    MS-Off Ver
    Mac 2016
    Posts
    108

    Re: Sumif/s maybe! + percentage

    I can't get either formula to work, neither:-
    =SUMPRODUCT(COUNTIFS(Table1[End of Year 1 Target],'Class Information'!A2:A12,Table1[Mark],{"1a","2a","2b","2c"}))/B4

    =(COUNTIFS(Table1[Mark],"1a",Table1[End of Year 1 Target],"<>"&"")+COUNTIFS(Table1[Mark],"2a",Table1[End of Year 1 Target],"<>"&"")+COUNTIFS(Table1[Mark],"2b",Table1[End of Year 1 Target],"<>"&"")+COUNTIFS(Table1[Mark],"2c",Table1[End of Year 1 Target],"<>"&""))/B4

    This one although useful, only gives me a % of the number of names in column A. Whereas what I need to show in B5 is the % of the names in Column A 'class information' that have achieved either 1a or above.
    =(COUNTA('Class Information'!A:A)-1)/B4

+ 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. Replies: 1
    Last Post: 01-13-2013, 08:39 PM
  2. Replies: 5
    Last Post: 04-07-2011, 10:57 AM
  3. SUMIF for percentage averages?
    By treva26 in forum Excel General
    Replies: 8
    Last Post: 05-04-2010, 11:06 PM
  4. Replies: 2
    Last Post: 01-31-2008, 07:20 PM
  5. Replies: 2
    Last Post: 02-01-2006, 12:50 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