[英]Excel IF, VLOOKUP, THEN formula across multiple columns
I have 4 columns that I need to compare to produce an output into a 5th column exampled below:我需要比较 4 列,以便将 output 生成到下面示例的第 5 列中:
col1 ![]() |
col2 ![]() |
col3 ![]() |
col4 ![]() |
col5 ![]() |
---|---|---|---|---|
Partner Opportunity![]() |
CLM Driven Lead ![]() |
Pete![]() |
Frank![]() |
|
Partner Opportunity![]() |
Mary![]() |
David![]() |
CLM Driven Lead ![]() |
|
Frank![]() |
Mary![]() |
So far I have tried a combination of different IFs, ORs, ANDs, VLOOKUPs etc. Below are the one's I feel I came the closest to what I am trying to achieve:到目前为止,我已经尝试了不同 IF、OR、AND、VLOOKUP 等的组合。以下是我认为最接近我想要实现的目标:
=IF(AY2="Partner Opportunity",IF(VLOOKUP(D2,BH:BH,1)=D2,"Update Lead Source to CLM Driven Lead",""),"")
=IF(AND(AY229="Partner Opportunity",R229<>"CLM Driven Lead"),IF(OR(ISNUMBER(MATCH(B229,BH:BH,0)))),"Change Lead Source to CLM Driven Lead","NO")
Any help is appreciated!任何帮助表示赞赏!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.