Excel formulas giving #VALUE! error when ported to Mac

后端 未结 4 597
梦如初夏
梦如初夏 2021-01-19 01:48

I want to be able to sum up the number of cells in a range that have a non-null value in them. On a PC running XP and Excel I entered =SUM(IF(G$19:G$1034=\"\",0,1))

相关标签:
4条回答
  • 2021-01-19 01:58

    I realize that the post was mede a long time ago, but i recently and regularly have the same problem - and I always seem to forget the solution: Select the cell or range of cells that contains the array formula, press CONTROL+U to edit the formula, and then press +RETURN.

    0 讨论(0)
  • 2021-01-19 02:03

    You need to enter it as array (matrix) formula. After typing the formula don't hit enter but hit either

    CMD+SHIFT+ENTER or CTRL+SHIFT+ENTER

    Where CMD is the apple key. I'm not sure what the keycombination is on mac. But you can check in the help file. Entering array formula

    0 讨论(0)
  • 2021-01-19 02:10

    I'm not sure if this is mac-specific. I have always used

    =COUNTA(G$19:G$1034)
    

    for this purpose.

    0 讨论(0)
  • 2021-01-19 02:15

    It might be settings that control the separator character. That "," is the separator on one machine and something else, for example ";" is the separator character on the other.

    0 讨论(0)
提交回复
热议问题