+ Reply to Thread
Results 1 to 6 of 6

Formula for finding within range of dates

  1. #1
    Registered User
    Join Date
    08-30-2016
    Location
    Delhi
    MS-Off Ver
    2010
    Posts
    9

    Formula for finding within range of dates

    Hello
    I have a sheet with alot of information regarding guest hotel.
    The important for me now is :
    Column A is checking day
    Column B is the checkout day
    And column c ....all the guest information.


    Thers is some guests that stay 2 nights and there is another guests that stay 40 nights.

    I want to put on a specific cell range of dates for example 01/09 and 05/09 .
    And the return answer will be all the lines with the information of all the guest that stay at the hotel within these days.
    All the lines that within the checkin date and checkout day.
    All the guest that stay in the hotel at the 01/09, 02,09, 03/09, 04/09 and 05/09.

    Any suggestions?

    Thanks
    Shark Man
    Last edited by sharky123; 09-03-2016 at 06:16 AM.

  2. #2
    Registered User
    Join Date
    08-30-2016
    Location
    Delhi
    MS-Off Ver
    2010
    Posts
    9
    Hello Experts

    I want to be more clear.
    I want that the return information will be guest that stay in the hotel withing one of the day range
    for example if the input date is 01/09 till 05/09 :
    Guest that stay from 03/09 till 03/10 will be there
    Guest that stay from 01/08 till 01/09 will be there
    Guest that stay from 06/08 till 06/10 will be there
    Guest that stay from 30/08 till 31/08 will not be there

    Thanks, i hope it's clear

    Shark man
    Last edited by sharky123; 08-31-2016 at 11:17 AM.

  3. #3
    Registered User
    Join Date
    08-30-2016
    Location
    Delhi
    MS-Off Ver
    2010
    Posts
    9

    Re: Formula for finding within range of dates

    Experts

    Please help, the guest will run away from the hotel

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,990

    Re: Formula for finding within range of dates

    Without seeing the way your spreadsheet is laid out it is pretty hard to come up with a solution. This solution will work for the layout attached. The array entered formula* that finds guests that stayed at the hotel during the dates indicated is:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    To upload a sample spreadsheet with your layout click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Let me know if you have any questions
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Registered User
    Join Date
    08-30-2016
    Location
    Delhi
    MS-Off Ver
    2010
    Posts
    9

    Re: Formula for finding within range of dates

    Hello to you

    Thank you very much its awesome.

    Please find attached example of my excel sheet

    Obviously i have a lot of information in the table relating to the guest or group of guests

    Is it possible to create something like pivot table or automatically new sheet table with the relevant information according the
    range date category ?

    Thanks a lot

    Shark Man
    Attached Files Attached Files

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,990

    Re: Formula for finding within range of dates

    Here is an example of how a table could be set up on a separate sheet using a variation of the array entered formula in post #4.
    Let me know if you have any questions.
    Attached Files Attached Files

+ 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. [SOLVED] Formula not finding start and end dates for subsequent months in range
    By Ochimus in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-28-2015, 02:07 PM
  2. Replies: 9
    Last Post: 02-11-2015, 05:47 PM
  3. Finding Dates in a range
    By Cullen8 in forum Excel General
    Replies: 5
    Last Post: 07-31-2008, 04:10 PM
  4. finding a range of dates to total
    By Danbmarine in forum Excel General
    Replies: 4
    Last Post: 01-27-2006, 05:35 PM
  5. [SOLVED] Finding Dates in a date range
    By Marcus in forum Excel General
    Replies: 1
    Last Post: 04-04-2005, 09:06 PM
  6. finding range of dates
    By pikapika13 in forum Excel General
    Replies: 1
    Last Post: 03-04-2005, 07:01 PM
  7. Finding Data in a Range of Dates
    By JMcClung in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-26-2005, 10:48 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