[英]To Interpret nested if statement in Excel
Can anyone help me to interpret the following nested if statement in Excel? 谁能帮助我解释以下嵌套的if语句在Excel中吗? Thanks.
谢谢。
"The Imputer", "detasian", and "detnphi" are worksheet names of an Excel workbook. “ The Imputer”,“ detasian”和“ detnphi”是Excel工作簿的工作表名称。 cell C9 and cell C10 are user inputs, and cell c16 is a result from an intermediate calculation step.
单元格C9和单元格C10是用户输入,单元格c16是来自中间计算步骤的结果。
"value of cell c17"=IF(C16="A",VLOOKUP('The Imputer'!C9&'The Imputer'!C10,detasian!O23:P40,2,FALSE),IF(C16="P",VLOOKUP('The Imputer'!C9&'The Imputer'!C10,detnhpi!L23:M40,2,FALSE),""))
“单元格c17的值” = IF(C16 =“ A”,VLOOKUP('The Imputer'!C9&'The Imputer'!C10,detasian!O23:P40,2,FALSE),IF(C16 =“ P”,VLOOKUP ('The Imputer'!C9&'The Imputer'!C10,detnhpi!L23:M40,2,FALSE),“”))
A lookup is performed of C9 concatenated with C10, both from sheet The Imputer
in one or other of two ranges, which depending upon whether C16 contains A
or P
, for the exact match in the adjacent column. 在两个区域中的一个或另一个范围内,根据“
The Imputer
表The Imputer
与C10串联的C9进行查找,这取决于C16是否包含A
或P
,以便在相邻列中进行精确匹配。
The range for A
is sheet detasian
O23:P40 and for P
sheet detnhpi
L23:M40. 范围为
A
是片detasian
O23:P40和P
片detnhpi
L23:M40。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.