+ Reply to Thread
Results 1 to 2 of 2

Conditional Formatting with a a formula - I've hit a brick wall with this one

Hybrid View

  1. #1
    Registered User
    Join Date
    10-07-2018
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    12

    Conditional Formatting with a a formula - I've hit a brick wall with this one

    Hey all. I've spent most of my working day trying to resolve this issue. I'd really appreciate some help.


    I've made an events timetable for a venue with 15 minute time slots in columns along the top. What I want to do is input the start time of an event into a cell and the end time into a cell - causing the relevant cells below the 15 minute time slots to colorize accordingly i.e. if an event starts at 12 and finishes at 4, I want the cells on the row containing the event name to colorize where those cells are within the column that is headed by one of the 15 minute time slots.

    I've been doing this with conditional formatting: =AND(L$2>=$J4,L$2<=$K4) but I'm having an issue. If an event starts at 12 and finishes at 6, I want the cell within the column headed by 12:00 to colorize, and the cell within the column headed by 17:45 to colorize as well as all the cells in between. But what's happening is *sometimes* the cell within the column headed by 11:45 colorize as does the one headed by 18:00. But this only happens with some events despite them all having the same formula (NB: a column headed by 17:45 denotes the time of 17:45 up to and including 18:00. Where the cell within the column headed by 18:00 colorizes, it looks like the event carries on to 18:15. It seems to be particularly happening the most for events that run on after 4pm.

    Really need help with this!

  2. #2
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Conditional Formatting with a a formula - I've hit a brick wall with this one

    Try removing the last = from your rule formula so that it reads as
    Formula: copy to clipboard
    =AND(L$2>=$J4,L$2<$K4)

+ 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] What is the Red Brick connection string?
    By VAer in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 09-22-2017, 07:54 AM
  2. Replies: 3
    Last Post: 06-19-2015, 07:16 AM
  3. Formatting Cells with Date or Text Values in a Conditional Formatting Formula
    By Phil Hageman in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-15-2014, 09:36 AM
  4. [SOLVED] Catalogue/Directory Mail Merge to email = Hitting a brick Wall! Help, Please...!
    By RossInk in forum Word Formatting & General
    Replies: 11
    Last Post: 06-03-2014, 08:11 PM
  5. Formula to calculate sheets of wall board
    By bugs183 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-19-2012, 06:45 PM
  6. [SOLVED] Head against a brick wall !!
    By WhytheQ in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-21-2006, 08:10 AM
  7. [SOLVED] How do I do a complex conditional in a conditional formatting formula
    By Ray Stevens in forum Excel General
    Replies: 6
    Last Post: 03-12-2006, 06:30 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