+ Reply to Thread
Results 1 to 4 of 4

Fill Range based on Start/End Date

  1. #1
    Registered User
    Join Date
    11-02-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2003
    Posts
    10

    Fill Range based on Start/End Date

    Hi all,

    I have used the search function of the forum and Google, but weren't able to find a solutions. Currently I am trying to make a planning that looks like a Gant chart. What I am trying to do is: Excel fills a range of cells based on a start and end date. E.g.

    Horizontal D1 to AH1:
    Dates of month are shown, starting 1-jul-2013 till 31-jul-2013

    Vertical A2, B2 and C2:
    A2: Task name (not relevant)
    B2: Start Date
    C2: End Date

    Lets say I fill out a start date (B2) of 02-jul-2013 and an end date (C2) of 14-jul-2013, I want Excel to fill the cells between those dates with a Colour. I understand I should use conditional formatting, but I can't seem to work out the formula I should use.

    Hope an excel expert can point me in the right direction.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Fill Range based on Start/End Date

    Try in CF rules.

    =and(d$1>=$b2,d$1<=$c2)

    Range:$d$1:$ah$1
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    11-02-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Fill Range based on Start/End Date

    Works like a charm. I was thinking way to complex in order to fill the cells.

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Fill Range based on Start/End Date

    ..................

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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