Converting column values to a single row separated by commas, is needed by some applications to iterate thru the values. Some automation tools, require such format.
Example image below, shows A1 to A35 a list of Server Name. 35 rows is just an example or a demonstration it can easily become hundred of rows or more depending on the actual servers or data in the environment.
To convert the rows to a single row separated by a comma, can easily be done using Excel. Excel 2019 and above is needed for the TEXTJOIN formula.
Example image below, shows how to convert the Column values to a single row with comma as a delimiter.
Formula is: =TEXTJOIN(",", TRUE, A1:A35)
"," means separate the data with a comma
"TRUE" means don't include empty spaces
A1:A35 the range of values that will be converted to a single row with comma as a delimiter
Image below shows the output after the formula process the data.
Once you have the data as desired, just copy and feed the data to any application or automation tools that needs it.
Psalm 46:10 - Be still, and know that I am God.
Trust the process and enjoy the journey, your Prayers will be answered in God's time. Be strong and keep the faith.
Example image below, shows A1 to A35 a list of Server Name. 35 rows is just an example or a demonstration it can easily become hundred of rows or more depending on the actual servers or data in the environment.
To convert the rows to a single row separated by a comma, can easily be done using Excel. Excel 2019 and above is needed for the TEXTJOIN formula.
Example image below, shows how to convert the Column values to a single row with comma as a delimiter.
Formula is: =TEXTJOIN(",", TRUE, A1:A35)
"," means separate the data with a comma
"TRUE" means don't include empty spaces
A1:A35 the range of values that will be converted to a single row with comma as a delimiter
Image below shows the output after the formula process the data.
Once you have the data as desired, just copy and feed the data to any application or automation tools that needs it.
Psalm 46:10 - Be still, and know that I am God.
Trust the process and enjoy the journey, your Prayers will be answered in God's time. Be strong and keep the faith.
Comments
Post a Comment