ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   if amount <0, put the all line in red (https://www.excelbanter.com/excel-worksheet-functions/42418-re-if-amount-%3C0-put-all-line-red.html)

John Michl

if amount <0, put the all line in red
 
Try conditional formating for the row.
Click on the row number to format
Select Format | Conditional Formating from the menu
Switch from Cell Is to Formula in the drop down
Add a formula like $A$1 < 0
The select the formating options you want.


Hit ok and you should be in business.

- John Michl
www.johnmichl.com


doudou


sorry, it doesn't do the job


--
doudou
------------------------------------------------------------------------
doudou's Profile: http://www.excelforum.com/member.php...o&userid=24047
View this thread: http://www.excelforum.com/showthread...hreadid=399280


John Michl

Sorry I misread your request. The formula should be something like
= min($1:$1)<0
where 1 is the row number. Note that there should be no quotes in the
formula. The first time you type it in, Excel may put quotes around it
so you'll need to edit it to remove them.

- John



All times are GMT +1. The time now is 05:55 PM.

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