简体   繁体   English

仅当单元格 1 包含“x”且单元格 2 包含“y”时才将行复制到另一个工作表中

[英]Copy rows into another sheet only if the cells1 contains "x" and cell2 contains "y"

i need your help我需要你的帮助

I have a spreadsheet data with columns我有一个带列的电子表格数据

Country, Tel, Priority, Days, name国家、电话、优先级、天数、姓名

I would like to have the rows only with Priority "high" and Days ≥ 0 copied as result on another sheet.我只想将优先级为“高”且天数≥0 的行作为结果复制到另一张纸上。

Any idea how can i do that?知道我该怎么做吗?

2 Questions: 2 问题:

  1. Can i do this without VBA codes?我可以在没有 VBA 代码的情况下做到这一点吗? i mean only with Vlookup, Query ect functions?我的意思是只使用 Vlookup、Query 等功能?

  2. If not how can i use the VBA code in spreadsheet as buttons in excel?如果不是,我如何将电子表格中的 VBA 代码用作 Excel 中的按钮?

Thank you for your help!感谢您的帮助!

Following is the Screenshot of sheet "Data Sheet":以下是表格“数据表”的屏幕截图:

在此处输入图片说明


Following is the Screenshot of sheet "Output":以下是工作表“输出”的屏幕截图:

在此处输入图片说明


I have the following formula in cell A2 of sheet "Output":我在“输出”表的单元格 A2 中有以下公式:

=filter('Data Sheet'!A:E,'Data Sheet'!C:C="high",'Data Sheet'!D:D>=0)

暂无
暂无

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

相关问题 如果单元格包含大于零的值,则将单元格从一张纸复制到另一张纸 - Copy cells from one sheet to another if cell contains a value greater than zero 如果同一行中的不同单元格包含文本,则将单元格复制到另一张工作表 - copy cell to another sheet if a different cell in the same row contains text 如果工作表“ X”中的单元格包含工作表“ y”的名称,请删除行工作表“ x” - Delete row sheet 'x' if cell in sheet 'X' contains name of sheet 'y' 如果工作表1上的单元格A1包含X,则将工作表2中的A1复制到工作表1上的单元格A2 - If cell A1 on sheet1 contains X then copy A1 from sheet2 to cell A2 on sheet 1 将特定行复制到另一张表,即使该行包含一个值 - copy specific rows to another sheet just if row contains a value 如果该单元格包含特定文本,则将单元格从一张工作表复制到另一张工作表 - Copy a cell from one sheet to another sheet if that cell contains a particular text 如果单元格包含一个值,则将数据复制到新工作表 - Copy data to a new sheet if cell contains a value 从工作表获取所有行,然后进入另一工作表,其中每一行包含一个与特定值匹配的单元格 - Get all rows from a sheet, into another sheet, where each row contains a cell matching a certain value 如果单元格包含这个或那个粘贴到另一张纸上 - If Cell Contains This or That Paste onto Another Sheet 如果行包含单词“ Hello”,则将该列中所有已填充的单元格复制到另一张纸上,并将其粘贴到“ A”列中 - If row contains word “Hello” copy all filled cells from that column to another sheet and paste it in column “A”
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM