Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 59
Default Start:Finish with If formula

Hi, I am trying to conditionally sum across multiple tabs. I have a
workbook with about 15 worksheets and I need to sum the amount of
students on each worksheet (cells B9:B27 on every tab) each time for
the respective subject (C:9:C27 on every tab) on my Summary worksheet.
I tried the following formula but am getting a #REF! error

{=SUM(IF(Start:Finish!$C$9:$C$27=A11,Start:Finish! $B$9:$B$27,""))}

This says if C9:C27 = A11 (the subject on my summary worksheet) then
sum B9:B27 and do so on every worksheet from Start:Finish, or at least
thats what I am trying to get it to do. I know this can't be that
difficult but would someone please point me in the right direction?

I would greatly appreciate it!

Thanks in advance,
Brian

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default Start:Finish with If formula

Maybe I'm not understanding you, but why don't you summarize each sheet's
data in its own sheet, and then sum the summaries in a separate sheet?

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"Bongard" wrote:

Hi, I am trying to conditionally sum across multiple tabs. I have a
workbook with about 15 worksheets and I need to sum the amount of
students on each worksheet (cells B9:B27 on every tab) each time for
the respective subject (C:9:C27 on every tab) on my Summary worksheet.
I tried the following formula but am getting a #REF! error

{=SUM(IF(Start:Finish!$C$9:$C$27=A11,Start:Finish! $B$9:$B$27,""))}

This says if C9:C27 = A11 (the subject on my summary worksheet) then
sum B9:B27 and do so on every worksheet from Start:Finish, or at least
thats what I am trying to get it to do. I know this can't be that
difficult but would someone please point me in the right direction?

I would greatly appreciate it!

Thanks in advance,
Brian


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 59
Default Start:Finish with If formula

I thought of that as well, but each worksheet is a template that I
don't want to disturb, it would be ideal if the totals could just be
done on the summary tab.

Thanks for your input though Dave, any other ideas on how to get a
formula like the original to work?

-Brian

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Start:Finish with If formula

Assuming you have three sheets "Sheet1:Sheet3", and a "Summary" sheet

In Summary sheet
=SUMPRODUCT(SUMIF(INDIRECT("Sheet"&{1,2,3}&"!C9:C2 7"),Summary!A11,INDIRECT("Sheet"&{1,2,3}&"!B9:B27" )))


"Bongard" wrote:

Hi, I am trying to conditionally sum across multiple tabs. I have a
workbook with about 15 worksheets and I need to sum the amount of
students on each worksheet (cells B9:B27 on every tab) each time for
the respective subject (C:9:C27 on every tab) on my Summary worksheet.
I tried the following formula but am getting a #REF! error

{=SUM(IF(Start:Finish!$C$9:$C$27=A11,Start:Finish! $B$9:$B$27,""))}

This says if C9:C27 = A11 (the subject on my summary worksheet) then
sum B9:B27 and do so on every worksheet from Start:Finish, or at least
thats what I am trying to get it to do. I know this can't be that
difficult but would someone please point me in the right direction?

I would greatly appreciate it!

Thanks in advance,
Brian


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 59
Default Start:Finish with If formula

I have about 15 sheets, and they are all different people's names for
exmaple "Brrent, Amber, Lisa, Brad" are all different sheets. How then
would the formula look?



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Start:Finish with If formula

First create a list range from A1 to A15 and call it "MySheets" no quote
A1: Brent
A2: Amber
A3: Lisa
and so on...

=SUMPRODUCT(SUMIF(INDIRECT("'"&MySheets&"'!C9:C27" ),A11,INDIRECT("'"&MySheets&"'!B9:B27")))




"Bongard" wrote:

Hi, I am trying to conditionally sum across multiple tabs. I have a
workbook with about 15 worksheets and I need to sum the amount of
students on each worksheet (cells B9:B27 on every tab) each time for
the respective subject (C:9:C27 on every tab) on my Summary worksheet.
I tried the following formula but am getting a #REF! error

{=SUM(IF(Start:Finish!$C$9:$C$27=A11,Start:Finish! $B$9:$B$27,""))}

This says if C9:C27 = A11 (the subject on my summary worksheet) then
sum B9:B27 and do so on every worksheet from Start:Finish, or at least
thats what I am trying to get it to do. I know this can't be that
difficult but would someone please point me in the right direction?

I would greatly appreciate it!

Thanks in advance,
Brian


  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 59
Default Start:Finish with If formula

I copy pasted this exact thing into my cells and it wouldn't work

{=SUMPRODUCT(SUMIF(INDIRECT("'"&MySheets&"'!
C9:C27"),A11,INDIRECT("'"&MySheets&"'!B9:B27"))}

I created the list named my sheets just the way you said, but no go.
I don't really know what I am doing wrong.

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Start:Finish with If formula

My formula doesn't include the curly brackets { }


"Bongard" wrote:

I copy pasted this exact thing into my cells and it wouldn't work

{=SUMPRODUCT(SUMIF(INDIRECT("'"&MySheets&"'!
C9:C27"),A11,INDIRECT("'"&MySheets&"'!B9:B27"))}

I created the list named my sheets just the way you said, but no go.
I don't really know what I am doing wrong.


  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 59
Default Start:Finish with If formula

The curly brackets just make it an array. I tried entering the formula
as an array and normally and still it doesn't work. Anyone have any
ideas on how to use my orignal conditional sum from start:finish?

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
Getting no of hours from start to finish Peter Mount Excel Discussion (Misc queries) 3 September 10th 06 02:11 PM
Start & Finish Time bosox9 Excel Worksheet Functions 0 July 24th 06 10:01 PM
formula to lookup & sum totals, given a start inv.# & finish inv.# Learning the hard way Excel Worksheet Functions 2 May 21st 06 12:53 PM
use Now() in two cells for start and finish times DaveM Excel Worksheet Functions 1 April 5th 06 12:22 AM
template or formula for start time -finish time -total hours ple cc New Users to Excel 1 March 27th 06 06:06 PM


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