+ Reply to Thread
Results 1 to 6 of 6

Cells carrying over data in perpetual booking calendar month by month

  1. #1
    Registered User
    Join Date
    12-16-2015
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    3

    Cells carrying over data in perpetual booking calendar month by month

    I have tried to put together a Room Booking spreadsheet, however when I write a name etc. into a cell within the booking area it will stay in the same cell when I change the month. (file attached) I would like it to come up with a fresh month each time. How could I do this?
    Cheers
    Attached Files Attached Files

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Cells carrying over data in perpetual booking calendar month by month

    It requires a macro. When you say "fresh month" do you mean you want everything to be blank? Here is a solution that does that.

    When the workbook is first opened, it records the current month (B3) in a variable. Then whenever the sheet recalculates, it compares the current value to the prior value. If it has changed, it wipes the month clean. (The Worksheet_Change event does not detect a change to a cell linked to a dropdown list control.)
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    12-16-2015
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    3

    Re: Cells carrying over data in perpetual booking calendar month by month

    Hi Jeff,
    thanks for working on this issue, however when I input information into month X, then skip forward and input info into month Y, once I skip back to month X all the information is cleared. Is there a way to retain the information for the years bookings?
    cheers

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Cells carrying over data in perpetual booking calendar month by month

    Sorry, I am misunderstanding what you want. What does this mean? What exactly do you want to happen when you change the month?
    Quote Originally Posted by Computersaysno View Post
    I would like it to come up with a fresh month each time.

  5. #5
    Registered User
    Join Date
    12-16-2015
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    3

    Re: Cells carrying over data in perpetual booking calendar month by month

    when I put bookings into January and leave to put a booking into March that that when I return to January the booking will still be there. The current fix does not give me that ability. (fresh month moving forward but retain info when moving back)

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Cells carrying over data in perpetual booking calendar month by month

    Maybe you should have a separate bookings sheet, on which you can record (in any order) the date, time and Name for the booking(s) - you could have a helper column to join this data together, and there would need to be some alert feature to ensure that a particular time slot is not being double-booked. Then the information could easily be displayed on the Education Room sheet by means of an INDEX/MATCH/MATCH formula.

    Can you provide some examples of the types of bookings that you would want to see logged, then I can take a look at it tomorrow (as it is getting late here).

    Hope this helps.

    Pete

+ 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] Return a Month When Dates Cross over Calendar Month
    By Alewis2122 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-06-2016, 12:54 PM
  2. [SOLVED] Formula to return End OF Month date with non-calendar month lengths.
    By Snoddas in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 05-09-2014, 08:45 AM
  3. [SOLVED] Perpetual 3 Month Calendar, formulas only.
    By antmoreton in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-16-2013, 11:14 AM
  4. [SOLVED] Auto populate cells from data in a 6 month range starting with the current month
    By ecarnley349 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-21-2012, 07:32 PM
  5. [SOLVED] Calendar Formula 1st Day of Month, 2nd Wed, Last Day of Month
    By Wskip49 in forum Excel General
    Replies: 6
    Last Post: 06-30-2012, 10:01 PM
  6. [SOLVED] Formula to Relist Ranges by Month Opening instead of Calendar Month
    By investmentbanker in forum Excel General
    Replies: 3
    Last Post: 05-18-2012, 01:33 PM
  7. Accounting Month vs. Calendar Month
    By JN in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-31-2005, 05:06 PM

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