You can use the CONCATENATE function or the ampersand (&) symbol in Excel to combine columns containing integers into a single column with characters between them. For example, if you have two columns A and B with integers and you want to combine them with a hyphen between them in a new column C, you can use the following formula in cell C1:
=CONCATENATE(A1,"-",B1)
or
=A1&"-"&B1
This will result in a new column C with values like "1-2", "3-4", etc.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2023-06-15 19:16:05 +0000
Seen: 8 times
Last updated: Jun 15 '23
How can I include the hours component to a DateTime column using PowerQuery?
Identify commonalities among the strings in a specific column of a DataFrame.
What is the procedure for using Pandas fillna() method with the column's mode?
How can you use linq to choose a specific column from a datatable?