Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
honyacker
 
Posts: n/a
Default Insert text based on date

I posted a question earlier using Conditional Formatting.
I want to do it differently now.

I have this foumula in cell B7:
=IF(AND(A7<(TODAY()-14),K7=""),"14-31days old",0)

I need to modify it to only enter the text if it is between 14 and 31 days
older than TODAY()
Right now, it will use the text if it is any date older than 14 days.
If it is older than 31 days, I want it to do something different.

Thanks,
Joe


  #2   Report Post  
Posted to microsoft.public.excel.misc
Sloth
 
Posts: n/a
Default Insert text based on date

=IF(K7="",IF(A7<TODAY()-31,"31 days old",IF(A7<TODAY()-14,"14-31 days
old","<14 days old")),"K7 not blank")

I added some error messages to make the function easier to follow.

"honyacker" wrote:

I posted a question earlier using Conditional Formatting.
I want to do it differently now.

I have this foumula in cell B7:
=IF(AND(A7<(TODAY()-14),K7=""),"14-31days old",0)

I need to modify it to only enter the text if it is between 14 and 31 days
older than TODAY()
Right now, it will use the text if it is any date older than 14 days.
If it is older than 31 days, I want it to do something different.

Thanks,
Joe



  #3   Report Post  
Posted to microsoft.public.excel.misc
honyacker
 
Posts: n/a
Default Insert text based on date

Thanks Sloth.
Works excellent!

Joe

"honyacker" wrote in message
...
I posted a question earlier using Conditional Formatting.
I want to do it differently now.

I have this foumula in cell B7:
=IF(AND(A7<(TODAY()-14),K7=""),"14-31days old",0)

I need to modify it to only enter the text if it is between 14 and 31 days
older than TODAY()
Right now, it will use the text if it is any date older than 14 days.
If it is older than 31 days, I want it to do something different.

Thanks,
Joe




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
Combining Text and Date for VLOOKUP biggymismyname Excel Worksheet Functions 2 December 5th 05 04:01 PM
Update cell based on date range deversole Excel Discussion (Misc queries) 3 July 6th 05 01:58 PM
Conditional Formatting based on Text within Text George Lynch Excel Discussion (Misc queries) 3 May 5th 05 07:58 PM
Challenging Charting C TO Charts and Charting in Excel 0 January 17th 05 06:57 PM
Using formulas to determine date in one cell based on date in anot Gary Excel Worksheet Functions 2 November 22nd 04 08:11 AM


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

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"