![]() |
Conditional Formatting Macro
Is there a way to insert a word or comment as part of a macro into a cell
using conditional formats? For the cell in question, I have written an IF statement that will enter a 1 when something is incorrect. I've written that formula to be =IF(A2<B2,1,""). For cells with a 1 in it, I've used conditional format to highlight it red. I also want to figure out a way for that cell to say "Check Times" by using a macro if possible. How do I do that? |
Conditional Formatting Macro
Hi,
You can change your formula to: =IF(A2<B2,"Check Times",""). Thanks, -- Farhad Hodjat "Daren" wrote: Is there a way to insert a word or comment as part of a macro into a cell using conditional formats? For the cell in question, I have written an IF statement that will enter a 1 when something is incorrect. I've written that formula to be =IF(A2<B2,1,""). For cells with a 1 in it, I've used conditional format to highlight it red. I also want to figure out a way for that cell to say "Check Times" by using a macro if possible. How do I do that? |
Conditional Formatting Macro
Thanks very much! That worked.
"Farhad" wrote: Hi, You can change your formula to: =IF(A2<B2,"Check Times",""). Thanks, -- Farhad Hodjat "Daren" wrote: Is there a way to insert a word or comment as part of a macro into a cell using conditional formats? For the cell in question, I have written an IF statement that will enter a 1 when something is incorrect. I've written that formula to be =IF(A2<B2,1,""). For cells with a 1 in it, I've used conditional format to highlight it red. I also want to figure out a way for that cell to say "Check Times" by using a macro if possible. How do I do that? |
All times are GMT +1. The time now is 04:51 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com