[英]Movng data in Excel from one column to another without copy/cut & paste
I have a spreadsheet for purchase orders that have been placed over a period of time. 我有一个电子表格,用于放置一段时间的采购订单。 Depending upon the nature of the order, there are two columns for the vendor the material was ordered from.
根据订单的性质,有两列用于物料的供应商。 One is the Fixed Vendor column & the other is the Desired Vendor column.
一个是“固定供应商”列,另一个是“期望的供应商”列。 As such, if the order was placed using the desired vendor, the vendor number will appear in that column, but not in the fixed vendor column.
这样,如果使用所需的卖方下订单,则卖方编号将显示在该列中,而不是固定的卖方列中。 When I download the spreadsheet, I need a way to combine the two columns so that the vendor numbers show in just one column.
下载电子表格时,我需要一种合并两列的方法,以便供应商编号仅显示在一列中。 Is there a quick way to do this?
有快速的方法吗? I've tried cutting & pasting, but as there can be hundreds of lines per ss, this can be very time-consuming.
我尝试了剪切和粘贴,但是由于每ss可能有数百行,因此这可能非常耗时。
I assume you have at least two columns that matter. 我假设您至少有两列很重要。 In my example I'll name them: A (fixed) B (desired) C (combined column).
在我的示例中,我将其命名为:A(固定)B(所需)C(组合列)。 You may need to create this column.
您可能需要创建此列。
put this in c2: =IF(A2<>"";A17;B17)
将其放在c2中:
=IF(A2<>"";A17;B17)
Please add example of your sheet in an image if this is not what you are looking for. 如果这不是您想要的,请在图像中添加表格的示例。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.