Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Jim Jim is offline
external usenet poster
 
Posts: 615
Default Last day of last month

Hello,

In cell A1 I will have the due date of a bill. For this example let's call
it 9/20/2009. Can you help me with a formula that will give me the last day
of the previous month, in this case August 31, 2009.

Thanks for the help
Jim
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Last day of last month

Try this...

A1 = 9/20/2009

=A1-DAY(A1)

--
Biff
Microsoft Excel MVP


"Jim" wrote in message
...
Hello,

In cell A1 I will have the due date of a bill. For this example let's
call
it 9/20/2009. Can you help me with a formula that will give me the last
day
of the previous month, in this case August 31, 2009.

Thanks for the help
Jim



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Last day of last month

Try
=DATE(YEAR(A1),MONTH(A1),0)

If this post helps click Yes
---------------
Jacob Skaria


"Jim" wrote:

Hello,

In cell A1 I will have the due date of a bill. For this example let's call
it 9/20/2009. Can you help me with a formula that will give me the last day
of the previous month, in this case August 31, 2009.

Thanks for the help
Jim

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 143
Default Last day of last month

In cell A1 I will have the due date of a bill. For this example let's
call it 9/20/2009. Can you help me with a formula that will give me
the last day of the previous month, in this case August 31, 2009.


Here's one way in Excel 2003:
=EOMONTH(A1,-1)
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Last day of last month

=DATE(YEAR(TODAY()),MONTH(TODAY()),0)
works on Excel 2003 if you don't want to reference another cell w/ a date.

"Jim" wrote:

Hello,

In cell A1 I will have the due date of a bill. For this example let's call
it 9/20/2009. Can you help me with a formula that will give me the last day
of the previous month, in this case August 31, 2009.

Thanks for the help
Jim



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Last day of last month

Another one:
=today()-day(today())
(format as a date)





Longaberger_lover wrote:

=DATE(YEAR(TODAY()),MONTH(TODAY()),0)
works on Excel 2003 if you don't want to reference another cell w/ a date.

"Jim" wrote:

Hello,

In cell A1 I will have the due date of a bill. For this example let's call
it 9/20/2009. Can you help me with a formula that will give me the last day
of the previous month, in this case August 31, 2009.

Thanks for the help
Jim


--

Dave Peterson
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
excel to make the days cary over month to month automaticly GARY New Users to Excel 1 April 19th 08 06:05 PM
Excel 2003 month to month data change grid Chad[_2_] Excel Discussion (Misc queries) 2 February 15th 08 01:36 AM
Retrieve data for previous 3, 6, 12 month given current month GB Excel Worksheet Functions 4 July 19th 07 11:58 PM
Create Month Timetable on a worksheet different month each works Courtney Excel Worksheet Functions 1 October 15th 06 11:48 AM
transfer cell $ amount to other sheet month-to-month without overc Colin2u Excel Discussion (Misc queries) 1 July 28th 05 02:36 AM


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