[英]Multi Formula for Excel to IF Equals copy from another cell value
I have been trying multiple formula to get results for Column D as shown below...(column d
is normally empty. I tried matching, if, and lookup formulas and have yet been able to successfully complete the task).我一直在尝试多个公式来获取 D 列的结果,如下所示......( d
列通常为空。我尝试了匹配、if 和查找公式,但还没有能够成功完成任务)。 Column A
contains random ID numbers. A
列包含随机 ID 号。 Column B
contains the "parent id numbers. I need a formula for IF column B
is greater than zero look in column A for that number... THEN copy from column c that cell value. I have used this but wont copy c
value when going down the list =IF(C3>0,LOOKUP(C3,A2:A20001,D2))
B
列包含“父 ID 号。我需要一个公式,如果B
列大于零,在 A 列中查找该数字...然后从 c 列复制该单元格值。我使用过这个但不会复制c
值时向下列表=IF(C3>0,LOOKUP(C3,A2:A20001,D2))
+----------+----------+-----------+----------+
| Column A | Column B | Column C | Column D |
+----------+----------+-----------+----------+
| 279 | 0 | P12345 | |
| 281 | 279 | 69856 | P12345 |
| 282 | 279 | 656898 | P12345 |
| 283 | 0 | 6464845 | |
| 301 | 285 | 12156498 | |
| 322 | 279 | 6588446 | P12345 |
+----------+----------+-----------+----------+
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.