Results 1 to 4 of 4

Thread: Excel help (Conditional Formatting)

  1. #1
    Senior Member Workaholic's Avatar
    Join Date
    Oct 2004
    Location
    Manchester
    Posts
    1,500
    Thanks
    187
    Thanked
    14 times in 12 posts

    Excel help (Conditional Formatting)

    Was wondering if someone could give me a little help on using the conditional formatting in excel...

    Basically I have a few cells highlighted based on data which looks similar to:

    A B C D E F G H I

    1 User Week 1 2 3 4 5 6 Total
    2
    3 John 0 1 0 1 2 1 5
    4 Dave 0 0 0 0 0 0 0
    5 Paul 0 1 0 0 1 0 2

    the cells to be highlighted say will be the horizontal line for 4 ---- Dave, as the total = 0.
    To highlight this usually in excel, I would use the conditional formatting in excel, however I was wondering if this could be changed so that the colour could be taken from a cell value, instead of going through the menus all the time?!
    Woohoo now Assistant Manager!


  2. #2
    HEXUS.net Webmaster
    Join Date
    Jul 2003
    Location
    UK
    Posts
    3,108
    Thanks
    1
    Thanked
    0 times in 0 posts

    Re: Excel help (Conditional Formatting)

    Not without using VBA

  3. #3
    Senior Member Workaholic's Avatar
    Join Date
    Oct 2004
    Location
    Manchester
    Posts
    1,500
    Thanks
    187
    Thanked
    14 times in 12 posts

    Re: Excel help (Conditional Formatting)

    How would I go about doing this?
    Woohoo now Assistant Manager!


  4. #4
    SiM
    SiM is offline
    Senior Member
    Join Date
    Apr 2006
    Location
    London
    Posts
    7,787
    Thanks
    299
    Thanked
    630 times in 419 posts
    • SiM's system
      • Motherboard:
      • P5K Premium
      • CPU:
      • Q6600
      • Memory:
      • 8GB PC2-6400 OCZ ReaperX + Platinum
      • Storage:
      • 3 x 320gb HD322HJ single platter in Raid 0
      • Graphics card(s):
      • PNY GTX285
      • PSU:
      • Corsair TX650W
      • Case:
      • Antec 1200
      • Monitor(s):
      • 2407-HC

    Re: Excel help (Conditional Formatting)

    Quote Originally Posted by Workaholic View Post
    How would I go about doing this?
    You will need to write a loop, using if statements to determine which rows should be highlighted.

    If you don't know vba its very easy - I learned it using a combination of the help file, google and playing around recording macros.

    There are many ways to write it, but I would do it using a while loop.

    Sorry, can't really help you much more unless I do it for you...

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. .NET Reading Multiple Excel Files
    By Shadow_101 in forum Software
    Replies: 5
    Last Post: 23-11-2007, 03:22 PM
  2. Excel + Database + Automated
    By Kezzer in forum Software
    Replies: 4
    Last Post: 29-03-2007, 04:54 PM
  3. Excel windows
    By Steve in forum Software
    Replies: 4
    Last Post: 25-07-2006, 12:44 PM
  4. Replies: 6
    Last Post: 12-08-2005, 08:50 AM
  5. Excel spreadsheet fixing tool?
    By joshwa in forum Software
    Replies: 2
    Last Post: 28-10-2004, 11:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •