Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Whats the easiest way of finding the 1st day of a month (lets say July for
instance) of the current year? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() 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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need cell formula to subtotal gross by month for a quarter | Excel Discussion (Misc queries) | |||
Working days left in the month compared to previous months | Excel Worksheet Functions | |||
formula: First and last day in month | Excel Worksheet Functions | |||
Add one month to the previuos month | Excel Discussion (Misc queries) | |||
Month Year Date Format | Excel Worksheet Functions |