+ Reply to Thread
Results 1 to 5 of 5

Calendar fills cells automatically

  1. #1
    Forum Contributor
    Join Date
    06-26-2014
    Location
    Houston
    MS-Off Ver
    365
    Posts
    196

    Calendar fills cells automatically

    Got a good one. I have a workbook which is basically a bank ledger. One tab for each month. It is just a table recording daily cash receipts and cash payments, with a running balance. The last tab is a set of mini calendars, which I would like each day to fill a color if there is an entry on that date/day in the corresponding month's tab. There should be at least one entry every day except Mondays and Wednesdays. Also, the Transaction column would need to say "Contribution" for that transaction type in order to qualify to fill a color. You will see the July tab has 29 entries on the left hand table (this is the only table that needs to have the entry, ignore the right hand table). Given the entries, the July mini calendar on the Calendar tab should have the dates/days shaded for any corresponding entry on the table. I am basically just trying to make an easy visual to see what days I have not recorded the "Contribution" transaction. So ultimately at the end of the month, every day except Mondays and Wednesdays should end up being shaded as long as I have recorded a "Contribution" transaction for the day. In this example, I am missing Thursday the 4th, Thursday the 11th, and Friday the 19th "Contribution" transactions. So along with all Mondays and Wednesdays, those three days should not be filled, but all others should. I hope that makes any sense. Please let me know if I can better explain.

    Thanks!
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    10-26-2018
    Location
    India
    MS-Off Ver
    Office 365
    Posts
    10

    Re: Calendar fills cells automatically

    Do you wish to have a macro for this / or expecting some kind of formula to do this? I think I can build a small macro to suffice your requirement.

  3. #3
    Forum Contributor
    Join Date
    06-26-2014
    Location
    Houston
    MS-Off Ver
    365
    Posts
    196
    Quote Originally Posted by nikhild64 View Post
    Do you wish to have a macro for this / or expecting some kind of formula to do this? I think I can build a small macro to suffice your requirement.
    I guess what I was hoping was when I add an entry to the table and label the transaction as contribution, that the day on the mini calendar automatically fills. I'm not sure if it's vba or formulas that could make that work. I'm assuming both could work, but I can't figure out how.

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,072

    Re: Calendar fills cells automatically

    You can do that with conditional formatting
    Select B3:H7, in CF New rule > Use a formula & use
    =ISNUMBER(MATCH(DATE("2019",MONTH($B$1&1),B3)&"Contribution",INDEX('July 2019'!$B$4:$B$100&'July 2019'!$D$4:$D$100,0),0))

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,072

    Re: Calendar fills cells automatically

    For reference here's your workbook with the Cf set for both July & August
    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] Change All Conditional Format Fills for Days in Calendar Months
    By xjohnson in forum Excel General
    Replies: 3
    Last Post: 11-19-2018, 10:25 AM
  2. [SOLVED] Button that automatically fills row?
    By Battletoads in forum Excel General
    Replies: 1
    Last Post: 04-17-2018, 09:47 AM
  3. Replies: 4
    Last Post: 06-14-2016, 10:26 AM
  4. 1 independent variable and making a chart which fills automatically
    By red-eye-rob in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 07-25-2014, 11:24 AM
  5. [SOLVED] I need a formula that automatically fills a status column when 3 cells say "approved"
    By SMM545 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-23-2013, 12:06 PM
  6. How to Create a Time Sheet that Fills Out Dates Automatically
    By qualityoflife in forum Excel General
    Replies: 2
    Last Post: 12-10-2010, 06:57 AM
  7. one calendar fills data to different textboxes
    By NonSira in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-18-2010, 12:15 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