#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 50
Default A follow up Question

I have now tried to incorporate the "BOMONTH" formula into the larger
formula below but I am getting #VALUE.

=SUMPRODUCT((dciValueDate<=+$L$64)*(dciValueDate= (EOMONTH($L$64,-1)+1))*(dc
iGBPAmount))

The formula is attempting to sum the amounts in the range dciGBPAmount where
the date in the column dciValueDate is in March 2008. L64 contains the date
31st March 2008.


Any ideas what is wrong with the syntax?

Cheers,

Andrew


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default A follow up Question

Hi,

With the exception of the unnecessary + sign the formula is fine and should
read.

=SUMPRODUCT((dciValueDate<=$L$64)*(dciValueDate=( EOMONTH($L$64,-1)+1))*(dciGBPAmount))

If yoyur getting a Value error then either L64 or the range you are summing
aren't a date and or numbers.

Try this
=isnumber(L64) should evaluate as true and likewise for the sumrange.

Mike

"Andrew Mackenzie" wrote:

I have now tried to incorporate the "BOMONTH" formula into the larger
formula below but I am getting #VALUE.

=SUMPRODUCT((dciValueDate<=+$L$64)*(dciValueDate= (EOMONTH($L$64,-1)+1))*(dc
iGBPAmount))

The formula is attempting to sum the amounts in the range dciGBPAmount where
the date in the column dciValueDate is in March 2008. L64 contains the date
31st March 2008.


Any ideas what is wrong with the syntax?

Cheers,

Andrew



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 50
Default A follow up Question

Thanks Mike,

But I have done as you suggested with ISNUMBER and all are true. I have
also double checked that the range names are correct and, for good order,
removed the unnecessary + sign.

Any other ideas please - this is beginning to drive me nuts!

Cheers
Andrew

..
"Mike H" wrote in message
...
Hi,

With the exception of the unnecessary + sign the formula is fine and

should
read.


=SUMPRODUCT((dciValueDate<=$L$64)*(dciValueDate=( EOMONTH($L$64,-1)+1))*(dci
GBPAmount))

If yoyur getting a Value error then either L64 or the range you are

summing
aren't a date and or numbers.

Try this
=isnumber(L64) should evaluate as true and likewise for the sumrange.

Mike

"Andrew Mackenzie" wrote:

I have now tried to incorporate the "BOMONTH" formula into the larger
formula below but I am getting #VALUE.


=SUMPRODUCT((dciValueDate<=+$L$64)*(dciValueDate= (EOMONTH($L$64,-1)+1))*(dc
iGBPAmount))

The formula is attempting to sum the amounts in the range dciGBPAmount

where
the date in the column dciValueDate is in March 2008. L64 contains the

date
31st March 2008.


Any ideas what is wrong with the syntax?

Cheers,

Andrew





  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 50
Default A follow up Question

OK,

Figured it myself in the end. If anyone's interested, my range names
included the column title - so Mike was spot on.

Cheers,
Andrew

"Andrew Mackenzie" wrote in message
...
Thanks Mike,

But I have done as you suggested with ISNUMBER and all are true. I have
also double checked that the range names are correct and, for good order,
removed the unnecessary + sign.

Any other ideas please - this is beginning to drive me nuts!

Cheers
Andrew

.
"Mike H" wrote in message
...
Hi,

With the exception of the unnecessary + sign the formula is fine and

should
read.



=SUMPRODUCT((dciValueDate<=$L$64)*(dciValueDate=( EOMONTH($L$64,-1)+1))*(dci
GBPAmount))

If yoyur getting a Value error then either L64 or the range you are

summing
aren't a date and or numbers.

Try this
=isnumber(L64) should evaluate as true and likewise for the sumrange.

Mike

"Andrew Mackenzie" wrote:

I have now tried to incorporate the "BOMONTH" formula into the larger
formula below but I am getting #VALUE.



=SUMPRODUCT((dciValueDate<=+$L$64)*(dciValueDate= (EOMONTH($L$64,-1)+1))*(dc
iGBPAmount))

The formula is attempting to sum the amounts in the range dciGBPAmount

where
the date in the column dciValueDate is in March 2008. L64 contains

the
date
31st March 2008.


Any ideas what is wrong with the syntax?

Cheers,

Andrew







  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default A follow up Question

Hi,

There's nothing else I'm aware of that would give a value error. Just in
case I never made it completely clear, any text in the sum range even if it's
not actually being summed by the formula will cause a value error so make
sure there are no text values anywhere in dciGBPAmount. Also ranges in
sumproduct cannot be full columns but this would give a NUM error.



Mike


"Andrew Mackenzie" wrote:

Thanks Mike,

But I have done as you suggested with ISNUMBER and all are true. I have
also double checked that the range names are correct and, for good order,
removed the unnecessary + sign.

Any other ideas please - this is beginning to drive me nuts!

Cheers
Andrew

..
"Mike H" wrote in message
...
Hi,

With the exception of the unnecessary + sign the formula is fine and

should
read.


=SUMPRODUCT((dciValueDate<=$L$64)*(dciValueDate=( EOMONTH($L$64,-1)+1))*(dci
GBPAmount))

If yoyur getting a Value error then either L64 or the range you are

summing
aren't a date and or numbers.

Try this
=isnumber(L64) should evaluate as true and likewise for the sumrange.

Mike

"Andrew Mackenzie" wrote:

I have now tried to incorporate the "BOMONTH" formula into the larger
formula below but I am getting #VALUE.


=SUMPRODUCT((dciValueDate<=+$L$64)*(dciValueDate= (EOMONTH($L$64,-1)+1))*(dc
iGBPAmount))

The formula is attempting to sum the amounts in the range dciGBPAmount

where
the date in the column dciValueDate is in March 2008. L64 contains the

date
31st March 2008.


Any ideas what is wrong with the syntax?

Cheers,

Andrew






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
Follow-up AVERAGEIF question Ken[_3_] New Users to Excel 2 April 11th 08 05:45 PM
Follow-up Question for Dave Peterson Roger Excel Discussion (Misc queries) 3 February 28th 08 04:27 PM
Follow-up to Logical Test Question Lance Excel Worksheet Functions 11 March 17th 06 08:14 PM
follow-up question regarding secondary Y-axes Patience Charts and Charting in Excel 1 November 11th 05 01:43 AM
Follow-Up (Clarification) to MIN question Odawg Excel Discussion (Misc queries) 4 October 20th 05 04:04 AM


All times are GMT +1. The time now is 03:52 PM.

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

About Us

"It's about Microsoft Excel"