+ Reply to Thread
Results 1 to 10 of 10

Plotting time vs. day of the week

  1. #1
    Registered User
    Join Date
    06-11-2009
    Location
    Texas
    MS-Off Ver
    Excel 2007
    Posts
    8

    Plotting time vs. day of the week

    I have dates in a column and the amount of time in a room in another column can some one tell me how to get this into a graph. vertical axis will be the median time in the room and the horizontal axis will be the day of the week,(monday, tuesday etc).
    Last edited by texknight; 06-11-2009 at 05:19 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Day of week

    Welcome to the forum.

    =text(a1, "dddd")
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    06-11-2009
    Location
    Texas
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Plotting time vs. day of the week

    I already have the dates converted to day of the week in that column just by using the format cell. Now I'd like to figure out how to calculate each row that has Monday tues, wed etc, and give me the Median time of each day of the week that is in a different column.
    Thanks for the welcome!

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Plotting time vs. day of the week

    Post an example and explain in context.

  5. #5
    Registered User
    Join Date
    06-11-2009
    Location
    Texas
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Plotting time vs. day of the week

    PROCdat ROOMTIME
    Tuesday 0:59
    Tuesday 0:55
    Saturday 1:14
    Friday 0:43
    Wednesd 0:26
    Thursday 2:58
    Sunday 0:57
    Monday 1:41
    Friday 1:00
    Sunday 0:34
    Wednesd 0:50
    Thursday 0:52
    Monday 1:29
    Wednesd 0:52
    Friday 2:07
    Friday 1:01
    Friday 1:12
    Sunday 1:29
    Thursday 0:42


    So now
    Day of week Median time
    Monday XX:XX
    Tuesday XX:XX
    Wednesday XX:XX
    Etc....
    Does that help?
    Thanks again.

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Plotting time vs. day of the week

    Umm -- how about an example workbook

  7. #7
    Registered User
    Join Date
    06-11-2009
    Location
    Texas
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Plotting time vs. day of the week

    Ah ha didn't see that at the bottom... here ya go.
    Attached Files Attached Files

  8. #8
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Plotting time vs. day of the week

    Please Login or Register  to view this content.
    The array formula in F2 and copied down is =MEDIAN(IF(WEEKDAY($A$2:$A$20)=D2, $B$2:$B$20))

    It MUST be confirmed with Ctrl+Shift+Enter, not Enter

  9. #9
    Registered User
    Join Date
    06-11-2009
    Location
    Texas
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Plotting time vs. day of the week

    This has been frustrating me for at least a week. That is exactly what I wanted it to look like. Thanks for helping out!

  10. #10
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Plotting time vs. day of the week

    You're welcome. Would you please mark the thread as Solved?

+ 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