Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 157
Default SUMPRODUCT, count & sum

Need help again please, and I'm going to continue searching through the posts
after asking...

My current formula is:
=SUMPRODUCT(('MTD Stats.xls'!SRV=ADMITS!$A$4)*('MTD
Stats.xls'!DISDAY=ADMITS!B$2))

This works like a charm. Now I also need to SUM the number of discharge
days from another column, in addition to these two. The defined name is
DISDAYS, which summed would give me the total discharge days of all the
patients with a particular service code and discharge date. Can someone help
me with this? Not sure if I've given enough information, if not....just ask
me... and I'll try to be more detailed. Thanks you so much!


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default SUMPRODUCT, count & sum

Is it not .....?

=SUMPRODUCT(('MTD Stats.xls'!SRV=ADMITS!$A$4)*('MTD
Stats.xls'!DISDAY=ADMITS!B$2)*('MTD Stats.xls'!DISDAYS))


"Tasha" wrote:

Need help again please, and I'm going to continue searching through the posts
after asking...

My current formula is:
=SUMPRODUCT(('MTD Stats.xls'!SRV=ADMITS!$A$4)*('MTD
Stats.xls'!DISDAY=ADMITS!B$2))

This works like a charm. Now I also need to SUM the number of discharge
days from another column, in addition to these two. The defined name is
DISDAYS, which summed would give me the total discharge days of all the
patients with a particular service code and discharge date. Can someone help
me with this? Not sure if I've given enough information, if not....just ask
me... and I'll try to be more detailed. Thanks you so much!


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 157
Default SUMPRODUCT, count & sum

yup, that was it. I tried to sum on the end (SUM('MTD Stats.xls'!DISDAYS))
I'm not a math wiz obviously.... I will get this eventually !!! :)
Thanks once again for your help!!!

"Toppers" wrote:

Is it not .....?

=SUMPRODUCT(('MTD Stats.xls'!SRV=ADMITS!$A$4)*('MTD
Stats.xls'!DISDAY=ADMITS!B$2)*('MTD Stats.xls'!DISDAYS))


"Tasha" wrote:

Need help again please, and I'm going to continue searching through the posts
after asking...

My current formula is:
=SUMPRODUCT(('MTD Stats.xls'!SRV=ADMITS!$A$4)*('MTD
Stats.xls'!DISDAY=ADMITS!B$2))

This works like a charm. Now I also need to SUM the number of discharge
days from another column, in addition to these two. The defined name is
DISDAYS, which summed would give me the total discharge days of all the
patients with a particular service code and discharge date. Can someone help
me with this? Not sure if I've given enough information, if not....just ask
me... and I'll try to be more detailed. Thanks you so much!


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 exclude count Dreamstar_1961 Excel Worksheet Functions 1 March 28th 07 03:03 AM
count if or sumproduct? Suddes Excel Discussion (Misc queries) 5 March 15th 07 12:20 PM
Count without SUMPRODUCT Mossi Excel Worksheet Functions 2 December 11th 06 09:22 PM
SUM, COUNT and SUMPRODUCT Epinn Excel Worksheet Functions 7 October 16th 06 04:00 AM
Count if and Sumproduct Brento Excel Discussion (Misc queries) 2 June 20th 06 09:05 PM


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