Reputation: 444
Into a google spreadsheet i want to import a csv data (with IMPORTDATA()
function) that contains some arbitrary (textual) codes. The function tries to (incorrectly) interpret some of those codes as numbers/dates and setting text
as cell format for destination cells doesn't help.
So how to prevent IMPORTDATA()
from automatic text to number/date conversion?
Upvotes: 0
Views: 348
Reputation: 444
After some trial/error i have found that wrapping the function IMPORTDATA()
with ARRAYFORMULA()
seems to prevent this behaviour:
=ARRAYFORMULA(IMPORTDATA("..."))
Upvotes: 1