ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Highlight the debit and Credit ( positive and negative) numbers within a column (https://www.excelbanter.com/excel-programming/275518-re-highlight-debit-credit-positive-negative-numbers-within-column.html)

rafeeq

Highlight the debit and Credit ( positive and negative) numbers within a column
 
An easy way of doing this is to use Conditional Formating (under
Format menu). Highlight the entire range of numbers and go to
Conditional Formating. Select cell value to be less than 0 and select
the desired formating (eg. change font color to red). This will
dispaly all value less than 0 in red. Hope this helps.

(Sandip Shah) wrote in message . com...
Hi,

I have dowloaded an account details from my accounting package into
excel. The number of transactions runs into over 10000 lines. All the
debits and credits ( positive and negative ) numbers are in the same
column.

Is there a way through a macro or a function where I can highlight one
set of postive and negative number appearing in the list. Thus all the
numbers with the offset entry ( opposite sign ) should be highlighted.

For eg. If 100 is there on one row, and -100 on some other row (same
coloumn), both these numbers should get highlighted. Incase there is
another 100 with no offseting negative entry, it should remain
unhighlighted.

Your help would be appreciated.

Thanks
Sandip


Sandip Shah

Highlight the debit and Credit ( positive and negative) numbers within a column
 
(rafeeq) wrote in message . com...
An easy way of doing this is to use Conditional Formating (under
Format menu). Highlight the entire range of numbers and go to
Conditional Formating. Select cell value to be less than 0 and select
the desired formating (eg. change font color to red). This will
dispaly all value less than 0 in red. Hope this helps.

(Sandip Shah) wrote in message . com...
Hi,

I have dowloaded an account details from my accounting package into
excel. The number of transactions runs into over 10000 lines. All the
debits and credits ( positive and negative ) numbers are in the same
column.

Is there a way through a macro or a function where I can highlight one
set of postive and negative number appearing in the list. Thus all the
numbers with the offset entry ( opposite sign ) should be highlighted.

For eg. If 100 is there on one row, and -100 on some other row (same
coloumn), both these numbers should get highlighted. Incase there is
another 100 with no offseting negative entry, it should remain
unhighlighted.

Your help would be appreciated.

Thanks
Sandip



Hi Jo lee,

Thanks for the macro, its great....

Bye
Sandip


All times are GMT +1. The time now is 01:36 AM.

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