+ Reply to Thread
Results 1 to 5 of 5

Extract first and last time of daily sales

  1. #1
    Valued Forum Contributor sans's Avatar
    Join Date
    10-19-2011
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    550

    Extract first and last time of daily sales

    Hello,

    I have a list of sales by day/date and would like to extract the first and last time of the daily sales as in the attachment. I have tried using a formula but I haven't managed to get to the desired results.

    Thank you for looking
    Attached Files Attached Files

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

    Re: Extract first and last time of daily sales

    Your spreadsheet is a bit of a mess
    Your dates and times in column A and B are text (they have leading spaces)
    But your dates in H6:K6 are numbers

    Use the attached file
    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.

  3. #3
    Valued Forum Contributor sans's Avatar
    Join Date
    10-19-2011
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    550

    Re: Extract first and last time of daily sales

    Yes, it was a bit of a mess Thanks!

  4. #4
    Valued Forum Contributor sans's Avatar
    Join Date
    10-19-2011
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    550

    Re: Extract first and last time of daily sales

    The formula works great but I have just encountered a slight problem. Usually, sales usually start at noon/afternoon and continue up to 11:00 pm at night. Sometimes though, a day's sales might start at i.e. 15:00 at noon and where the last sale might take place a few hours after midnight i.e. at 01:00am the following day. For example,

    First Sale:
    9/9/2012
    15:00 pm

    Last Sale:
    01:00 am
    (10/9/2012)

    Would it be possible in this case for the formula to return the 01:00am time as the last sale of day 9/9/2012, even though the sale was actually made on the 10/9/2012?

    Thank you
    Attached Files Attached Files

  5. #5
    Valued Forum Contributor sans's Avatar
    Join Date
    10-19-2011
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    550

    Re: Extract first and last time of daily sales

    If anyone is aware how to solve the above please let me know. Thanks.

+ 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