excel replacement values for N/A

前端 未结 2 738
隐瞒了意图╮
隐瞒了意图╮ 2021-01-22 01:05

I have a row having some values from A1 to A3. I have

1
3
#N/A 

I tried

=SUM(A1:A3)
相关标签:
2条回答
  • 2021-01-22 01:38

    If you are not aware of Aggregate function, you will need to use Array Formulas which can handle this kind of data easily.

    =SUM(IFERROR(A1:A3,0))
    =SUM(IF(ISNUMBER(A1:A3),A1:A3))
    

    Both the formulas above will require a special key stroke Ctrl+Shift+Enter

    0 讨论(0)
  • 2021-01-22 01:45

    The AGGREGATE function is great for ignoring error terms

    =AGGREGATE(9,6,A1:A3)
    

    Check the link I provided for more info but specific to the formula above:

    • 9 represents the SUM formula
    • 6 means ignore error terms (treat as equal to zero)
    0 讨论(0)
提交回复
热议问题