Using “If cell contains #N/A” as a formula condition.

后端 未结 4 1886
失恋的感觉
失恋的感觉 2021-02-03 16:55

I need help on my Excel sheet. How can I declare the following IF condition properly?

if A1 = \"n/a\" then C1 = B1
else if A1 != \"n/a\" or has valu         


        
4条回答
  •  长发绾君心
    2021-02-03 17:38

    A possible alternative approach in Excel 2010 or later versions:

    AGGREGATE(6,6,A1,B1)

    In AGGREGATE function the first 6 indicates PRODUCT operation and the second 6 denotes "ignore errors"

    [untested]

提交回复
热议问题