Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 162
Default 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?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 281
Default 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?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 162
Default 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?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro Conditional Formatting Sandy Excel Worksheet Functions 2 May 10th 07 02:25 PM
Conditional Formatting in a Macro Ed Excel Discussion (Misc queries) 2 August 28th 06 11:23 PM
Conditional Formatting in Macro shantanu oak Excel Discussion (Misc queries) 2 July 14th 06 01:11 PM
Excel Macro Question about Conditional Formatting David Britton via OfficeKB.com New Users to Excel 3 February 10th 05 02:23 PM
Macro/conditional formatting BigMac Excel Discussion (Misc queries) 1 December 6th 04 11:24 PM


All times are GMT +1. The time now is 08:40 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"