Hi
I thought this might have been a VBA issue, but I've been told no, so apologies to those who are reading this again.
I've got a number of cells which give totals depending on the date. To update these all each month is time consuming and so I need a way to update them automatically.
Cell D12 is the start of the month - eg 01/09/2013 and F12 is the end - 30/09/2013 (it forms part of the report heading)
One of my formula is:
=COUNTIFS('Leavers'!$E$3:$E$1000,"UK",'Leavers'!$K$3:$K$1000,">=01/09/2013")
But next month's report will need all the formula with 01/09/2013 changed to 01/10/2013 and formula with 30/09/2013 to 31/10/2013.
I was advised to use
=date(year(today()),month(today()),1)
but then I realised that this isn't going to work for me as I may not work on my report until a week into the new month and I may need to use old dates which is why the date range is entered in D12 and F12 and I'm using <= and >=.
The report is basically giving a list of leavers in UK who's start date was on or after 01/09/2013.
The formula has been altered for confidentiality, so excuse me if I have the < and > the wrong way round.
thank you for helping
____________
Pendle
I thought this might have been a VBA issue, but I've been told no, so apologies to those who are reading this again.
I've got a number of cells which give totals depending on the date. To update these all each month is time consuming and so I need a way to update them automatically.
Cell D12 is the start of the month - eg 01/09/2013 and F12 is the end - 30/09/2013 (it forms part of the report heading)
One of my formula is:
=COUNTIFS('Leavers'!$E$3:$E$1000,"UK",'Leavers'!$K$3:$K$1000,">=01/09/2013")
But next month's report will need all the formula with 01/09/2013 changed to 01/10/2013 and formula with 30/09/2013 to 31/10/2013.
I was advised to use
=date(year(today()),month(today()),1)
but then I realised that this isn't going to work for me as I may not work on my report until a week into the new month and I may need to use old dates which is why the date range is entered in D12 and F12 and I'm using <= and >=.
The report is basically giving a list of leavers in UK who's start date was on or after 01/09/2013.
The formula has been altered for confidentiality, so excuse me if I have the < and > the wrong way round.
thank you for helping
____________
Pendle