Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8886255
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T21:30:50+00:00 2026-06-14T21:30:50+00:00

I have two columns, Start and Finish (both dates), that I would like to

  • 0

I have two columns, Start and Finish (both dates), that I would like to utilize for conditional formatting. To the right of the Start and Finish columns, I have, essentially, a calendar, with each column representing a month (e.g. J for January, F for February, M, A, etc.). In this calendar, I’d like to fill the two cells that indicate the start and finish date. For example, if my Start value was Jan 2013 and my Finish value was March 2013, it would apply the fill to those respective cells.

I have explored the “Conditional Formatting” menu, and I assume I have to use a formula, but I’m not really sure how to implement a formula. Is this the best method? Are there any other ways? Would VB simplify this task?

I assume that I could apply conditional formatting to each cell, something like the following pseudocode:

=IF(startDate is January 2013) then use the formatting defined in this dialog box
=IF(startDate is February 2013) then use the formatting defined in this dialog box

And so on for each date. However, I’m wary of the syntax. Per Tech on the Net, it defines the =IF syntax as follows:

IF( condition, [value_if_true], [value_if_false] )

Clearly, the condition is matching the dates, whereas the value_if_true and value_if_false don’t really make sense to me, because I’m not returning a value, I’m only formatting the cells conditionally.

Thank you!

Update: Here is a picture of the general layout, that is, there is a row for each task, which corresponds to the calendar.

Spreadsheet

Here is the formula I’m trying to use for conditional formatting:

=MONTH($B6)=COLUMNS($D6:AM6)

I think I need to setup my column headers for months differently. Right now, they are just single letters as text for brevity sake, but I’ll enter a date and format the headers properly. Will update with progress.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T21:30:51+00:00Added an answer on June 14, 2026 at 9:30 pm

    Are you saying there’s just a single cell for each month? If so then assuming start date in A2, end date in B2 then 12 month cells in D2:O2 then try this:

    Select D2:O2 and apply this formula in conditional formatting

    =MONTH($A2)=COLUMNS($D2:D2)

    apply required format > OK

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a table that has two datetime columns (one for start time and
I have two columns A and B, and would like to get a list
I have two columns that are joined together on certain criteria, but I would
I have a stored procedure which returns two columns Start and end dates .
I have a table called Sessions with two datetime columns: start and end. For
I have two columns: job_start job_end 2011-11-02 12:20:37.247 2011-11-02 13:35:14.613 How would it be
What I have : A C# database query that returns two columns, one of
I have two columns in my db: start_date and end_date , which are both
I have a .dat file that contains two columns of numbers so it looks
I have a data frame which has two columns of dates in the format

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.