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

I've got a fairly complicated sumproduct and I can't seem to get anything but
a value error.

This is what I have

=SUMPRODUCT(--('2009'!Region_All=$A31),--(IF(ISNUMBER('2009'!Due_Date),--('2009'!Due_DateF$3))))

The named ranges are dynamic ranges
I've got the region part working.
What I want to find is data in the range Due_Date that is than F3 and < F3
+ 2 months. I just can't figure it out. Also, in Due_Date, I've got
numerics and N/A.

Can Someone assist?

Thanks,
Barb Reinhardt
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Sumproduct

in Due_Date I've got numerics and N/A.

Assuming the N/A is a TEXT string and not the error #N/A.

Use another cell to calculate < F3+2 months:

=EDATE(F3,2)

EDATE requires the Analysis ToolPak add-in be installed for Excel versions
prior to Excel 2007. If you get a #NAME? error see Excel help on the EDATE
function and it'll tell you how to correct it.

Assume that formula is in G3.

Then:

=SUMPRODUCT(--('2009'!Region_All=$A31),--('2009'!Due_DateF$3),--('2009'!Due_Date<G$3))

--
Biff
Microsoft Excel MVP


"Barb Reinhardt" wrote in message
...
I've got a fairly complicated sumproduct and I can't seem to get anything
but
a value error.

This is what I have

=SUMPRODUCT(--('2009'!Region_All=$A31),--(IF(ISNUMBER('2009'!Due_Date),--('2009'!Due_DateF$3))))

The named ranges are dynamic ranges
I've got the region part working.
What I want to find is data in the range Due_Date that is than F3 and <
F3
+ 2 months. I just can't figure it out. Also, in Due_Date, I've got
numerics and N/A.

Can Someone assist?

Thanks,
Barb Reinhardt



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

'Assuming the N/A is a TEXT string and not the error #N/A.

I wish we could assume this, but I've got the error #N/A in those cells.

"T. Valko" wrote:

in Due_Date I've got numerics and N/A.


Assuming the N/A is a TEXT string and not the error #N/A.

Use another cell to calculate < F3+2 months:

=EDATE(F3,2)

EDATE requires the Analysis ToolPak add-in be installed for Excel versions
prior to Excel 2007. If you get a #NAME? error see Excel help on the EDATE
function and it'll tell you how to correct it.

Assume that formula is in G3.

Then:

=SUMPRODUCT(--('2009'!Region_All=$A31),--('2009'!Due_DateF$3),--('2009'!Due_Date<G$3))

--
Biff
Microsoft Excel MVP


"Barb Reinhardt" wrote in message
...
I've got a fairly complicated sumproduct and I can't seem to get anything
but
a value error.

This is what I have

=SUMPRODUCT(--('2009'!Region_All=$A31),--(IF(ISNUMBER('2009'!Due_Date),--('2009'!Due_DateF$3))))

The named ranges are dynamic ranges
I've got the region part working.
What I want to find is data in the range Due_Date that is than F3 and <
F3
+ 2 months. I just can't figure it out. Also, in Due_Date, I've got
numerics and N/A.

Can Someone assist?

Thanks,
Barb Reinhardt




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

Never mind. I got rid of the N/A#'s in my source data.

"T. Valko" wrote:

in Due_Date I've got numerics and N/A.


Assuming the N/A is a TEXT string and not the error #N/A.

Use another cell to calculate < F3+2 months:

=EDATE(F3,2)

EDATE requires the Analysis ToolPak add-in be installed for Excel versions
prior to Excel 2007. If you get a #NAME? error see Excel help on the EDATE
function and it'll tell you how to correct it.

Assume that formula is in G3.

Then:

=SUMPRODUCT(--('2009'!Region_All=$A31),--('2009'!Due_DateF$3),--('2009'!Due_Date<G$3))

--
Biff
Microsoft Excel MVP


"Barb Reinhardt" wrote in message
...
I've got a fairly complicated sumproduct and I can't seem to get anything
but
a value error.

This is what I have

=SUMPRODUCT(--('2009'!Region_All=$A31),--(IF(ISNUMBER('2009'!Due_Date),--('2009'!Due_DateF$3))))

The named ranges are dynamic ranges
I've got the region part working.
What I want to find is data in the range Due_Date that is than F3 and <
F3
+ 2 months. I just can't figure it out. Also, in Due_Date, I've got
numerics and N/A.

Can Someone assist?

Thanks,
Barb Reinhardt




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

Ok, try this array formula** :

=SUM(IF('2009'!Region_All=$A31,IF(ISNUMBER('2009'! Due_Date),('2009'Due_DateF$3)*('2009'!Due_Date<G$ 3))))

** 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


"Barb Reinhardt" wrote in message
...
'Assuming the N/A is a TEXT string and not the error #N/A.

I wish we could assume this, but I've got the error #N/A in those cells.

"T. Valko" wrote:

in Due_Date I've got numerics and N/A.


Assuming the N/A is a TEXT string and not the error #N/A.

Use another cell to calculate < F3+2 months:

=EDATE(F3,2)

EDATE requires the Analysis ToolPak add-in be installed for Excel
versions
prior to Excel 2007. If you get a #NAME? error see Excel help on the
EDATE
function and it'll tell you how to correct it.

Assume that formula is in G3.

Then:

=SUMPRODUCT(--('2009'!Region_All=$A31),--('2009'!Due_DateF$3),--('2009'!Due_Date<G$3))

