I have date information like this:February 1, 2014
. I want to transform them into 2/1/2014
in Google spreadsheet. I have hundreds of dates so that I cannot transform them by hand. What should I do?
Google Sheets – How to Automatically Convert Data
google sheets
Related Topic
- Google Sheets – Combine Text from Rows by Specified Date
- Google-sheets – Convert table data into a list in Google Spreadsheet
- Google Sheets – How to Convert Month-Year Text to Date Format
- Google-sheets – How to retrieve unique rows by an index column in Google Spreadsheet
- Google-sheets – Google sheets spreadsheet will not format date correctly
- Google Sheets – How to Automatically Fill Missing Data
- Google-sheets – Add ‘/’ character in between a number (which should be formatted as a date) and turn it to a date
Best Answer
The
DATEVALUE
and formatting, from the Format menu option, result in the following date notation:February 1, 2014
==>01/02/2014
You want, as stated in you question, this:
February 1, 2014
==>02/01/2014
What you need to do is the following:
Conversion
add the following formula at the start position, you want the formula to begin:
![enter image description here](https://i.stack.imgur.com/hwpCv.png)
=ARRAYFORMULA(IF(ISBLANK(A2:A)=TRUE,"",DATEVALUE(TEXT(A2:A, "MM/dd/yyyy"))))
The
TEXT
formula will convert the string into the desired format:month/day/year
. TheDATEVALUE
formula will convert the string into a date. TheISBLANK
formula, in combination with theIF
statement, will only show a result, when the cell/range contains a value. TheARRAYFORMULA
will take on the ranges of theISBLANK
andTEXT
formulas and show the result of that range.Example
I've created an example file for you: How automatically convert data in Google spreadsheet?