+ Reply to Thread
Results 1 to 2 of 2

Color chart refer to people

  1. #1
    Forum Contributor
    Join Date
    08-30-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    141

    Color chart refer to people

    Hi guys.

    I dont know whether this problems is in VBA part or formula because right now I'm doing the chart using formula. I create a simple table with a simple chart. I highlight the chart (F5:R9) and then I make the conditional formatting and then put the formula =AND(1st chart's time>=start time, 2nd chart's time<=end time) [=AND(F$4>=$D5,G$4<=$E5)] This formula will refer to the start time and start end and then I format to yellow color. What i want is that the conditional formatting will highlight the chart based on the staff.

    For example: 1st row is Staff A, 2nd row staff B and 3rd row staff c. If staff A's color is green, then the chart will highlight with green, if the staff's B color is red, the chart will highlight with red color and if the staff C's color is yellow, the chart will highlight with yellow.

    I think this situation need a macro but maybe someone knows how to do by using formula especially vlookup. I only have the idea by using vlookup before the chart and the color will trigger the chart's color but i dont know how to do that. Someone can help me? I already attach a simple dummy file for you guys to look at.

    Thank you.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    08-30-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    141

    Re: Color chart refer to people

    I already found out how to do this. a simple formula will do this situation. anyway, thanks for viewing!

+ 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