#1   Report Post  
Posted to microsoft.public.excel.misc
radbid via OfficeKB.com
 
Posts: n/a
Default Date formula problem

=IF(TODAY()-A4<30,H4,"")

The above formula copies H4 contents when A4 is 30 days less than today.
However, today's date is 3/30/06, A4 is 2/28/06, and nothing happens. When
today's date was 3/29/06, A4 was 2/27/06, nothing happened. I'm stumped -
can you help? Thanks!

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200603/1
  #2   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom
 
Posts: n/a
Default Date formula problem

Please don't post in more than one newsgroup, see answer in

the misc group

http://www.cpearson.com/excel/newposte.htm

--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com




"radbid via OfficeKB.com" <u20251@uwe wrote in message
news:5e099897ef70f@uwe...
=IF(TODAY()-A4<30,H4,"")

The above formula copies H4 contents when A4 is 30 days less than today.
However, today's date is 3/30/06, A4 is 2/28/06, and nothing happens.
When
today's date was 3/29/06, A4 was 2/27/06, nothing happened. I'm
stumped -
can you help? Thanks!

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200603/1



  #3   Report Post  
Posted to microsoft.public.excel.misc
Stuart Peters
 
Posts: n/a
Default Date formula problem

Your formula Reads if Todays date minus A4 is less than 30 then copy the
contents of H4, otherwise do nothing.

So if todays date is equal to or greater than 30 you will not copy the
contents of H4.

Try A4<=30

If A4 is Less than or equal to 30 then...



"radbid via OfficeKB.com" wrote:

=IF(TODAY()-A4<30,H4,"")

The above formula copies H4 contents when A4 is 30 days less than today.
However, today's date is 3/30/06, A4 is 2/28/06, and nothing happens. When
today's date was 3/29/06, A4 was 2/27/06, nothing happened. I'm stumped -
can you help? Thanks!

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200603/1

  #4   Report Post  
Posted to microsoft.public.excel.misc
radbid via OfficeKB.com
 
Posts: n/a
Default Date formula problem

Thanks for the help.

Stuart Peters wrote:
Your formula Reads if Todays date minus A4 is less than 30 then copy the
contents of H4, otherwise do nothing.

So if todays date is equal to or greater than 30 you will not copy the
contents of H4.

Try A4<=30

If A4 is Less than or equal to 30 then...

=IF(TODAY()-A4<30,H4,"")

The above formula copies H4 contents when A4 is 30 days less than today.
However, today's date is 3/30/06, A4 is 2/28/06, and nothing happens. When
today's date was 3/29/06, A4 was 2/27/06, nothing happened. I'm stumped -
can you help? Thanks!


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200603/1
  #5   Report Post  
Posted to microsoft.public.excel.misc
radbid via OfficeKB.com
 
Posts: n/a
Default Date formula problem

Thanks for the help.

radbid wrote:
=IF(TODAY()-A4<30,H4,"")

The above formula copies H4 contents when A4 is 30 days less than today.
However, today's date is 3/30/06, A4 is 2/28/06, and nothing happens. When
today's date was 3/29/06, A4 was 2/27/06, nothing happened. I'm stumped -
can you help? Thanks!


--
Message posted via http://www.officekb.com


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
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
date that updates itself daily, plus another formula please?? Ted Excel Worksheet Functions 2 November 26th 05 03:36 PM
Year-to-date year to date formula Philm Excel Worksheet Functions 1 October 7th 05 02:50 AM
Value between 2 dates AG Excel Worksheet Functions 11 August 21st 05 05:32 PM
Need help troubleshooting an array formula XLXP on Win2K KR Excel Worksheet Functions 1 December 13th 04 07:41 PM


All times are GMT +1. The time now is 03:23 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"