--
Biff
Microsoft Excel MVP


"Barb Reinhardt" wrote in
message
...
I've got a fairly complicated sumproduct and I can't seem to get
anything
but
a value error.

This is what I have

=SUMPRODUCT(--('2009'!Region_All=$A31),--(IF(ISNUMBER('2009'!Due_Date),--('2009'!Due_DateF$3))))

The named ranges are dynamic ranges
I've got the region part working.
What I want to find is data in the range Due_Date that is than F3 and
<
F3
+ 2 months. I just can't figure it out. Also, in Due_Date, I've got
numerics and N/A.

Can Someone assist?

Thanks,
Barb Reinhardt








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

I think I may remember the issue. The dynamic ranges are defined with OFFSET
and I have a feeling I can't use array formulas with dynamic ranges defined
this way.

Thanks for your help.

"T. Valko" wrote:

Ok, try this array formula** :

=SUM(IF('2009'!Region_All=$A31,IF(ISNUMBER('2009'! Due_Date),('2009'Due_DateF$3)*('2009'!Due_Date<G$ 3))))

** 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


"Barb Reinhardt" wrote in message
...
'Assuming the N/A is a TEXT string and not the error #N/A.

I wish we could assume this, but I've got the error #N/A in those cells.

"T. Valko" wrote:

in Due_Date I've got numerics and N/A.

Assuming the N/A is a TEXT string and not the error #N/A.

Use another cell to calculate < F3+2 months:

=EDATE(F3,2)

EDATE requires the Analysis ToolPak add-in be installed for Excel
versions
prior to Excel 2007. If you get a #NAME? error see Excel help on the
EDATE
function and it'll tell you how to correct it.

Assume that formula is in G3.

Then:

=SUMPRODUCT(--('2009'!Region_All=$A31),--('2009'!Due_DateF$3),--('2009'!Due_Date<G$3))

--
Biff
Microsoft Excel MVP


"Barb Reinhardt" wrote in
message
...
I've got a fairly complicated sumproduct and I can't seem to get
anything
but
a value error.

This is what I have

=SUMPRODUCT(--('2009'!Region_All=$A31),--(IF(ISNUMBER('2009'!Due_Date),--('2009'!Due_DateF$3))))

The named ranges are dynamic ranges
I've got the region part working.
What I want to find is data in the range Due_Date that is than F3 and
<
F3
+ 2 months. I just can't figure it out. Also, in Due_Date, I've got
numerics and N/A.

Can Someone assist?

Thanks,
Barb Reinhardt






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

I have a feeling I can't use array formulas with
dynamic ranges defined this way.


You can as long as each dynamic range is properly defined to be the same
size. For example, Region_All must be the same size as Due_Date.

I see in your other reply you got rid of the #N/A errors. That is usually
the best option but sometimes you might want the errors for whatever reason
and in these cases it's good to have/know a way to account for those in
formulas.

--
Biff
Microsoft Excel MVP


"Barb Reinhardt" wrote in message
...
I think I may remember the issue. The dynamic ranges are defined with
OFFSET
and I have a feeling I can't use array formulas with dynamic ranges
defined
this way.

Thanks for your help.

"T. Valko" wrote:

Ok, try this array formula** :

=SUM(IF('2009'!Region_All=$A31,IF(ISNUMBER('2009'! Due_Date),('2009'Due_DateF$3)*('2009'!Due_Date<G$ 3))))

** 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


"Barb Reinhardt" wrote in
message
...
'Assuming the N/A is a TEXT string and not the error #N/A.

I wish we could assume this, but I've got the error #N/A in those
cells.

"T. Valko" wrote:

in Due_Date I've got numerics and N/A.

Assuming the N/A is a TEXT string and not the error #N/A.

Use another cell to calculate < F3+2 months:

=EDATE(F3,2)

EDATE requires the Analysis ToolPak add-in be installed for Excel
versions
prior to Excel 2007. If you get a #NAME? error see Excel help on the
EDATE
function and it'll tell you how to correct it.

Assume that formula is in G3.

Then:

=SUMPRODUCT(--('2009'!Region_All=$A31),--('2009'!Due_DateF$3),--('2009'!Due_Date<G$3))

--
Biff
Microsoft Excel MVP


"Barb Reinhardt" wrote in
message
...
I've got a fairly complicated sumproduct and I can't seem to get
anything
but
a value error.

This is what I have

=SUMPRODUCT(--('2009'!Region_All=$A31),--(IF(ISNUMBER('2009'!Due_Date),--('2009'!Due_DateF$3))))

The named ranges are dynamic ranges
I've got the region part working.
What I want to find is data in the range Due_Date that is than F3
and
<
F3
+ 2 months. I just can't figure it out. Also, in Due_Date, I've
got
numerics and N/A.

Can Someone assist?

Thanks,
Barb Reinhardt








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
Sumproduct with Condition OR Sumproduct with ADDRESS function - HE gholly Excel Discussion (Misc queries) 2 September 28th 09 05:07 PM
Conditional SUMPRODUCT or SUMPRODUCT with Filters Ted M H Excel Worksheet Functions 4 August 14th 08 07:50 PM
sumproduct? sumif(sumproduct)? David Excel Worksheet Functions 3 July 13th 07 07:06 PM
SumProduct Moz Excel Discussion (Misc queries) 5 December 25th 06 01:09 PM
SUMPRODUCT help TiaB Excel Worksheet Functions 1 September 27th 06 02:54 AM


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