Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
jeremy via OfficeKB.com
 
Posts: n/a
Default sumif on multiple pages?---not just one page

Here's a function that summarize cells on one page--but I don't know how to
make it summarize on multiple pages....

=SUMIF('1'!$C$15:$C$71,"MC*",'1'!$H$15:$H$71)*2.20 462

Any help?

Jeremy

--
Message posted via http://www.officekb.com
  #2   Report Post  
Manish Bajpai
 
Posts: n/a
Default

Please use sumproduct formula which will be :

=(sumproduct((Page1(rangeA="MC)*(rangeB))*2.20462) +(sumproduct((Page2(rangeA="MC)*(rangeB))*2.20462) +(sumproduct((Page3(rangeA="MC)*(rangeB))*2.20462)

Where rangeA = $C$15:$C$71
and rangeB = $H$15:$H$71

Thanks,

Manish Bajpai



"jeremy via OfficeKB.com" wrote:

Here's a function that summarize cells on one page--but I don't know how to
make it summarize on multiple pages....

=SUMIF('1'!$C$15:$C$71,"MC*",'1'!$H$15:$H$71)*2.20 462

Any help?

Jeremy

--
Message posted via http://www.officekb.com

  #3   Report Post  
jeremy via OfficeKB.com
 
Posts: n/a
Default

I'm just interested in summing the cells that contain "MC" in the range i
defined, but wasn't sure how to do more than one page....

Is sumproduct the function for this???

thanks
jeremy

--
Message posted via http://www.officekb.com
  #4   Report Post  
Domenic
 
Posts: n/a
Default

Try...

=SUMPRODUCT(SUMIF(INDIRECT("'"&ROW(INDIRECT(A1&":" &B1))&"'!C15:C71"),"MC*
",INDIRECT("'"&ROW(INDIRECT(A1&":"&B1))&"'!H15:H71 "))*2)

....where A1 contains your number for your first sheet/page, such as 1,
and B1 contains your number for your last sheet/page, such as 12.

Hope this helps!

In article ,
"jeremy via OfficeKB.com" wrote:

Here's a function that summarize cells on one page--but I don't know how to
make it summarize on multiple pages....

=SUMIF('1'!$C$15:$C$71,"MC*",'1'!$H$15:$H$71)*2.20 462

Any help?

Jeremy

  #5   Report Post  
Harlan Grove
 
Posts: n/a
Default

"Manish Bajpai" wrote...
Please use sumproduct formula which will be :

=(sumproduct((Page1(rangeA="MC)*(rangeB))*2.20462 )
+(sumproduct((Page2(rangeA="MC)*(rangeB))*2.20462 )
+(sumproduct((Page3(rangeA="MC)*(rangeB))*2.20462 )

....

What the heck is Page1(..), Page2(..) and Page3(..)? Answer: syntactically,
Excel would treat them as function calls. Since they're not built-in
functions, Excel would attempt to resolve them as udfs. However, you failed
to include the necessary code for these udfs (or mention that they'd need to
be udfs), so your wonderful formula would return a #NAME? error.

Do you know what you're doing?


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
ONE PAGE REPORT WANTS TO PRINT 1311 pages in each copy, WHY? G'pa Woody Excel Discussion (Misc queries) 2 May 10th 05 05:45 PM
My scaling is set to print 1x1 pages. But it prints 1000's of page Graeme Excel Worksheet Functions 0 March 23rd 05 01:15 AM
need to reducing pages....i need to put the bottom part of a page. OhMyGodDeniGetAGrip Excel Discussion (Misc queries) 3 March 16th 05 03:48 PM
adding a new page break to an existing page break Edward Letendre Excel Discussion (Misc queries) 1 March 6th 05 09:29 AM
combining multiple pages from Web automatically Terri and Rob Excel Discussion (Misc queries) 1 December 5th 04 11:09 PM


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