Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Scott
 
Posts: n/a
Default Changing today's date to the first of the month

Is there a function in Excel to change a date to the first of the month,

ie. =FIRSTDAY(Now()) to change 12/22/2005 to 12/1/2005

thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default Changing today's date to the first of the month

Try one of these:

=EOMONTH(TODAY(),-1)+1

Note: If the EOMONTH function is not available, and returns the #NAME?
error, install and load the Analysis ToolPak add-in

OR

=DATE(YEAR(TODAY()),MONTH(TODAY()),1)

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"Scott" wrote:

Is there a function in Excel to change a date to the first of the month,

ie. =FIRSTDAY(Now()) to change 12/22/2005 to 12/1/2005

thanks.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ikr
 
Posts: n/a
Default Changing today's date to the first of the month

"Scott" wrote in message
...
Is there a function in Excel to change a date to the first of the month,

ie. =FIRSTDAY(Now()) to change 12/22/2005 to 12/1/2005

thanks.


=DATE(YEAR(NOW()),MONTH(NOW()),1)


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bpeltzer
 
Posts: n/a
Default Changing today's date to the first of the month

Another alternative to EOMONTH: =today()-day(today())+1
(or, to operate on a date given in A1, =a1-day(a1)+1. )


"Scott" wrote:

Is there a function in Excel to change a date to the first of the month,

ie. =FIRSTDAY(Now()) to change 12/22/2005 to 12/1/2005

thanks.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Rosenfeld
 
Posts: n/a
Default Changing today's date to the first of the month

On Thu, 22 Dec 2005 05:43:03 -0800, "Scott"
wrote:

Is there a function in Excel to change a date to the first of the month,

ie. =FIRSTDAY(Now()) to change 12/22/2005 to 12/1/2005

thanks.


=TODAY()-DAY(TODAY()) +1


--ron
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
Month to date sales - reset in new month??? [email protected] Excel Worksheet Functions 2 November 26th 05 08:18 PM
extract the month of a date gireesh Excel Discussion (Misc queries) 11 November 23rd 05 06:10 PM
How do I break a date range by month? HeatherDawn Excel Discussion (Misc queries) 2 September 1st 05 07:31 PM
Activating "Todays Date" column upon opening? Jeremy H via OfficeKB.com Excel Discussion (Misc queries) 3 August 25th 05 02:36 AM
Today's Date Jake Excel Discussion (Misc queries) 9 December 17th 04 09:57 PM


All times are GMT +1. The time now is 09:11 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"