+ Reply to Thread
Results 1 to 3 of 3

Conditional formatting: planning bars

  1. #1
    Registered User
    Join Date
    06-05-2012
    Location
    Bern, Switzerland
    MS-Off Ver
    Excel 2003
    Posts
    62

    Conditional formatting: planning bars

    Hi,

    I'm trying to implement conditional formatting, which draws bars of a certain length if an activity is planned (see attachement). Every row is an activity with a given duration. The duration (corresponding to the bar length) is written in a column. Conditional formatting should paint a bar at the locations, where numbers bigger than zero are plugged in.

    Any suggestions?

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Conditional formatting: planning bars

    For your second table, I used this Conditional Formatting formula

    =OR(A26>0,IFERROR(SUM(OFFSET(A26,0,-$W26+1,1,$W26))>0,0))
    Does that work for you?

    ---------- Post added at 11:05 AM ---------- Previous post was at 11:01 AM ----------

    Oops, just noticed you're on 2003, You can't use IFERROR
    BACK TO DRAWING BOARD
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Conditional formatting: planning bars

    Try this one.

    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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