+ Reply to Thread
Results 1 to 5 of 5

Calculating Differences between dates for a Waiting List Calculation

  1. #1
    Registered User
    Join Date
    12-27-2013
    Location
    Bournemouth, England
    MS-Off Ver
    Excel 2010
    Posts
    8

    Calculating Differences between dates for a Waiting List Calculation

    Hi All,

    I'm trying to work out a formula that shows how long a person has been waiting for an appointment. Essentially I'd like column c to be a "live counter" based upon today's date, ignoring any appointments that are not attended in columns e/h/k and only 'stopping' once a person has an attended appointment be it their 1st/2nd/3rd appointment that is attended. I'm close(ish), but I just don't seem to be able to quite get it sorted.

    Any help would be gratefully appreciated. I hope I've explained myself but if not please do ask

    Demo waiting times.xlsx

    Rich

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Calculating Differences between dates for a Waiting List Calculation

    Try changing C2 to
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and copy down...

    Does that do what you want?
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Forum Contributor
    Join Date
    01-22-2014
    Location
    genoa, italy
    MS-Off Ver
    Excel 2007
    Posts
    134

    Re: Calculating Differences between dates for a Waiting List Calculation

    hi,
    how many days should appear in C2 ?
    AL

  4. #4
    Registered User
    Join Date
    12-27-2013
    Location
    Bournemouth, England
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Calculating Differences between dates for a Waiting List Calculation

    Quote Originally Posted by OllyXLS View Post
    Try changing C2 to
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and copy down...

    Does that do what you want?
    That's spot on - thanks for your help!

  5. #5
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Calculating Differences between dates for a Waiting List Calculation

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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. Calculating time differences over different dates
    By AndyE in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-04-2010, 01:26 PM
  2. Replies: 1
    Last Post: 05-11-2006, 05:22 AM
  3. Calculating differences in dates
    By Paul Sheppard in forum Excel General
    Replies: 5
    Last Post: 06-30-2005, 09:05 AM
  4. calculating time/dates differences
    By fvglassman in forum Excel General
    Replies: 3
    Last Post: 06-22-2005, 07:05 PM
  5. [SOLVED] Calculating differences between dates
    By ALISONHELP in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-06-2005, 06:06 AM

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