+ Reply to Thread
Results 1 to 8 of 8

percentage formula

  1. #1
    Registered User
    Join Date
    08-26-2016
    Location
    Colchester, England
    MS-Off Ver
    MS Office for Mac
    Posts
    4

    percentage formula

    Hi everyone. Many moons ago I was fairly good at excel formulae. Then I had kids, stopped working and now excel will have changed a gazillion times since I last used it properly. I'm after some advice. I would like to have a spreadsheet that will tell me the percentage of a person's attendance at rehearsals over the year. So, ideally, I would mark down each time a person attends a rehearsal, and I would get a percentage of their attendance. Is there anyone out there that can help me with this??

    Thanks in advance

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,615

    Re: percentage formula

    Are you asking about the layout of the worksheet or how to perform the calculation?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: percentage formula

    Bit vague as we dont know the data layout so try baseing something yourself on this.
    Assume Row 2 is a person's data
    Column A is their name
    Column B is percentage attended
    Column C to L (10 columns) is whether they attended, it's either blank (they didnt attend) or X (they did).

    in B2
    =COUNTIF(C2:L2,"X")/10
    format as a percent.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  4. #4
    Registered User
    Join Date
    08-26-2016
    Location
    Colchester, England
    MS-Off Ver
    MS Office for Mac
    Posts
    4

    Re: percentage formula

    Sorry Ali, I should have been more clear. I'm looking for the calculation.

  5. #5
    Registered User
    Join Date
    08-26-2016
    Location
    Colchester, England
    MS-Off Ver
    MS Office for Mac
    Posts
    4

    Re: percentage formula

    Thanks Special-K, I shall give this a go. Apologies for not being more detailed. First time poster!

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,615

    Re: percentage formula

    In that case, it's the number of attendances over the number of rehearsals multiplied by 100:

    =(COUNTIF(C2:Z2,"x")/COUNT(C1:Z1))*100

    where C2 to Z2 contains x whenever the person attended and C1 to Z1 contain the numbers (e.g. 1, 2, 3, etc.) or dates of the rehearsals.

  7. #7
    Registered User
    Join Date
    08-26-2016
    Location
    Colchester, England
    MS-Off Ver
    MS Office for Mac
    Posts
    4

    Re: percentage formula

    Special-K, thank you, this works to a certain extent. I have 52 dates in a year. As the dates pass, I want to record whether someone has attended the rehearsal to date so I will put an 'X' in that column. However, the percentage using this formula is taking into account all 52 dates, when some of these dates haven't happened yet. I need to record the %age based on the dates that have happened, so if a date in the future is blank, then this will affect the total percentage. Does this make sense? Will I need to edit the formula each week?

    Thanks,
    Anne

  8. #8
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: percentage formula

    Post some sample data and tell us what result you expect.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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. Percentage formula
    By robrobet in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-01-2016, 05:05 PM
  2. [SOLVED] Formula for percentage Increase and corresponding percentage decrease (and viceversa)
    By jcroque89 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-06-2015, 10:25 AM
  3. [SOLVED] Percentage Formula VBA
    By puuts in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-29-2013, 06:00 AM
  4. Replies: 1
    Last Post: 01-13-2013, 08:39 PM
  5. Percentage formula
    By jcutler0902 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-20-2009, 08:58 PM
  6. Percentage formula
    By ukphoenix in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-07-2009, 02:41 PM
  7. 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