Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 145
Default Two Formulas, and a problem with both.....................

I am attempting to look at how many individuals during a specific time frame
(Column M) were admitted to our Level 2 program (Column J). The formula I
have below does not seem to be working, as I end up with a "0" outcome, and I
know that I have 4 people who were admitted to Level 2. Thus, I suspect there
is something wrong with the formula I have written below. Any help would be
appreciated:

=SUMPRODUCT(--('ASAP Database'!$M$4:$M$5000=DATE(2008,1,1)),--('ASAP
Database'!$M$4:$M$5000<=DATE(2008,12,31))*('ASAP
Database'!$J$4:$J$5000="2"))*(ISNUMBER(('ASAP Database'!$J$4:$J$5000)))

The second thing I want to do (in a separate formula), is to look at the
income for this program. The fee is $300.00, so I assume I need to add "*300)
somewhere to achieve that outcome. I couldn't seem to get that either:

=SUMPRODUCT(--('ASAP Database'!$M$4:$M$5000=DATE(2008,1,1)),--('ASAP
Database'!$M$4:$M$5000<=DATE(2008,12,31))*('ASAP
Database'!$J$4:$J$5000="2"))*300,(ISNUMBER(('ASAP Database'!$J$4:$J$5000)))


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 68
Default Two Formulas, and a problem with both.....................

Take the quotes off the "2" (unless it's really a text value), and you also
don't need the ISNUMBER (also, change "*to ""):
=SUMPRODUCT(--('ASAP Database'!$M$4:$M$5000=DATE(2008,1,1)),--('ASAP
Database'!$M$4:$M$5000<=DATE(2008,12,31)),('ASAP Database'!$J$4:$J$5000=2))
Q#2 -- not sure what you want, but looks more like you should multiply the
same formula above by 300:
=300*SUMPRODUCT(--('ASAP Database'!$M$4:$M$5000=DATE(2008,1,1)),--('ASAP
Database'!$M$4:$M$5000<=DATE(2008,12,31)),('ASAP Database'!$J$4:$J$5000=2))


"Dan the Man" wrote in message
...
I am attempting to look at how many individuals during a specific time
frame
(Column M) were admitted to our Level 2 program (Column J). The formula I
have below does not seem to be working, as I end up with a "0" outcome,
and I
know that I have 4 people who were admitted to Level 2. Thus, I suspect
there
is something wrong with the formula I have written below. Any help would
be
appreciated:

=SUMPRODUCT(--('ASAP Database'!$M$4:$M$5000=DATE(2008,1,1)),--('ASAP
Database'!$M$4:$M$5000<=DATE(2008,12,31))*('ASAP
Database'!$J$4:$J$5000="2"))*(ISNUMBER(('ASAP Database'!$J$4:$J$5000)))

The second thing I want to do (in a separate formula), is to look at the
income for this program. The fee is $300.00, so I assume I need to add
"*300)
somewhere to achieve that outcome. I couldn't seem to get that either:

=SUMPRODUCT(--('ASAP Database'!$M$4:$M$5000=DATE(2008,1,1)),--('ASAP
Database'!$M$4:$M$5000<=DATE(2008,12,31))*('ASAP
Database'!$J$4:$J$5000="2"))*300,(ISNUMBER(('ASAP
Database'!$J$4:$J$5000)))



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Two Formulas, and a problem with both.....................

Try this:

To count:
=SUMPRODUCT((YEAR(M4:M5000)=2008)*(J4:J5000=2))

To total:

=SUMPRODUCT((YEAR(M4:M5000)=2008)*(J4:J5000=2))*30 0

Add your path.

--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"Dan the Man" wrote in message
...
I am attempting to look at how many individuals during a specific time frame
(Column M) were admitted to our Level 2 program (Column J). The formula I
have below does not seem to be working, as I end up with a "0" outcome, and
I
know that I have 4 people who were admitted to Level 2. Thus, I suspect
there
is something wrong with the formula I have written below. Any help would be
appreciated:

=SUMPRODUCT(--('ASAP Database'!$M$4:$M$5000=DATE(2008,1,1)),--('ASAP
Database'!$M$4:$M$5000<=DATE(2008,12,31))*('ASAP
Database'!$J$4:$J$5000="2"))*(ISNUMBER(('ASAP Database'!$J$4:$J$5000)))

The second thing I want to do (in a separate formula), is to look at the
income for this program. The fee is $300.00, so I assume I need to add
"*300)
somewhere to achieve that outcome. I couldn't seem to get that either:

=SUMPRODUCT(--('ASAP Database'!$M$4:$M$5000=DATE(2008,1,1)),--('ASAP
Database'!$M$4:$M$5000<=DATE(2008,12,31))*('ASAP
Database'!$J$4:$J$5000="2"))*300,(ISNUMBER(('ASAP Database'!$J$4:$J$5000)))



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 145
Default Two Formulas, and a problem with both.....................

Thanks guys!

"Dan the Man" wrote:

I am attempting to look at how many individuals during a specific time frame
(Column M) were admitted to our Level 2 program (Column J). The formula I
have below does not seem to be working, as I end up with a "0" outcome, and I
know that I have 4 people who were admitted to Level 2. Thus, I suspect there
is something wrong with the formula I have written below. Any help would be
appreciated:

=SUMPRODUCT(--('ASAP Database'!$M$4:$M$5000=DATE(2008,1,1)),--('ASAP
Database'!$M$4:$M$5000<=DATE(2008,12,31))*('ASAP
Database'!$J$4:$J$5000="2"))*(ISNUMBER(('ASAP Database'!$J$4:$J$5000)))

The second thing I want to do (in a separate formula), is to look at the
income for this program. The fee is $300.00, so I assume I need to add "*300)
somewhere to achieve that outcome. I couldn't seem to get that either:

=SUMPRODUCT(--('ASAP Database'!$M$4:$M$5000=DATE(2008,1,1)),--('ASAP
Database'!$M$4:$M$5000<=DATE(2008,12,31))*('ASAP
Database'!$J$4:$J$5000="2"))*300,(ISNUMBER(('ASAP Database'!$J$4:$J$5000)))


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
Problem using average or sum formulas Miki Excel Worksheet Functions 3 August 8th 08 06:28 PM
Copying formulas - problem with the sum dac Excel Worksheet Functions 1 August 3rd 07 03:52 PM
Problem with formulas tufftoy Excel Worksheet Functions 4 July 20th 06 12:51 PM
Problem setting up formulas David McRitchie New Users to Excel 0 April 6th 05 06:56 PM
Pasting formulas problem HHTV Rich Excel Discussion (Misc queries) 3 January 7th 05 12:15 PM


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