Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 19
Default IF formula returning a colored cell

Hi everyone and thanks in advance for any help you can offer.
I am using XP Pro and Office 2003.

I want to form an IF formula that will look at the data in cell A2. A2 is
formatted for dates and will have a date in it. We are entering the date
membership dues have been paid through.

If the date is before (i.e. less than) 12/31/08, I want the IF formula to
fill cell A2 with Yellow color. This will highlight to us that someone has
not paid their current dues. If the date is after 12/31/08 (i.e. greater
than) it will leave the cell with no fill.

Is there any way to make this happen?

Again, thanks for any help or ideas. You guys always seem to pull through
for me!

Jim
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default IF formula returning a colored cell

You can't do it with an IF formula as such, but you can use
Conditional Formatting. Select A2 then click on Format | Conditional
Formatting and follow through the dialogue boxes.

Hope this helps.

Pete

On Sep 15, 4:17*pm, Jim Peterson
wrote:
Hi everyone and thanks in advance for any help you can offer.
I am using XP Pro and Office 2003.

I want to form an IF formula that will look at the data in cell A2. A2 is
formatted for dates and will have a date in it. We are entering the date
membership dues have been paid through.

If the date is before (i.e. less than) 12/31/08, I want the IF formula to
fill cell A2 with Yellow color. This will highlight to us that someone has
not paid their current dues. If the date is after 12/31/08 (i.e. greater
than) it will leave the cell with no fill.

Is there any way to make this happen?

Again, thanks for any help or ideas. You guys always seem to pull through
for me!

Jim


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 127
Default IF formula returning a colored cell

Select the cellGo to Format | Conditional Formatting | in the first drop
down select Formula Is | in the second box type =$A$2<"12/31/2008"

Click on FormatPattern tabSelect the colorHit OK.

This should do what you want to do.


"Jim Peterson" wrote in message
...
Hi everyone and thanks in advance for any help you can offer.
I am using XP Pro and Office 2003.

I want to form an IF formula that will look at the data in cell A2. A2 is
formatted for dates and will have a date in it. We are entering the date
membership dues have been paid through.

If the date is before (i.e. less than) 12/31/08, I want the IF formula to
fill cell A2 with Yellow color. This will highlight to us that someone has
not paid their current dues. If the date is after 12/31/08 (i.e. greater
than) it will leave the cell with no fill.

Is there any way to make this happen?

Again, thanks for any help or ideas. You guys always seem to pull through
for me!

Jim



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default IF formula returning a colored cell

=$A1<39813


"Jim Peterson" wrote:

Hi everyone and thanks in advance for any help you can offer.
I am using XP Pro and Office 2003.

I want to form an IF formula that will look at the data in cell A2. A2 is
formatted for dates and will have a date in it. We are entering the date
membership dues have been paid through.

If the date is before (i.e. less than) 12/31/08, I want the IF formula to
fill cell A2 with Yellow color. This will highlight to us that someone has
not paid their current dues. If the date is after 12/31/08 (i.e. greater
than) it will leave the cell with no fill.

Is there any way to make this happen?

Again, thanks for any help or ideas. You guys always seem to pull through
for me!

Jim

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 19
Default IF formula returning a colored cell

Thanks everyone. That works!

"Teethless mama" wrote:

=$A1<39813


"Jim Peterson" wrote:

Hi everyone and thanks in advance for any help you can offer.
I am using XP Pro and Office 2003.

I want to form an IF formula that will look at the data in cell A2. A2 is
formatted for dates and will have a date in it. We are entering the date
membership dues have been paid through.

If the date is before (i.e. less than) 12/31/08, I want the IF formula to
fill cell A2 with Yellow color. This will highlight to us that someone has
not paid their current dues. If the date is after 12/31/08 (i.e. greater
than) it will leave the cell with no fill.

Is there any way to make this happen?

Again, thanks for any help or ideas. You guys always seem to pull through
for me!

Jim

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
How do i copy a colored cell to another cell using a formula rick Excel Discussion (Misc queries) 2 September 3rd 08 12:16 AM
Returning a cell reference with a formula? Hurton Excel Worksheet Functions 13 February 24th 06 11:40 PM
Returning a colored value in If function ExcelQuestion Excel Discussion (Misc queries) 4 October 18th 05 08:58 PM
Returning the formula in another cell gelert Excel Worksheet Functions 2 September 6th 05 01:48 AM
Returning the formula in a cell Sukhjeet Excel Discussion (Misc queries) 0 June 29th 05 11:24 AM


All times are GMT +1. The time now is 12:53 AM.

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

About Us

"It's about Microsoft Excel"