ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Excel date input inconsistancy (https://www.excelbanter.com/excel-discussion-misc-queries/139079-excel-date-input-inconsistancy.html)

PhilM[_2_]

Excel date input inconsistancy
 
I have created a spreadsheet for data collection which is utilising
userforms for this purpose. The data is for the last financial year
(06-07) and the date options in the combo box reflect this (using
month only) When selected though the year changes to 07 from 06 (ie
April 06 as selected becomes April 07) How can I rectify this?


Toppers

Excel date input inconsistancy
 
If financial year is April to March:

To calculate the year :

in say A1:

IF(MONTH<=3,YEAR(TODAY()),YEAR(TODAY())-1)

Where MONTH is your Userform selection.

HTH

"PhilM" wrote:

I have created a spreadsheet for data collection which is utilising
userforms for this purpose. The data is for the last financial year
(06-07) and the date options in the combo box reflect this (using
month only) When selected though the year changes to 07 from 06 (ie
April 06 as selected becomes April 07) How can I rectify this?




All times are GMT +1. The time now is 02:39 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com