Mr Excel & excelisfun Trick 57: Extract Many Years from Just Two Years
Loading...
1,822
Loading...
Uploader Comments (ExcelIsFun)
see all
All Comments (16)
-
Some do love the VBA, though!
-
I am like you, though, I always want to solve it myself first. After hanging out at the Mr Excel Message Board for years though, I understand that I almost never get the best most efficient solution, so after i try, I look at other people's cool solutions!
-
I don't think it needs to be that complcated. Watch the video and see if you agree. It basically comes down to LEFT, RIGHT and COLUMNS...
Loading...
Thanks for giving simple way to extract dates.
loyaus 1 year ago
You are welcome!
ExcelIsFun 1 year ago
I like VBA Macro,No much calculation of Formulas no more data added into Excel file.. simply just run the macro and complete My Work..
In Function My Answer is this
=IF(COLUMNS($B$1:B1)<=(RIGHT($A1,4)-LEFT($A1,4)+1),LEFT($A1,4)+COLUMNS($B$1:B1)-1,"")
rajanverma100 1 year ago
Cool!
ExcelIsFun 1 year ago
I like VBA Macro,No much calculation of Formulas no more data added into Excel file.. simply just run the macro and complete My Work..
rajanverma100 1 year ago
Yes, VBA is a great way to go!
ExcelIsFun 1 year ago