[英]If two range criteria are met, copy a third cell and paste it to another sheet
I have a sheet called "Scores" where I have Column D and J with values from 1-9 in both columns. 我有一个名为“分数”的工作表,其中的D列和J列的值都在1到9之间。
In this same sheet I have a Column A with the corresponding name for that row (ie Andrew). 在同一张纸上,我有一列A,其中具有该行的相应名称(即Andrew)。
What I need to do is basically a matrix with three possible ranges, which are 1-3, 4-6 and 7-9. 我需要做的基本上是一个具有三个可能范围的矩阵,分别是1-3、4-6和7-9。
If D is within 1-3, and simultaneously J is 1-3, Column A for that row will go to a specific range of cells in another sheet called "Box", 如果D在1-3之内,而J在1-3之内,则该行的A列将转到另一张称为“ Box”的工作表中的特定单元格区域,
if D is 1-3 and simultaneously J 4-6, Column A for that row will go to another range of cells in "Box", 如果D为1-3且同时为J 4-6,则该行的A列将转到“框”中的另一个单元格区域,
If D is 1-3 and simultaneously J is 7-9 it will go to another range of cells in "Box". 如果D为1-3,而J为7-9,它将转到“ Box”中的另一个单元格区域。
The same thought process applies to all the different ranges (ie D.3-5 with J.1-3, and so on) 相同的思考过程适用于所有不同的范围(例如,D.3-5和J.1-3等)
I am attaching an example sheet for better clarification. 我附上一个示例表,以进行更好的说明。
Thanks in advanced for the help. 非常感谢您的帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.