Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default if function or lookup??? across a range of cells in a row.

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
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default if function or lookup??? across a range of cells in a row.

=COUNTIF(2:2,NA())+COUNTIF(2:2,0)

--
__________________________________
HTH

Bob

"jwbuyer" wrote in message
...
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



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default if function or lookup??? across a range of cells in a row.

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.

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"jwbuyer" wrote:

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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Function Range Lookup AGAIN! robert Excel Worksheet Functions 3 January 23rd 09 10:40 PM
Function Range Lookup robert Excel Worksheet Functions 2 January 23rd 09 09:33 PM
return range of data from lookup function Boom1 Excel Worksheet Functions 0 August 18th 06 05:13 PM
return range of data from lookup function Boom1 Excel Worksheet Functions 0 August 18th 06 05:13 PM
Limiting the range of a lookup function Dorn Excel Worksheet Functions 5 November 8th 05 01:59 AM


All times are GMT +1. The time now is 12:45 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"