简体   繁体   English

excel,将多列合并为一行

[英]excel, combine multiple columns into one row

Am new to this so any help would be greatly appreciated. 这是一个新事物,因此任何帮助将不胜感激。 I have an excel spread sheet with multiple columns, and I want to combine several columns into one column but maintain the same row. 我有一个具有多列的excel电子表格,我想将几​​列合并为一列,但要保持同一行。 ie

from:
Name    Address         Phone1          Phone2          Phone3
Joe box 5           123-456-7890    Null            312-778-2564
Sue 3 w 2nd ST.     345-789-3214    156-879-5461    278-444-5687
Mike    box 12          Null            666-879-4518    777-548-9851

To:
name    address     Phone
Joe box 5       123-456-7890
            Null
            312-778-2564
Sue 3 w 2nd ST. 345-789-3214
            156-879-5461
            278-444-5687
Mike    box 12      Null
            666-879-4518
            777-548-9851

Say your information is in columns A and B so: 假设您的信息在A列和B列中,因此:

A | B
1 | z
2 | y
3 | x

To combine A and B in column C you would write the following in cell C1 and copy it down 要在C列中合并A和B,您需要在单元格C1中写入以下内容并将其复制下来

=A1&B1

The final result would be 最终结果将是

A | B | C
1 | z | 1z
2 | y | 2y
3 | x | 3x 

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM