Archives

All posts for the month July, 2017

Wanted to translate two-digit years into 4 digit years for the 1900s only.

Two digits were getting written as 35-37 or 40-50 in the spreadsheet.  This needed to be translated to 1935 1936 1937 or 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950.

Or

By creating a file named ‘years’ with two-digit years on each line.

67 80

55 60

45 50

 

Or another way, which would be ran by also creating separate file called ‘years’ in the same format as above.

 

Lastly, I needed the output to be put on the same line so instead of line returns I needed spaces..

 

Which outputs

 

 

Wanted to have Google Sheets do this automatically.  But for now, I’m just using this method and copy/pasting results into the spreadsheet.   If anyone has any suggestions, please let me know.