Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Excel formulas giving #VALUE! error when ported to Mac

Tags:

macos

excel

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)) and it spit out the correct answer. Now the same spreadsheet on a Mac running Excel 2004 for Mac gives that a #VALUE! error. Any thoughts on why?

like image 640
Patrick Avatar asked Jun 20 '09 23:06

Patrick


2 Answers

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.

like image 114
RLi Avatar answered Oct 23 '22 06:10

RLi


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

like image 40
jitter Avatar answered Oct 23 '22 08:10

jitter