Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / March 2008

Tip: Looking for answers? Try searching our database.

Conditional Formatting - Date Initiated

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Edward - 15 Mar 2008 12:25 GMT
I have the sum of £900 in cell D4 (and other cells with sums) which I want
to read zero on the 1st March 2009.

Is there a formula I can use to return a cell to zero on a specific date?

TIA

Ed
Max - 15 Mar 2008 13:23 GMT
On the face of this:
> .. I have the sum of 900 in cell D4 .. which I want
> to read zero on the 1st March 2009.

Suppose the formula in D4 is currently: =SUM(A4:C4)
You could refashion it like this for D4:
=IF(TODAY()= --"01-Mar-2009",0,SUM(A4:C4))
Signature

Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---

Edward - 15 Mar 2008 14:12 GMT
Thanks, Max. I will be keeping this formula anyway, but the figure of £900
is merely typed in, representing a budget outlay, and is not the result of
any formulae. Can you help me with that?

Ed

> On the face of this:
>> .. I have the sum of 900 in cell D4 .. which I want
[quoted text clipped - 3 lines]
> You could refashion it like this for D4:
> =IF(TODAY()= --"01-Mar-2009",0,SUM(A4:C4))
Max - 15 Mar 2008 15:39 GMT
> .. but the figure of £900 is merely typed in, ..
> and is not the result of any formulae.

Perhaps this, then? :
In D4: =IF(TODAY()= --"01-Mar-2009",0,900)
Signature

Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---

Edward - 15 Mar 2008 15:46 GMT
Thanks again, Max.

It's good to know there are helpful experts out there.

One more thing - It may be a good idea for me to test it. Hate to set all
the entries up only to find I've done something wrong. Does it run off the
Windows clock or the motherboard?

Ed

>> .. but the figure of £900 is merely typed in, ..
>> and is not the result of any formulae.
>
> Perhaps this, then? :
> In D4: =IF(TODAY()= --"01-Mar-2009",0,900)
Shane Devenshire - 15 Mar 2008 15:52 GMT
Hi Ed,

Are you interested in this for the first of each month or just the month of March?  

There are at least two possibilities 1. you can format the cell with conditional formatting to Hide, but not remove the value in the cell on the first of March or the first of any month, 2. You can write a macro that clears the cell on the first of march or the first of each month.

With the conditional formatting applied, the number will reappear on the 2nd of the month - it is not clear from your question if that is acceptable.

With either approach a complicating factor is how do you want to handle the situation if the first falls on a Saturday or Sunday, so the file is opened for the first time on the 2nd or 3rd?  Again your question does not make this clear.

Cheers,
Shane

> Thanks, Max. I will be keeping this formula anyway, but the figure of £900
> is merely typed in, representing a budget outlay, and is not the result of
[quoted text clipped - 9 lines]
>> You could refashion it like this for D4:
>> =IF(TODAY()= --"01-Mar-2009",0,SUM(A4:C4))
Edward - 15 Mar 2008 16:19 GMT
Hi, Shane.

I run an annual (12 months committed) expenditure programme for various facilities which are paid monthly. However, the payments are not all divided by 12 months. Some run only for 10 months, while others may run for 9 months or 8 months. Each monthly deficit is shown alongside the main figure. (I used £900 in the example). These will show zero as the main figure reverts to zero.

When a last payment is made I want the cell to revert to zero and remain at zero until the start of the new financial year when I change the formulae (move it up a year) to accommodate the new programme.

Ed

 Hi Ed,

 Are you interested in this for the first of each month or just the month of March?  

 There are at least two possibilities 1. you can format the cell with conditional formatting to Hide, but not remove the value in the cell on the first of March or the first of any month, 2. You can write a macro that clears the cell on the first of march or the first of each month.

 With the conditional formatting applied, the number will reappear on the 2nd of the month - it is not clear from your question if that is acceptable.

 With either approach a complicating factor is how do you want to handle the situation if the first falls on a Saturday or Sunday, so the file is opened for the first time on the 2nd or 3rd?  Again your question does not make this clear.

 Cheers,
 Shane

 "Edward" <edward.j.obrien@DELETEbtinternet.com> wrote in message news:2B607DE0-A52B-478F-A29B-D5F909B41922@microsoft.com...
 > Thanks, Max. I will be keeping this formula anyway, but the figure of £900
 > is merely typed in, representing a budget outlay, and is not the result of
 > any formulae. Can you help me with that?
 >
 > Ed
 >
 >
 > "Max" <demechanik@yahoo.com> wrote in message
 > news:75E4CE7B-39FD-4884-BABE-756E0E300A32@microsoft.com...
 >> On the face of this:
 >>> .. I have the sum of 900 in cell D4 .. which I want
 >>> to read zero on the 1st March 2009.
 >>
 >> Suppose the formula in D4 is currently: =SUM(A4:C4)
 >> You could refashion it like this for D4:
 >> =IF(TODAY()= --"01-Mar-2009",0,SUM(A4:C4))
 >> --
 >> Max
 >> Singapore
 >> http://savefile.com/projects/236895
 >> xdemechanik
 >> ---
 >

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.