简体   繁体   English

在Excel中将数据从一列移动到另一列,而无需复制/剪切和粘贴

[英]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.

相关问题 Excel 将数据从 1 个工作表复制剪切粘贴到另一个工作表中,状态在工作表 2 新列中更新 - Excel copy cut paste data from 1 sheet to another with a status in updated in sheet 2 new column 如何在两张Excel工作簿之间将数据从一列复制并粘贴到另一张……而不会覆盖目标列的内容。 - how to copy & paste the data from one column to another between two sheets of excel workbook…without overwriting the destination column content..? 将特定数据从一列剪切并粘贴到另一列 - Cut and paste specific data from one column to another 在Excel VBA中将数据从一张纸移动到另一张纸而无需复制粘贴 - Moving data from one sheet to another without copy paste in Excel VBA Excel宏可将数据从一个工作表复制并粘贴到另一工作表 - Excel macro to copy and paste data from one worksheet to another worksheet 将Excel数据复制并粘贴到一列中 - Copy and paste Excel data into one column 使用中断将Excel中的数据从一列粘贴到另一列 - Paste Data in excel from one column to another using breaks 将一列从一个工作簿复制并粘贴到另一个 - Copy and paste a column from one workbook to another Excel VBA,将数据从一个工作表复制并粘贴到另一个工作表,然后删除复制数据源 - Excel VBA, Copy and paste data from one worksheet to another then delete copy data source 将文本单元格从一列剪切并粘贴到另一列 - Cut and paste text cells from one column to another
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM