#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 114
Default Sumproduct error

Hi

Why am I getting a #VALUE! error in the following.

=SUMPRODUCT(--(D25,F25,H25,J25,L25,N25,P25<""))

Thanks if you can help

Gotroots
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Sumproduct error

Hi,

You didn't say what you expected the formula to do.

Is it this

=COUNTA(D25,F25,H25,J25,L25,N25,P25)


--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Gotroots" wrote:

Hi

Why am I getting a #VALUE! error in the following.

=SUMPRODUCT(--(D25,F25,H25,J25,L25,N25,P25<""))

Thanks if you can help

Gotroots

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default Sumproduct error

Certainly we can help. What do you want the formula to do?

Regards,
Fred

"Gotroots" wrote in message
...
Hi

Why am I getting a #VALUE! error in the following.

=SUMPRODUCT(--(D25,F25,H25,J25,L25,N25,P25<""))

Thanks if you can help

Gotroots


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

Why am I getting a #VALUE! error in the following.
=SUMPRODUCT(--(D25,F25,H25,J25,L25,N25,P25<""))


SUMPRODUCT won't accept discontinuous cell references like that.

Do any of those cells contain formulas that return formula blanks ("") ?

--
Biff
Microsoft Excel MVP


"Gotroots" wrote in message
...
Hi

Why am I getting a #VALUE! error in the following.

=SUMPRODUCT(--(D25,F25,H25,J25,L25,N25,P25<""))

Thanks if you can help

Gotroots



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 114
Default Sumproduct error

Sorry about that.

I want to return a numeric value total based on the specified cells
containing a value.

I had used a previous formula which I modified: =SUMPRODUCT(--(P11:P7799<""))

The above gave a numeric result if 'P' contained a value(s)

So back to the formula I want to use:
=SUMPRODUCT(--(D25,F25,H25,J25,L25,N25,P25<""))

This should display a numeric value based on D25,F25,H25,J25,L25,N25,P25
containing a value.


Example

F25 and N25 contain a value

Result should then be:

2

Hope this is clear

Gotroots



"Mike H" wrote:

Hi,

You didn't say what you expected the formula to do.

Is it this

=COUNTA(D25,F25,H25,J25,L25,N25,P25)


--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Gotroots" wrote:

Hi

Why am I getting a #VALUE! error in the following.

=SUMPRODUCT(--(D25,F25,H25,J25,L25,N25,P25<""))

Thanks if you can help

Gotroots



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default Sumproduct error

Don't you just want Sum? As in:
=SUM(D25,F25,H25,J25,L25,N25,P25)

Sum will ignore blanks and text for you automatically.

Regards,
Fred

"Gotroots" wrote in message
...
Sorry about that.

I want to return a numeric value total based on the specified cells
containing a value.

I had used a previous formula which I modified:
=SUMPRODUCT(--(P11:P7799<""))

The above gave a numeric result if 'P' contained a value(s)

So back to the formula I want to use:
=SUMPRODUCT(--(D25,F25,H25,J25,L25,N25,P25<""))

This should display a numeric value based on D25,F25,H25,J25,L25,N25,P25
containing a value.


Example

F25 and N25 contain a value

Result should then be:

2

Hope this is clear

Gotroots



"Mike H" wrote:

Hi,

You didn't say what you expected the formula to do.

Is it this

=COUNTA(D25,F25,H25,J25,L25,N25,P25)


--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Gotroots" wrote:

Hi

Why am I getting a #VALUE! error in the following.

=SUMPRODUCT(--(D25,F25,H25,J25,L25,N25,P25<""))

Thanks if you can help

Gotroots


  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 114
Default Sumproduct error

Actually the values are all text.

I just want a result returned if where a cell contains any kind of value.

Gotroots

"Fred Smith" wrote:

Don't you just want Sum? As in:
=SUM(D25,F25,H25,J25,L25,N25,P25)

Sum will ignore blanks and text for you automatically.

Regards,
Fred

"Gotroots" wrote in message
...
Sorry about that.

I want to return a numeric value total based on the specified cells
containing a value.

I had used a previous formula which I modified:
=SUMPRODUCT(--(P11:P7799<""))

The above gave a numeric result if 'P' contained a value(s)

So back to the formula I want to use:
=SUMPRODUCT(--(D25,F25,H25,J25,L25,N25,P25<""))

This should display a numeric value based on D25,F25,H25,J25,L25,N25,P25
containing a value.


Example

F25 and N25 contain a value

Result should then be:

2

Hope this is clear

Gotroots



"Mike H" wrote:

Hi,

You didn't say what you expected the formula to do.

Is it this

=COUNTA(D25,F25,H25,J25,L25,N25,P25)


--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Gotroots" wrote:

Hi

Why am I getting a #VALUE! error in the following.

=SUMPRODUCT(--(D25,F25,H25,J25,L25,N25,P25<""))

Thanks if you can help

Gotroots


.

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 114
Default Sumproduct error

Just realised I was trying to crack a nut with a sledgehammer.
The formula =SUMPRODUCT(--(P11:P7799<""))
modified to =SUMPRODUCT(--(D25:P25<""))
was ok to use after all.

Thank you guys anyway.

Gotroots



"Gotroots" wrote:

Actually the values are all text.

I just want a result returned if where a cell contains any kind of value.

Gotroots

"Fred Smith" wrote:

Don't you just want Sum? As in:
=SUM(D25,F25,H25,J25,L25,N25,P25)

Sum will ignore blanks and text for you automatically.

Regards,
Fred

"Gotroots" wrote in message
...
Sorry about that.

I want to return a numeric value total based on the specified cells
containing a value.

I had used a previous formula which I modified:
=SUMPRODUCT(--(P11:P7799<""))

The above gave a numeric result if 'P' contained a value(s)

So back to the formula I want to use:
=SUMPRODUCT(--(D25,F25,H25,J25,L25,N25,P25<""))

This should display a numeric value based on D25,F25,H25,J25,L25,N25,P25
containing a value.


Example

F25 and N25 contain a value

Result should then be:

2

Hope this is clear

Gotroots



"Mike H" wrote:

Hi,

You didn't say what you expected the formula to do.

Is it this

=COUNTA(D25,F25,H25,J25,L25,N25,P25)


--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Gotroots" wrote:

Hi

Why am I getting a #VALUE! error in the following.

=SUMPRODUCT(--(D25,F25,H25,J25,L25,N25,P25<""))

Thanks if you can help

Gotroots


.

  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default Sumproduct error

So then you want to count the cells. Specifically, counta, as in:
=COUNTA(D25,F25,H25,J25,L25,N25,P25)
will count all non-blank cells.

Regards,
Fred


"Gotroots" wrote in message
...
Actually the values are all text.

I just want a result returned if where a cell contains any kind of value.

Gotroots

"Fred Smith" wrote:

Don't you just want Sum? As in:
=SUM(D25,F25,H25,J25,L25,N25,P25)

Sum will ignore blanks and text for you automatically.

Regards,
Fred

"Gotroots" wrote in message
...
Sorry about that.

I want to return a numeric value total based on the specified cells
containing a value.

I had used a previous formula which I modified:
=SUMPRODUCT(--(P11:P7799<""))

The above gave a numeric result if 'P' contained a value(s)

So back to the formula I want to use:
=SUMPRODUCT(--(D25,F25,H25,J25,L25,N25,P25<""))

This should display a numeric value based on
D25,F25,H25,J25,L25,N25,P25
containing a value.


Example

F25 and N25 contain a value

Result should then be:

2

Hope this is clear

Gotroots



"Mike H" wrote:

Hi,

You didn't say what you expected the formula to do.

Is it this

=COUNTA(D25,F25,H25,J25,L25,N25,P25)


--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis
that
introduces the fewest assumptions while still sufficiently answering
the
question.


"Gotroots" wrote:

Hi

Why am I getting a #VALUE! error in the following.

=SUMPRODUCT(--(D25,F25,H25,J25,L25,N25,P25<""))

Thanks if you can help

Gotroots


.


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
#N/A error in sumproduct Joe M. Excel Discussion (Misc queries) 5 December 10th 09 08:15 PM
SUMPRODUCT ERROR ColleenK Excel Discussion (Misc queries) 8 October 29th 09 06:31 PM
Sumproduct DIV/0 Error D Whitney Excel Worksheet Functions 4 April 3rd 09 06:53 PM
SUMPRODUCT #VALUE! Error juliejg1 Excel Worksheet Functions 2 December 13th 07 04:25 PM
Sumproduct error nospaminlich Excel Worksheet Functions 0 March 1st 05 06:48 PM


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