ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   conditional formatting adjacent cells (https://www.excelbanter.com/excel-worksheet-functions/235970-conditional-formatting-adjacent-cells.html)

Sketch

conditional formatting adjacent cells
 
I have some data in 10 columns where I want to change the data in the next
adjacent column to be coloured red if it is less or green if it is more than
the current column. The next column would then need to test the previous
column.
I want to check simply if the number has increased or decreased from the
previous figure.
In Excel 2003, I managed to do this by deleting $ sign in the cell
reference. Now I can't delete the $ sign. It is automatically added even when
I delete it.
Can you please help!
--
Thanks, in advance.

Luke M

conditional formatting adjacent cells
 
Assuming your starting with column B. Select columns B through whatever.
Conditional format, Formula1 is:
=A1B1
Format red
Formula2 is:
=A1<B1
Format green

If you type the formulas in directly, without using the arrow keys to
navigate, it should take.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Sketch" wrote:

I have some data in 10 columns where I want to change the data in the next
adjacent column to be coloured red if it is less or green if it is more than
the current column. The next column would then need to test the previous
column.
I want to check simply if the number has increased or decreased from the
previous figure.
In Excel 2003, I managed to do this by deleting $ sign in the cell
reference. Now I can't delete the $ sign. It is automatically added even when
I delete it.
Can you please help!
--
Thanks, in advance.


Eduardo

conditional formatting adjacent cells
 
Hi,
if you are in excel 2007
Position yourself in the column to be coloured, Conditional formating,
Highlight cells rules, less than, click in the first column, do it again but
choose greater than


"Sketch" wrote:

I have some data in 10 columns where I want to change the data in the next
adjacent column to be coloured red if it is less or green if it is more than
the current column. The next column would then need to test the previous
column.
I want to check simply if the number has increased or decreased from the
previous figure.
In Excel 2003, I managed to do this by deleting $ sign in the cell
reference. Now I can't delete the $ sign. It is automatically added even when
I delete it.
Can you please help!
--
Thanks, in advance.


Sketch

conditional formatting adjacent cells
 
Thanks Luke M & Eduardo, works great!
--
Thanks, in advance.


"Luke M" wrote:

Assuming your starting with column B. Select columns B through whatever.
Conditional format, Formula1 is:
=A1B1
Format red
Formula2 is:
=A1<B1
Format green

If you type the formulas in directly, without using the arrow keys to
navigate, it should take.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Sketch" wrote:

I have some data in 10 columns where I want to change the data in the next
adjacent column to be coloured red if it is less or green if it is more than
the current column. The next column would then need to test the previous
column.
I want to check simply if the number has increased or decreased from the
previous figure.
In Excel 2003, I managed to do this by deleting $ sign in the cell
reference. Now I can't delete the $ sign. It is automatically added even when
I delete it.
Can you please help!
--
Thanks, in advance.



All times are GMT +1. The time now is 07:34 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com