Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

An Excel formula that will...

Options
  • 06-11-2013 11:16am
    #1
    Registered Users Posts: 9,847 ✭✭✭


    (I hope this is the right place to ask this question?)

    ...calculate percentage completion.

    For example, I am keeping a record of class exercises students have completed. There are about 25 in total. So under headings like Ex1, Ex2 etc I have the word 'Done' if they are completed and just left the others blank.

    Now I know how to do a countblank or a countif but I need a formula that would display something along the lines of Student A has 85% of exercises completed based on reading all the 'Dones' against the total number of cells?

    That make sense? :confused:

    Edit: I could do a countif to count the 'dones' and a countblank to count to empty cells and calculate it that way?


Comments

  • Registered Users Posts: 2,699 ✭✭✭advertsfox




  • Registered Users Posts: 9,605 ✭✭✭gctest50


    I think it will count cells that have a "space" in then as non-empty - copy the list somewhere through TRIM etc and then count them ?


  • Registered Users Posts: 3,495 ✭✭✭Lu Tze


    py2006 wrote: »
    (I hope this is the right place to ask this question?)

    ...calculate percentage completion.

    For example, I am keeping a record of class exercises students have completed. There are about 25 in total. So under headings like Ex1, Ex2 etc I have the word 'Done' if they are completed and just left the others blank.

    Now I know how to do a countblank or a countif but I need a formula that would display something along the lines of Student A has 85% of exercises completed based on reading all the 'Dones' against the total number of cells?

    That make sense? :confused:

    Edit: I could do a countif to count the 'dones' and a countblank to count to empty cells and calculate it that way?

    Look up the concatenate function for this part, like the following

    =CONCATENATE(B1," has ",C1, "% of exercises completed")

    Where B1 is referencing a cell with the students name, and C1 their percent complete giving you something like this as a result

    John Stewart has 85% of exercises completed


  • Registered Users Posts: 3,746 ✭✭✭dmc17


    If there's 25 exercises in total, why not just use the countif to count how many the student has done and then divide by 25 and format as a percentage.


  • Registered Users Posts: 1,426 ✭✭✭Neon_Lights


    It may sound simple but equal the excerises completed to 0.04 if theres 25, or replace each value you have been using with 0.04, then SUM the rows up for each student. Then in the total column for each students format as percent.

    If you wanted to get really fancy do a lookup, well its not that fancy, but you're best of keeping it simple.


  • Advertisement
  • Registered Users Posts: 9,847 ✭✭✭py2006


    Thanks guys, I am trying to get my head around it.

    I seem to be confused with even basic maths now too :eek:


  • Registered Users Posts: 1,146 ✭✭✭PaddyFagan


    Given the blanks indicate not done the COUNTBLANK function might be easier - my example for 4 columns:
    =1-COUNTBLANK(B2:E2)/4

    Then format the column as a percentage - presto!

    Paddy


Advertisement