+ Reply to Thread
Results 1 to 11 of 11

Auto-Fill Calendar

Hybrid View

  1. #1
    Registered User
    Join Date
    07-22-2016
    Location
    London, England
    MS-Off Ver
    2016
    Posts
    6

    Auto-Fill Calendar

    http://www.excelforum.com/excel-form...ml#post4439479

    Using the solved request above, I've replicated the calendar but cannot replicate the auto-filling of data (in the case of the above, car names); I'm looking to automatically populate a calendar based on the class I am teaching, in the period I am teaching, and on the day this will happen.

    I've attached the document if any one is able to help.

    Thanks in advance.

    Richard
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,897

    Re: Auto-Fill Calendar

    Try this in L11:

    =INDEX(Schedule!$B$1:$G$233,MATCH('Monthly Overview'!M9,Schedule!A1:$A$233,0),MATCH('Monthly Overview'!J5,Schedule!$B$1:$F$1,0))

    Hopefully it will get you started.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    07-22-2016
    Location
    London, England
    MS-Off Ver
    2016
    Posts
    6

    Re: Auto-Fill Calendar

    Many thanks for this AliGW; I'm quite pleased that the help you provided was simply one formula as it meant I then had to add it to other cells myself, thus learning . One further question:

    Some cells show #N/A due to the 'date (M9 in the previously attached example)' cell not being filled in; is there a way to avoid this?

    Many thanks,
    Richard

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,897

    Re: Auto-Fill Calendar

    Yes, there is:

    =IFERROR(INDEX(Schedule!$B$1:$G$233,MATCH('Monthly Overview'!M9,Schedule!A1:$A$233,0),MATCH('Monthly Overview'!J5,Schedule!$B$1:$F$1,0)),"")

    I am glad you worked it out - yes, you will have learnt from this exercise. It's how I've learnt what I know and it's much more satisfying than getting someone else to do it all for you.

  5. #5
    Registered User
    Join Date
    07-22-2016
    Location
    London, England
    MS-Off Ver
    2016
    Posts
    6

    Re: Auto-Fill Calendar

    Would I enter this formula into the cell instead of the previous formula? I have spent a lot of time recently learning stuff with excel with the hope of making my life slightly easier during the next academic year

    Thanks, again.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,897

    Re: Auto-Fill Calendar

    Yes - you just add this round each formula:

    IFERROR(...),"")

    It traps the error message and returns a blank cell instead.

    Are you a teacher?

  7. #7
    Registered User
    Join Date
    07-22-2016
    Location
    London, England
    MS-Off Ver
    2016
    Posts
    6

    Re: Auto-Fill Calendar

    Would IFERROR work for all formulas if I wanted a blank cell instead of #N/A? I am indeed

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,897

    Re: Auto-Fill Calendar

    Yes, it will work for all formulae.

    I am a teacher if MFL.

  9. #9
    Registered User
    Join Date
    07-22-2016
    Location
    London, England
    MS-Off Ver
    2016
    Posts
    6

    Re: Auto-Fill Calendar

    Brilliant! RE/Philosophy, here

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,897

    Re: Auto-Fill Calendar

    You're welcome! I'm trying not to think about the new school year just yet - as a HoD, I'll be back at work to all intents and purposes from mid-August when results start coming in.

  11. #11
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,897

    Re: Auto-Fill Calendar

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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] How to build auto-fill calendar on Excel?
    By RazedC in forum Excel General
    Replies: 12
    Last Post: 11-04-2019, 06:29 PM
  2. Replies: 3
    Last Post: 07-29-2014, 01:20 PM
  3. [SOLVED] Auto-Fill a Calendar from a List
    By nclaus1018 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-18-2013, 01:28 PM
  4. Calendar VBA auto filling week and month based on calendar entry.
    By perrymagic in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-18-2011, 02:00 PM
  5. Using a userform Calendar to fill in an excel calendar, and also a log
    By 00Able in forum Excel Programming / VBA / Macros
    Replies: 64
    Last Post: 09-08-2011, 08:50 PM
  6. Create Calendar Wit Data Auto Fill using Excel 2000!
    By James Cooper in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-28-2006, 05:20 PM
  7. auto fill calendar
    By sal21 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-25-2005, 04:57 PM

Tags for this Thread

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