#1   Report Post  
Posted to microsoft.public.excel.misc
ben simpson
 
Posts: n/a
Default 1st day of the month

Whats the easiest way of finding the 1st day of a month (lets say July for
instance) of the current year?
  #2   Report Post  
Posted to microsoft.public.excel.misc
daddylonglegs
 
Posts: n/a
Default 1st day of the month


Do you mean you want to know whether 1st July is a Monday, Tuesday
etc.?

you could use this formula

=TEXT(DATE(2006,7,1),"dddd")

or just put the date in a cell and format that cell as dddd


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=523259

  #3   Report Post  
Posted to microsoft.public.excel.misc
Toppers
 
Posts: n/a
Default 1st day of the month

Ben,
If you mean day (of week) then:

=CHOOSE(WEEKDAY(A1),"Sun","Mon","Tue","Wed","Thu", "Fri","Sat")

Where A1 contains a date

HTH

"ben simpson" wrote:

Whats the easiest way of finding the 1st day of a month (lets say July for
instance) of the current year?

  #4   Report Post  
Posted to microsoft.public.excel.misc
ben simpson
 
Posts: n/a
Default 1st day of the month

What I'm trying to do is find out if the 1st day of July falls within a range
of dates, let say June 25th and July 21st (actual dates can be referenced
easily). Using the formula =DATE(YEAR(TODAY()),7,1) , how can a formula be
created to check that, and if true, return a 3, and if not, than a 0?




"Sloth" wrote:

=DATE(2006,7,1)

or (for current year)

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

or (to get the day of the week, ie. Sunday, Monday, Etc.

=TEXT(DATE(YEAR(TODAY()),7,1),"dddd")

"ben simpson" wrote:

Whats the easiest way of finding the 1st day of a month (lets say July for
instance) of the current year?

  #5   Report Post  
Posted to microsoft.public.excel.misc
Sloth
 
Posts: n/a
Default 1st day of the month

=DATE(2006,7,1)

or (for current year)

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

or (to get the day of the week, ie. Sunday, Monday, Etc.

=TEXT(DATE(YEAR(TODAY()),7,1),"dddd")

"ben simpson" wrote:

Whats the easiest way of finding the 1st day of a month (lets say July for
instance) of the current year?



  #6   Report Post  
Posted to microsoft.public.excel.misc
Paul Lautman
 
Posts: n/a
Default 1st day of the month

Toppers wrote:
Ben,
If you mean day (of week) then:

=CHOOSE(WEEKDAY(A1),"Sun","Mon","Tue","Wed","Thu", "Fri","Sat")

Isn't =TEXT(A1,"ddd") rather simpler?


  #7   Report Post  
Posted to microsoft.public.excel.misc
ben simpson
 
Posts: n/a
Default 1st day of the month

No daddy. What I'm now re-doing is a time sheet. On the 1st day of July
each year, 3 personal leave days are add for us to use whenever. I need to
add it on that date, and for it to remain visible thru the end of the pay
period, so the total can carry forward.....Thanks....Ben

"daddylonglegs" wrote:


Do you mean you want to know whether 1st July is a Monday, Tuesday
etc.?

you could use this formula

=TEXT(DATE(2006,7,1),"dddd")

or just put the date in a cell and format that cell as dddd


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=523259


  #8   Report Post  
Posted to microsoft.public.excel.misc
Sloth
 
Posts: n/a
Default 1st day of the month

=3*(DATE(YEAR(TODAY()),7,1)=A2)*(DATE(YEAR(TODAY( )),7,1)<=A3)

Whe
A2: 6/25/2006
A3: 7/21/2006

To answer your question directly you can use the formula above. I am a
little confused as to what you are actually trying to do though. There might
be an easier way. Give an example (using actuall cell references) of what is
given, and what you want the results to be.

"ben simpson" wrote:

What I'm trying to do is find out if the 1st day of July falls within a range
of dates, let say June 25th and July 21st (actual dates can be referenced
easily). Using the formula =DATE(YEAR(TODAY()),7,1) , how can a formula be
created to check that, and if true, return a 3, and if not, than a 0?




"Sloth" wrote:

=DATE(2006,7,1)

or (for current year)

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

or (to get the day of the week, ie. Sunday, Monday, Etc.

=TEXT(DATE(YEAR(TODAY()),7,1),"dddd")

"ben simpson" wrote:

Whats the easiest way of finding the 1st day of a month (lets say July for
instance) of the current year?

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
Need cell formula to subtotal gross by month for a quarter mikeburg Excel Discussion (Misc queries) 4 November 7th 05 09:25 PM
Working days left in the month compared to previous months qwopzxnm Excel Worksheet Functions 8 October 24th 05 08:00 PM
formula: First and last day in month Zbigniew Lewandowski Excel Worksheet Functions 6 October 16th 05 04:51 AM
Add one month to the previuos month heater Excel Discussion (Misc queries) 5 February 10th 05 12:33 AM
Month Year Date Format Jamie Excel Worksheet Functions 2 February 7th 05 06:43 PM


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