Row Formatting

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is it possible to format a row based on a text value compared from a cell in
that row to a cell in the row above it?

I review a report daily that is about 200 pages long, of which 80% of it is
duplicate information.
 
Let's say you have data in cells A3:K1000, and the text values that you want
to compare are in column E

Start by selecting the SECOND row of data all the way to the last row. Be
sure that A4 is the active cell (press Ctrl-. [that's a period] until A4 is
the active cell). Now go to Fromatting>Conditional Formatting.

Choose "Formula is" and use this formula

=$k4<>$k3

Click on the format button and choose whatever format you want to
distinguish the rows. Ok your way back to the spreadsheet.

If you have to compare the data in more than one column, change the formula
like so

=AND($k4<>$k3,$L4<>$L3)
 
That is almost perfect! I should have specified how I wanted the rows
formatted...I would like to "Hide" those particular rows...Can't do that with
conditional formatting...or can you?

Duke Carey said:
Let's say you have data in cells A3:K1000, and the text values that you want
to compare are in column E

Start by selecting the SECOND row of data all the way to the last row. Be
sure that A4 is the active cell (press Ctrl-. [that's a period] until A4 is
the active cell). Now go to Fromatting>Conditional Formatting.

Choose "Formula is" and use this formula

=$k4<>$k3

Click on the format button and choose whatever format you want to
distinguish the rows. Ok your way back to the spreadsheet.

If you have to compare the data in more than one column, change the formula
like so

=AND($k4<>$k3,$L4<>$L3)




stiglo said:
Is it possible to format a row based on a text value compared from a cell in
that row to a cell in the row above it?

I review a report daily that is about 200 pages long, of which 80% of it is
duplicate information.
 
No - you can't hide them in that fashion. What you can do is put the formula

=$k4<>$k3

In an empty column adjacent to your data, then filter on FALSE. That will
hide the multiple rows

stiglo said:
That is almost perfect! I should have specified how I wanted the rows
formatted...I would like to "Hide" those particular rows...Can't do that with
conditional formatting...or can you?

Duke Carey said:
Let's say you have data in cells A3:K1000, and the text values that you want
to compare are in column E

Start by selecting the SECOND row of data all the way to the last row. Be
sure that A4 is the active cell (press Ctrl-. [that's a period] until A4 is
the active cell). Now go to Fromatting>Conditional Formatting.

Choose "Formula is" and use this formula

=$k4<>$k3

Click on the format button and choose whatever format you want to
distinguish the rows. Ok your way back to the spreadsheet.

If you have to compare the data in more than one column, change the formula
like so

=AND($k4<>$k3,$L4<>$L3)




stiglo said:
Is it possible to format a row based on a text value compared from a cell in
that row to a cell in the row above it?

I review a report daily that is about 200 pages long, of which 80% of it is
duplicate information.
 
Thanks brother!



Duke Carey said:
No - you can't hide them in that fashion. What you can do is put the formula

=$k4<>$k3

In an empty column adjacent to your data, then filter on FALSE. That will
hide the multiple rows

stiglo said:
That is almost perfect! I should have specified how I wanted the rows
formatted...I would like to "Hide" those particular rows...Can't do that with
conditional formatting...or can you?

Duke Carey said:
Let's say you have data in cells A3:K1000, and the text values that you want
to compare are in column E

Start by selecting the SECOND row of data all the way to the last row. Be
sure that A4 is the active cell (press Ctrl-. [that's a period] until A4 is
the active cell). Now go to Fromatting>Conditional Formatting.

Choose "Formula is" and use this formula

=$k4<>$k3

Click on the format button and choose whatever format you want to
distinguish the rows. Ok your way back to the spreadsheet.

If you have to compare the data in more than one column, change the formula
like so

=AND($k4<>$k3,$L4<>$L3)




:

Is it possible to format a row based on a text value compared from a cell in
that row to a cell in the row above it?

I review a report daily that is about 200 pages long, of which 80% of it is
duplicate information.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top