#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 361
Default Modify a Formula

Hello All.

I use this formula:
=SUMPRODUCT(--(BOX!A5:A280=Sheet1!B12);--(BOX!I5:I280=TRUE))/COUNTIF(BOX!A5:A280;Sheet1!B12)

The range that it is looking at has values like #NUM! and the formula
returns #NUM!.

Is there a way to modify the formula so that it ignores the #NUM! ?

Thanks you in advance.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Modify a Formula

The range that it is looking at has values like #NUM!

Which range?

BOX!A5:A280
BOX!I5:I280
Sheet1!B12

--
Biff
Microsoft Excel MVP


"carl" wrote in message
...
Hello All.

I use this formula:
=SUMPRODUCT(--(BOX!A5:A280=Sheet1!B12);--(BOX!I5:I280=TRUE))/COUNTIF(BOX!A5:A280;Sheet1!B12)

The range that it is looking at has values like #NUM! and the formula
returns #NUM!.

Is there a way to modify the formula so that it ignores the #NUM! ?

Thanks you in advance.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 361
Default Modify a Formula

Sorry.

The range BOX!I5:I280

"T. Valko" wrote:

The range that it is looking at has values like #NUM!


Which range?

BOX!A5:A280
BOX!I5:I280
Sheet1!B12

--
Biff
Microsoft Excel MVP


"carl" wrote in message
...
Hello All.

I use this formula:
=SUMPRODUCT(--(BOX!A5:A280=Sheet1!B12);--(BOX!I5:I280=TRUE))/COUNTIF(BOX!A5:A280;Sheet1!B12)

The range that it is looking at has values like #NUM! and the formula
returns #NUM!.

Is there a way to modify the formula so that it ignores the #NUM! ?

Thanks you in advance.



.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Modify a Formula

Try this array formula** :

=SUM(IF(Box!A5:A280=Sheet1!B12,IF(ISLOGICAL(Box!I5 :I280),IF(Box!I5:I280=TRUE,1))))/COUNTIF(Box!A5:A280,Sheet1!B12)

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT
key then hit ENTER.

--
Biff
Microsoft Excel MVP


"carl" wrote in message
...
Sorry.

The range BOX!I5:I280

"T. Valko" wrote:

The range that it is looking at has values like #NUM!


Which range?

BOX!A5:A280
BOX!I5:I280
Sheet1!B12

--
Biff
Microsoft Excel MVP


"carl" wrote in message
...
Hello All.

I use this formula:
=SUMPRODUCT(--(BOX!A5:A280=Sheet1!B12);--(BOX!I5:I280=TRUE))/COUNTIF(BOX!A5:A280;Sheet1!B12)

The range that it is looking at has values like #NUM! and the formula
returns #NUM!.

Is there a way to modify the formula so that it ignores the #NUM! ?

Thanks you in advance.



.



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Modify a Formula

Improvement...

We can shorten that a bit and save a few keystrokes:

=SUM(IF(Box!A5:A280=Sheet1!B12,IF(ISLOGICAL(Box!I5 :I280),IF(Box!I5:I280,1))))/COUNTIF(Box!A5:A280,Sheet1!B12)

Still array entered!

Also, you might have to replace the commas with semi-colons as argument
separators depending on your international location.

--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
Try this array formula** :

=SUM(IF(Box!A5:A280=Sheet1!B12,IF(ISLOGICAL(Box!I5 :I280),IF(Box!I5:I280=TRUE,1))))/COUNTIF(Box!A5:A280,Sheet1!B12)

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the
SHIFT key then hit ENTER.

--
Biff
Microsoft Excel MVP


"carl" wrote in message
...
Sorry.

The range BOX!I5:I280

"T. Valko" wrote:

The range that it is looking at has values like #NUM!

Which range?

BOX!A5:A280
BOX!I5:I280
Sheet1!B12

--
Biff
Microsoft Excel MVP


"carl" wrote in message
...
Hello All.

I use this formula:
=SUMPRODUCT(--(BOX!A5:A280=Sheet1!B12);--(BOX!I5:I280=TRUE))/COUNTIF(BOX!A5:A280;Sheet1!B12)

The range that it is looking at has values like #NUM! and the formula
returns #NUM!.

Is there a way to modify the formula so that it ignores the #NUM! ?

Thanks you in advance.


.





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
Modify Formula carl Excel Worksheet Functions 2 November 26th 08 06:24 PM
Modify a formula? tgcali Excel Discussion (Misc queries) 3 September 9th 08 07:43 PM
Modify a Formula carl Excel Worksheet Functions 1 August 25th 08 08:32 PM
Modify A formula carl Excel Worksheet Functions 1 March 14th 06 05:46 PM
Modify a formula Eintsein_mc2 Excel Discussion (Misc queries) 3 September 18th 05 05:43 AM


All times are GMT +1. The time now is 08:33 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"