Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Is there a switch I can use with weeknum function that will calculate week
numbers based on UK tax year rather than calender year? TIA Trevor |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try: =INT((A1-DATE(YEAR(A1)-(TEXT(A1,"mdd")+0<406),3,30))/7)
Where A1 houses the date you want to return the weeknum for. Regards Jon von der Heyden -- Email: subst1tut3 numb3rs for l3tt3rs... "Trevor Aiston" wrote: Is there a switch I can use with weeknum function that will calculate week numbers based on UK tax year rather than calender year? TIA Trevor |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I don't think it is straight-forward, a the tax year starts on 5th April,
which could be any day of the week, whereas WEEKNUM functions are based upon a week starting on a particular day. If the week number is solely based upon the start date, then use =INT((target_date-tax_year_start_date)/7)+1 -- HTH Bob Phillips (replace xxxx in the email address with gmail if mailing direct) "Trevor Aiston" wrote in message ... Is there a switch I can use with weeknum function that will calculate week numbers based on UK tax year rather than calender year? TIA Trevor |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try: =INT((A1-DATE(YEAR(A1)-(TEXT(A1,"mdd")+0<406),3,30))/7)
Where A1 houses the date you want to return the week num for. Regards Jon von der Heyden -- Email: subst1tut3 numb3rs for l3tt3rs... "Trevor Aiston" wrote: Is there a switch I can use with weeknum function that will calculate week numbers based on UK tax year rather than calender year? TIA Trevor |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I know which cell a function is called from? | Excel Worksheet Functions | |||
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) | Excel Worksheet Functions | |||
Automatically up date time in a cell | Excel Discussion (Misc queries) | |||
Conversion | Excel Worksheet Functions | |||
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. | Excel Worksheet Functions |