#1   Report Post  
mick2
 
Posts: n/a
Default Minus Display


Preamble:
A Financial Year, is from 1 July through to 30 June, inclusive.
The formula (which was offered by this forum, and appears below), is
required to display (countdown) the day(s) remaining in a Financial
Year, on a cyclical basis.
The formula worked well, towards the end of the last Financial Year,
but...


The problem:
Since the beginning (1 July) of this Financial Year, the countdown
display is preceded by a minus (-) character. I know it's trivial, but
it's also irritating...
How do I, remove the minus character?


The Formula:
=DATE(YEAR(TODAY())-IF(MONTH(TODAY())<7,0,1),7,1)-TODAY()

Regards,
Mick.


--
mick2
------------------------------------------------------------------------
mick2's Profile: http://www.excelforum.com/member.php...o&userid=24143
View this thread: http://www.excelforum.com/showthread...hreadid=384021

  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

=ABS(DATE(YEAR(TODAY())-IF(MONTH(TODAY())<7,0,1),7,1)-TODAY())

--

HTH

RP
(remove nothere from the email address if mailing direct)


"mick2" wrote in
message ...

Preamble:
A Financial Year, is from 1 July through to 30 June, inclusive.
The formula (which was offered by this forum, and appears below), is
required to display (countdown) the day(s) remaining in a Financial
Year, on a cyclical basis.
The formula worked well, towards the end of the last Financial Year,
but...


The problem:
Since the beginning (1 July) of this Financial Year, the countdown
display is preceded by a minus (-) character. I know it's trivial, but
it's also irritating...
How do I, remove the minus character?


The Formula:
=DATE(YEAR(TODAY())-IF(MONTH(TODAY())<7,0,1),7,1)-TODAY()

Regards,
Mick.


--
mick2
------------------------------------------------------------------------
mick2's Profile:

http://www.excelforum.com/member.php...o&userid=24143
View this thread: http://www.excelforum.com/showthread...hreadid=384021



  #4   Report Post  
loudfish
 
Posts: n/a
Default

Mick

It's a simple error in the formula. Flip the sign and it will work:
=DATE(YEAR(TODAY())+IF(MONTH(TODAY())<7,0,1),7,1)-TODAY()

I think you're simpler storing the financial year end in a cell (e.g.
A1), then you can use:
=A1-TODAY()

.... as long as you update A1 once a year.

Best

Andrew

mick2 wrote:
Preamble:
A Financial Year, is from 1 July through to 30 June, inclusive.
The formula (which was offered by this forum, and appears below), is
required to display (countdown) the day(s) remaining in a Financial
Year, on a cyclical basis.
The formula worked well, towards the end of the last Financial Year,
but...


The problem:
Since the beginning (1 July) of this Financial Year, the countdown
display is preceded by a minus (-) character. I know it's trivial, but
it's also irritating...
How do I, remove the minus character?


The Formula:
=DATE(YEAR(TODAY())-IF(MONTH(TODAY())<7,0,1),7,1)-TODAY()

Regards,
Mick.


--
mick2
------------------------------------------------------------------------
mick2's Profile: http://www.excelforum.com/member.php...o&userid=24143
View this thread: http://www.excelforum.com/showthread...hreadid=384021


  #5   Report Post  
mick2
 
Posts: n/a
Default


Thanks folks,
Problem solved!

Regards,
Mick.


--
mick2
------------------------------------------------------------------------
mick2's Profile: http://www.excelforum.com/member.php...o&userid=24143
View this thread: http://www.excelforum.com/showthread...hreadid=384021

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 to display multiple pages on one large monitor mrkrug3 Excel Discussion (Misc queries) 1 June 24th 05 01:33 AM
strip minus signs from right to left Heather Excel Discussion (Misc queries) 2 April 21st 05 05:52 PM
Conditional display of a .jpeg file? sbhogle Excel Discussion (Misc queries) 2 November 30th 04 05:57 AM
how to display heading of column corresponding to the cell angelrain Excel Worksheet Functions 2 November 2nd 04 04:57 PM
Combine & Display “Fixed” & “Automatically Updated” Date Parts texcel Excel Worksheet Functions 1 November 1st 04 05:38 PM


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