A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

SumProduct with Date Range and One Condition that is Text



 
 
Thread Tools Display Modes
  #1  
Old September 17th, 2008, 11:54 PM posted to microsoft.public.excel.worksheet.functions
iona
external usenet poster
 
Posts: 17
Default SumProduct with Date Range and One Condition that is Text

Hello to all of you Excel Experts,

HELP, pretty please.

I have 2 formulas I am trying to combine. I had to break them out, to try
and troubleshoot my initial error, #Name?


Both of these formulas worked, but I need them combined. I am pulling from a
different worksheet and working in Excel 2003. I am trying to identify in one
column (Column A) the site visits along with another column (Column E)
looking for a date range of 09/01/08 - 09/30/08. The issue is I have to do a
search because for some reason the names in Column A (Site Visits) were not
picking up when I had the formula combined.

=SUMPRODUCT(--(ISNUMBER(SEARCH('Project KPI Detail'!A15:A35,"Construction
Start"))))

=SUMPRODUCT(--(YEAR('Project KPI
Detail'!$E$16:$E$37)=2008),--(MONTH('Project KPI Detail'!$E$16:$E$37)=9))

Thank you,
The Novice
  #2  
Old September 18th, 2008, 12:09 AM posted to microsoft.public.excel.worksheet.functions
Teethless mama
external usenet poster
 
Posts: 3,722
Default SumProduct with Date Range and One Condition that is Text

Make sure all your ranges have the size


"Iona" wrote:

Hello to all of you Excel Experts,

HELP, pretty please.

I have 2 formulas I am trying to combine. I had to break them out, to try
and troubleshoot my initial error, #Name?


Both of these formulas worked, but I need them combined. I am pulling from a
different worksheet and working in Excel 2003. I am trying to identify in one
column (Column A) the site visits along with another column (Column E)
looking for a date range of 09/01/08 - 09/30/08. The issue is I have to do a
search because for some reason the names in Column A (Site Visits) were not
picking up when I had the formula combined.

=SUMPRODUCT(--(ISNUMBER(SEARCH('Project KPI Detail'!A15:A35,"Construction
Start"))))

=SUMPRODUCT(--(YEAR('Project KPI
Detail'!$E$16:$E$37)=2008),--(MONTH('Project KPI Detail'!$E$16:$E$37)=9))

Thank you,
The Novice

  #3  
Old September 18th, 2008, 12:34 AM posted to microsoft.public.excel.worksheet.functions
Teethless mama
external usenet poster
 
Posts: 3,722
Default SumProduct with Date Range and One Condition that is Text

Make sure all your ranges have the same size

"Teethless mama" wrote:

Make sure all your ranges have the size


"Iona" wrote:

Hello to all of you Excel Experts,

HELP, pretty please.

I have 2 formulas I am trying to combine. I had to break them out, to try
and troubleshoot my initial error, #Name?


Both of these formulas worked, but I need them combined. I am pulling from a
different worksheet and working in Excel 2003. I am trying to identify in one
column (Column A) the site visits along with another column (Column E)
looking for a date range of 09/01/08 - 09/30/08. The issue is I have to do a
search because for some reason the names in Column A (Site Visits) were not
picking up when I had the formula combined.

=SUMPRODUCT(--(ISNUMBER(SEARCH('Project KPI Detail'!A15:A35,"Construction
Start"))))

=SUMPRODUCT(--(YEAR('Project KPI
Detail'!$E$16:$E$37)=2008),--(MONTH('Project KPI Detail'!$E$16:$E$37)=9))

Thank you,
The Novice

  #4  
Old September 18th, 2008, 04:48 PM posted to microsoft.public.excel.worksheet.functions
iona
external usenet poster
 
Posts: 17
Default SumProduct with Date Range and One Condition that is Text - Urgent

Thanks for the Range check. However, I am still experiencing issues combing
the 2 formulas below as one. Would you be able to assist me on the structure
to make it one formula? I appreciate any help. Also, this is now due this
morning.


=SUMPRODUCT(--(ISNUMBER(SEARCH('Project KPI Detail'!A16:A37,"Construction
Start"))))

=SUMPRODUCT(--(YEAR('Project KPI
Detail'!$E$16:$E$37)=2008),--(MONTH('Project KPI Detail'!$E$16:$E$37)=9))

"Teethless mama" wrote:

Make sure all your ranges have the same size

"Teethless mama" wrote:

Make sure all your ranges have the size


"Iona" wrote:

Hello to all of you Excel Experts,

HELP, pretty please.

I have 2 formulas I am trying to combine. I had to break them out, to try
and troubleshoot my initial error, #Name?


Both of these formulas worked, but I need them combined. I am pulling from a
different worksheet and working in Excel 2003. I am trying to identify in one
column (Column A) the site visits along with another column (Column E)
looking for a date range of 09/01/08 - 09/30/08. The issue is I have to do a
search because for some reason the names in Column A (Site Visits) were not
picking up when I had the formula combined.

=SUMPRODUCT(--(ISNUMBER(SEARCH('Project KPI Detail'!A15:A35,"Construction
Start"))))

=SUMPRODUCT(--(YEAR('Project KPI
Detail'!$E$16:$E$37)=2008),--(MONTH('Project KPI Detail'!$E$16:$E$37)=9))

Thank you,
The Novice

  #5  
Old September 18th, 2008, 07:37 PM posted to microsoft.public.excel.worksheet.functions
T. Valko
external usenet poster
 
Posts: 15,759
Default SumProduct with Date Range and One Condition that is Text - Urgent

In the SEARCH function I think you have the arguments backwards.

SEARCH syntax (in plain English):

SEARCH("search for what",search where,[optional: start search at character
number])

Try this:

=SUMPRODUCT(--(ISNUMBER(SEARCH("Construction Start",'Project KPI
Detail'!A16:A37))),--(YEAR('Project KPI
Detail'!$E$16:$E$37)=2008),--(MONTH('Project KPI Detail'!$E$16:$E$37)=9))


--
Biff
Microsoft Excel MVP


"Iona" wrote in message
...
Thanks for the Range check. However, I am still experiencing issues
combing
the 2 formulas below as one. Would you be able to assist me on the
structure
to make it one formula? I appreciate any help. Also, this is now due this
morning.


=SUMPRODUCT(--(ISNUMBER(SEARCH('Project KPI Detail'!A16:A37,"Construction
Start"))))

=SUMPRODUCT(--(YEAR('Project KPI
Detail'!$E$16:$E$37)=2008),--(MONTH('Project KPI Detail'!$E$16:$E$37)=9))

"Teethless mama" wrote:

Make sure all your ranges have the same size

"Teethless mama" wrote:

Make sure all your ranges have the size


"Iona" wrote:

Hello to all of you Excel Experts,

HELP, pretty please.

I have 2 formulas I am trying to combine. I had to break them out, to
try
and troubleshoot my initial error, #Name?


Both of these formulas worked, but I need them combined. I am pulling
from a
different worksheet and working in Excel 2003. I am trying to
identify in one
column (Column A) the site visits along with another column (Column
E)
looking for a date range of 09/01/08 - 09/30/08. The issue is I have
to do a
search because for some reason the names in Column A (Site Visits)
were not
picking up when I had the formula combined.

=SUMPRODUCT(--(ISNUMBER(SEARCH('Project KPI
Detail'!A15:A35,"Construction
Start"))))

=SUMPRODUCT(--(YEAR('Project KPI
Detail'!$E$16:$E$37)=2008),--(MONTH('Project KPI
Detail'!$E$16:$E$37)=9))

Thank you,
The Novice



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:17 PM.


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