Results 1 to 4 of 4

Applying conditional format to INDIRECT referenced cells

Threaded View

  1. #1
    Registered User
    Join Date
    06-02-2014
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    3

    Question Applying conditional format to INDIRECT referenced cells

    Hi folks,

    I have a spreadsheet which has dates in column A, times in column B and a numerical figure in column C.
    I also have helper columns which have a figure for the start and end row for that section of data (see below)

    I need to apply a Color Scale conditional format to the numerical figures across each day, for example:

    DATE | TIME | FIGURE | startRow | endRow
    01/06/2014 | 07:00 | 6 | 2 | 7
    01/06/2014 | 08:00 | 9 | 2 | 7
    01/06/2014 | 10:15 | 1 | 2 | 7
    01/06/2014 | 12:00 | 0 | 2 | 7
    01/06/2014 | 15:00 | 18 | 2 | 7
    01/06/2014 | 19:25 | 19 | 2 | 7
    02/06/2014 | 09:30 | 1 | 8 | 11
    02/06/2014 | 09:40 | 6 | 8 | 11
    02/06/2014 | 10:05 | 2 | 8 | 11
    02/06/2014 | 10:25 | 10 | 8 | 11
    03/06/2014 | 08:00 | 6 | 12 | 12
    04/06/2014 | 09:00 | 42 | 13 | 13

    In the above example I need the format ranging from 6 down to 19 and a new format from 8 down to 10.

    I've created helper columns for the first and last row of each data set but I can't seem to use INDIRECT and the cell data in the "Applies To" section of the conditional format. Any ideas please?

    The formula I'm trying is:

    =INDIRECT("C"&D2):INDIRECT("C"&E2)

    VBA is a possibility as there's already a lot of advanced VBA in the spreadsheet; I was just hoping to save time with a straight forward "apply the format to these cells" via INDIRECT if it's possible?

    Thanks folks.
    Last edited by MiniBlueDragon; 06-02-2014 at 12:19 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 9
    Last Post: 11-20-2013, 09:37 PM
  2. Conditional Format a Referenced Cell
    By nathanB in forum Excel General
    Replies: 3
    Last Post: 11-09-2012, 05:51 AM
  3. INDIRECT in conditional format
    By rhudgins in forum Excel General
    Replies: 6
    Last Post: 08-17-2010, 09:53 AM
  4. Replies: 5
    Last Post: 07-30-2010, 08:12 AM
  5. [SOLVED] Applying number format from referenced cell
    By DBS in forum Excel General
    Replies: 2
    Last Post: 01-05-2006, 10:50 AM

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