if function or lookup??? across a range of cells in a row.

J

jwbuyer

I have data in a row, that I need to find out when any of the cells in that
row equal either 0, or #N/A.

I am having trouble experimenting with both the if function, an lookup.

my worksheet looks like this for example. Any help would be appreciated
A B C
1 0 0
0 1 5
0 0 0
 
S

Shane Devenshire

Hi,

You can use the following Array formula:

=IF(ISNA(A3:D3),1,SUM(--(A3:D3=0)))

To enter an array you must press Shift+Ctrl+Enter rather than Enter.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top