Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
ASU ASU is offline
external usenet poster
 
Posts: 63
Default End of month calculations

I have the following formula that gives me the date at the end of the month
six month on. eg if I put a date of 15 Aug 06 in cell A1, the result in A2
would be 28 Feb 07. What I need also if the date in A1 is a month early (say
28 Jul 06), the result in A2 still needs to be 28 Feb 07. I hope I made it
clear as mud!!

=EOMONTH(A1,6)
--
ASU
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 266
Default End of month calculations

"ASU" skrev i en meddelelse
...
I have the following formula that gives me the date at the end of the month
six month on. eg if I put a date of 15 Aug 06 in cell A1, the result in A2
would be 28 Feb 07. What I need also if the date in A1 is a month early
(say
28 Jul 06), the result in A2 still needs to be 28 Feb 07. I hope I made it
clear as mud!!

=EOMONTH(A1,6)
--
ASU


A month early. Compared to what?
If all Excel has is A1, how is it going to "know", what
a month early is?

--
Best regards
Leo Heuser

Followup to newsgroup only please.


  #3   Report Post  
Posted to microsoft.public.excel.misc
ASU ASU is offline
external usenet poster
 
Posts: 63
Default End of month calculations

A month earlier to the date in cell A2.
--
ASU


"Leo Heuser" wrote:

"ASU" skrev i en meddelelse
...
I have the following formula that gives me the date at the end of the month
six month on. eg if I put a date of 15 Aug 06 in cell A1, the result in A2
would be 28 Feb 07. What I need also if the date in A1 is a month early
(say
28 Jul 06), the result in A2 still needs to be 28 Feb 07. I hope I made it
clear as mud!!

=EOMONTH(A1,6)
--
ASU


A month early. Compared to what?
If all Excel has is A1, how is it going to "know", what
a month early is?

--
Best regards
Leo Heuser

Followup to newsgroup only please.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 174
Default End of month calculations

if A1 is 27th July 2006 would A2 be 31 Jan 07?

If so perhaps try

=EOMONTH(A1,6+(DAY(EOMONTH(A1,7))<=DAY(A1)))

If not then please define date ranges for A1 that would give 31 Jan 07 in A2
or 31 Mar 07 in A2


  #5   Report Post  
Posted to microsoft.public.excel.misc
ASU ASU is offline
external usenet poster
 
Posts: 63
Default End of month calculations

Daddylonglegs, Thanks very much, just the job it works fine.
--
ASU


"daddylonglegs" wrote:

if A1 is 27th July 2006 would A2 be 31 Jan 07?

If so perhaps try

=EOMONTH(A1,6+(DAY(EOMONTH(A1,7))<=DAY(A1)))

If not then please define date ranges for A1 that would give 31 Jan 07 in A2
or 31 Mar 07 in A2


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 create a rolling 6 month average? anley Excel Discussion (Misc queries) 3 August 14th 06 12:41 PM
Month to date calculations CP Excel Worksheet Functions 5 February 12th 06 06:44 PM
Help!!! Vlookup!! theukego Excel Worksheet Functions 3 November 13th 05 05:01 PM
Working days left in the month compared to previous months qwopzxnm Excel Worksheet Functions 8 October 24th 05 08:00 PM
Month Year Date Format Jamie Excel Worksheet Functions 2 February 7th 05 06:43 PM


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