Pau Lo
asked on
excel column of data export format
Is there any possible to way to achieve the following.
I have an excel spreadsheet with a single column of data (in column A), the values are text/numerical, e.g. E45678, F45679. I need a way to export all the values to a text file into the following format:
('first cell of data', 'second cell of data', third cell of data')
ready for importing into a where clause on an external RDBMS. Is this possible? I know there is concatenate but with upwards of several hundred entries it would take an age to write such a formula, I need something more automated.
I have an excel spreadsheet with a single column of data (in column A), the values are text/numerical, e.g. E45678, F45679. I need a way to export all the values to a text file into the following format:
('first cell of data', 'second cell of data', third cell of data')
ready for importing into a where clause on an external RDBMS. Is this possible? I know there is concatenate but with upwards of several hundred entries it would take an age to write such a formula, I need something more automated.
Can you upload sample? Both files: excel source and text file with result.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
PS If you need the values bound by apostrophes:
B1: ="'"&A1&"'"
B2: =B1&","&"'"&A2&"'" (copied down)
-Glenn
B1: ="'"&A1&"'"
B2: =B1&","&"'"&A2&"'" (copied down)
-Glenn
If I understand the question, Glen Ray has it the "nail on the head". I have used that formula many times.