Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Force date cell to show [blank] if end of month
Hello,
My monthly employee timesheet spreadsheet is quite simple - a field where the employee enters the first date in the month, eg 01/02/07 and a column which automatically enters DDD/DD/MMM in a column on the left. All fine there. However, I don't know how to stop the calculation (cellref above)+1 where the month is shorter than 31 days. Can anyone help with this? Is there no alternative to linking a calendar table, as I would do if making an Access object? This spreadsheet is used by all the company employees in various stand-alone locations, who have various levels of Excel ability and I must make this as simple as possible. Many thanks |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Force date cell to show [blank] if end of month
Try this in A2 with the first date in A1 and copy down
=IF(A1<"",IF(MONTH($A$1)=MONTH(A1+1),A1+1,""),"") -- Regards Ron de Bruin http://www.rondebruin.nl/tips.htm "lisa110rry" wrote in message ... Hello, My monthly employee timesheet spreadsheet is quite simple - a field where the employee enters the first date in the month, eg 01/02/07 and a column which automatically enters DDD/DD/MMM in a column on the left. All fine there. However, I don't know how to stop the calculation (cellref above)+1 where the month is shorter than 31 days. Can anyone help with this? Is there no alternative to linking a calendar table, as I would do if making an Access object? This spreadsheet is used by all the company employees in various stand-alone locations, who have various levels of Excel ability and I must make this as simple as possible. Many thanks |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Force date cell to show [blank] if end of month
You could try this formula
=IF(A1="","",IF(DAY(A1+1)=1,"",A1+1)) "lisa110rry" wrote: Hello, My monthly employee timesheet spreadsheet is quite simple - a field where the employee enters the first date in the month, eg 01/02/07 and a column which automatically enters DDD/DD/MMM in a column on the left. All fine there. However, I don't know how to stop the calculation (cellref above)+1 where the month is shorter than 31 days. Can anyone help with this? Is there no alternative to linking a calendar table, as I would do if making an Access object? This spreadsheet is used by all the company employees in various stand-alone locations, who have various levels of Excel ability and I must make this as simple as possible. Many thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to convert a month to a quarter ...... | New Users to Excel | |||
Mileage Claim Formula | New Users to Excel | |||
How do I show the day and date in excel in the same cell | Excel Discussion (Misc queries) | |||
Changing Cell formats to date fields automatically | Excel Worksheet Functions | |||
How can I format a cell so date field only displays the Month? | Excel Discussion (Misc queries) |