+ Reply to Thread
Results 1 to 7 of 7

CountIf formula - Counting entries by the day of the week

  1. #1
    Registered User
    Join Date
    03-03-2011
    Location
    Toronto
    MS-Off Ver
    Excel 2003
    Posts
    8

    Question CountIf formula - Counting entries by the day of the week

    I currently working on creating a spreadsheet to help track my running. I'm a bit of a stats junkie so I like to break my runs down by day, week and month.

    What I want to do is get a count of the number of times I run on each day.

    In column A I have each day of the month listed and in column C I have the distance that I ran. What is the best way to go about getting the result I'm looking for?

    I've tried using countif and I can't seem to get the results.

    Thanks
    Attached Files Attached Files
    Last edited by IcemanFTW; 03-03-2011 at 01:05 PM.

  2. #2
    Registered User
    Join Date
    01-19-2010
    Location
    Alabama
    MS-Off Ver
    Excel 2003
    Posts
    36

    Re: Formula help

    that wheel may have already been invented

    http://www.vertex42.com/ExcelTemplates/running-log.html

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Formula help

    Welcome to the forum,

    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 on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    PLEASE PM WHEN YOU HAVE DONE THIS AND I WILL DELETE THIS POST
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Registered User
    Join Date
    03-03-2011
    Location
    Toronto
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Formula help

    Quote Originally Posted by BeatBama View Post
    that wheel may have already been invented

    http://www.vertex42.com/ExcelTemplates/running-log.html
    I've looked at that spreadsheet, but it doesn't give me what I'm looking for, which is why I'm trying to create my own running log.

    Thanks though!

  5. #5
    Valued Forum Contributor scottylad2's Avatar
    Join Date
    09-03-2010
    Location
    edinburgh
    MS-Off Ver
    Office 2007 Prof & Office 2010 Student Edition
    Posts
    629

    Re: CountIf formula - Counting entries by the day of the week

    In B35 and drag along
    SUMPRODUCT(--($A2:$A32=B34),--($C2:$C32<>""))
    This will give you a count of runs on each day

    in B36 and drag along
    SUMIF($A2:$A32,B34,$C2:$C32)
    This will give you a sum of the miles for each day
    Windows 7 using Office 2007 & 2010

    Remember your [ code ] [ /code ] tags, makes reading soooo much easier

  6. #6
    Valued Forum Contributor scottylad2's Avatar
    Join Date
    09-03-2010
    Location
    edinburgh
    MS-Off Ver
    Office 2007 Prof & Office 2010 Student Edition
    Posts
    629

    Re: CountIf formula - Counting entries by the day of the week

    Hadn't spotted your instruction from the Forum Moderator, remember to alter your posts title thread

  7. #7
    Registered User
    Join Date
    03-03-2011
    Location
    Toronto
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: CountIf formula - Counting entries by the day of the week

    Quote Originally Posted by scottylad2 View Post
    In B35 and drag along
    SUMPRODUCT(--($A2:$A32=B34),--($C2:$C32<>""))
    This will give you a count of runs on each day

    in B36 and drag along
    SUMIF($A2:$A32,B34,$C2:$C32)
    This will give you a sum of the miles for each day
    Thanks so much!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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