+ Reply to Thread
Results 1 to 5 of 5

Conditional formatting on status column.... see attached image

  1. #1
    Forum Contributor
    Join Date
    07-30-2012
    Location
    australia
    MS-Off Ver
    Excel 2003
    Posts
    118

    Conditional formatting on status column.... see attached image

    If you view the image. conditional formatting has to be manually performed on status column. I need a macro to automaticaaly compare values in each of two rows and change the value in status as up, down or level.
    Attached Images Attached Images

  2. #2
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,714

    Re: Conditional formatting on status column.... see attached image

    you could do this with a formula

    set the cell's font name to "Symbol" and use this formula:

    =IF(B1>A1,CHAR(173),IF(B1<A1,CHAR(175),CHAR(171)))

  3. #3
    Forum Contributor
    Join Date
    07-30-2012
    Location
    australia
    MS-Off Ver
    Excel 2003
    Posts
    118

    Re: Conditional formatting on status column.... see attached image

    I have the formula.... I need a vba code for all worksheets, so i can automate it. have several sheets

  4. #4
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,714

    Re: Conditional formatting on status column.... see attached image

    ok
    so do I have this right - you want to copy the formula into several columns on several worksheets
    how will the macro know where to copy to - is it always in the same column, for example, or always in a column with "Staus" in cell A1?

  5. #5
    Forum Contributor
    Join Date
    07-30-2012
    Location
    australia
    MS-Off Ver
    Excel 2003
    Posts
    118

    Re: Conditional formatting on status column.... see attached image

    I will explain you the whole story,

    We get data every month and ammend to an extra column added to the previous month column, after comparing 3 months data we delete the duplicate cells and the remaining cells are shown in the report. as you can see the status column shows that the attribute for that particular row is equal or higher or lower depending on the values in the cell for current month and previous month. so the status is derived by using if statement of previous month and current month. Using windings font I get the arrows and color as red. after this step we do conditional formatting as if the values in previous month and this month is 0 then we color the status column cell as black and level.


    I need a macro to do the status comparison and conditional formatting.

  6. #6
    Forum Contributor
    Join Date
    07-30-2012
    Location
    australia
    MS-Off Ver
    Excel 2003
    Posts
    118

    Re: Conditional formatting on status column.... see attached image

    Any help would be appreciated

+ 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