Efficiently replace 0 with NA

前端 未结 2 1417
闹比i
闹比i 2021-01-29 02:25

I am trying to find a way to efficiently replace zero with NA() in an Excel formula. I know the following works:

=IF(FORMULA = 0, NA(), FORMU

2条回答
  •  既然无缘
    2021-01-29 02:58

    Calculation and display can occur in two different locations - why merge operations when you don't need to?

    A1 - =Formula
    B1 - =If(A1 = 0, NA(),A1)

提交回复
热议问题