PC Review


Reply
Thread Tools Rate Thread

color change in a table

 
 
=?Utf-8?B?RGFu?=
Guest
Posts: n/a
 
      3rd Jul 2007
Hi,
I need to change the color of cells in a table to highlight a change in a
version per id.
the table is already orderd by id and version
For example

1 2 3 4
a id version grade Quatity
b 1 1 a 4
c 1 2 a 5
d 1 3 a 5
e 2 1 b 4
f 2 2 c 6
g 3 1 c 6


the colored cells should be:
c4 (quantity changed from 4 to 5) --> change in id 1 from version 1 to 2
and f3 (grade changed from b to c) and f4 (quantity changed from 4 to 6) -->
change in id 2 from version 1 to 2

Any idea , please.
Thanks
 
Reply With Quote
 
 
 
 
=?Utf-8?B?YW5keTYy?=
Guest
Posts: n/a
 
      3rd Jul 2007
Hi Dan - If I am understanding correctly, I think you could use conditional
formatting to highlight the cells. Your example seems to exclude some of the
changes, so maybe I am oversimplifying this. But if not, try this: select
cell B3, go to conditional formatting (Format >> Conditional Formatting),
change the drop-down to "Formula Is", then in the condition space type:

=B3<>B2

Then set up a highlighting condition (such as cell background = yellow), and
press "Okay".

Now use the format painter to apply that conditional formatting to all other
cells except the header row and the first row of data.

This checks to see whether a cell's value is different from the one above
it. Your row/column numbering/lettering was reversed, so I switched it in my
instructions. If that doesn't work, write back.

"Dan" wrote:

> Hi,
> I need to change the color of cells in a table to highlight a change in a
> version per id.
> the table is already orderd by id and version
> For example
>
> 1 2 3 4
> a id version grade Quatity
> b 1 1 a 4
> c 1 2 a 5
> d 1 3 a 5
> e 2 1 b 4
> f 2 2 c 6
> g 3 1 c 6
>
>
> the colored cells should be:
> c4 (quantity changed from 4 to 5) --> change in id 1 from version 1 to 2
> and f3 (grade changed from b to c) and f4 (quantity changed from 4 to 6) -->
> change in id 2 from version 1 to 2
>
> Any idea , please.
> Thanks

 
Reply With Quote
 
=?Utf-8?B?RGFu?=
Guest
Posts: n/a
 
      3rd Jul 2007
Thanks

"andy62" wrote:

> Hi Dan - If I am understanding correctly, I think you could use conditional
> formatting to highlight the cells. Your example seems to exclude some of the
> changes, so maybe I am oversimplifying this. But if not, try this: select
> cell B3, go to conditional formatting (Format >> Conditional Formatting),
> change the drop-down to "Formula Is", then in the condition space type:
>
> =B3<>B2
>
> Then set up a highlighting condition (such as cell background = yellow), and
> press "Okay".
>
> Now use the format painter to apply that conditional formatting to all other
> cells except the header row and the first row of data.
>
> This checks to see whether a cell's value is different from the one above
> it. Your row/column numbering/lettering was reversed, so I switched it in my
> instructions. If that doesn't work, write back.
>
> "Dan" wrote:
>
> > Hi,
> > I need to change the color of cells in a table to highlight a change in a
> > version per id.
> > the table is already orderd by id and version
> > For example
> >
> > 1 2 3 4
> > a id version grade Quatity
> > b 1 1 a 4
> > c 1 2 a 5
> > d 1 3 a 5
> > e 2 1 b 4
> > f 2 2 c 6
> > g 3 1 c 6
> >
> >
> > the colored cells should be:
> > c4 (quantity changed from 4 to 5) --> change in id 1 from version 1 to 2
> > and f3 (grade changed from b to c) and f4 (quantity changed from 4 to 6) -->
> > change in id 2 from version 1 to 2
> >
> > Any idea , please.
> > Thanks

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do i change the color of the borders of a table? Greg Microsoft Word Document Management 2 30th Aug 2008 01:25 PM
JavaScript to Change Table Color pvong Microsoft ASP .NET 2 18th Aug 2008 02:12 AM
Change Color of Table Border =?Utf-8?B?TXp6?= Microsoft Frontpage 5 7th Jul 2007 12:10 PM
Can't change RichTextBox Color Table. Terry Olsen Microsoft VB .NET 1 18th Dec 2006 12:55 PM
How to change the color of the table's lines? =?Utf-8?B?SmFtZSBMaW4=?= Microsoft Access 1 10th Oct 2006 05:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:08 PM.