Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Combining Totals on Successive Rows Based on Two Criterion


I want to combine the totals of this row and the next "x" rows,
depending on whether Row B (our invoicing 1-1400(which has merged
cells)) matches with Row K (data designation(ie. data1, data2, data3
are the options for Row K), then total from Row O (funds per line).

To do this I have tried the following option, but have run into the
excel too many parameters for calculation constant.

=IF(B20<B13+1,SUMIF(K13:K20,"Rig
11",O13:O20),IF(B19<B13+1,SUMIF(K13:K19,"Rig
11",O13:O19),IF(B18<B13+1,SUMIF(K13:K18,"Rig
11",O13:O18),IF(B17<B13+1,SUMIF(K13:K17,"Rig
11",O13:O17),IF(B16<B13+1,SUMIF(K13:K16,"Rig
11",O13:O16),IF(B15<B13+1,SUMIF(K13:K15,"Rig
11",O13:O15),IF(B14<B13+1,SUMIF(K13:K14,"Rig
11",O13:O14),SUMIF(K13,"Rig 11",O13))))))))

Please help, if you comprehend my question.

thanks,
razorsharpe


--
razorsharpe
------------------------------------------------------------------------
razorsharpe's Profile: http://www.excelforum.com/member.php...o&userid=34336
View this thread: http://www.excelforum.com/showthread...hreadid=568370

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 459
Default Combining Totals on Successive Rows Based on Two Criterion

razorsharpe wrote:
I want to combine the totals of this row and the next "x" rows,
depending on whether Row B (our invoicing 1-1400(which has merged
cells)) matches with Row K (data designation(ie. data1, data2, data3
are the options for Row K), then total from Row O (funds per line).


I think you mean coloumns...


To do this I have tried the following option, but have run into the
excel too many parameters for calculation constant.

=IF(B20<B13+1,SUMIF(K13:K20,"Rig
11",O13:O20),IF(B19<B13+1,SUMIF(K13:K19,"Rig
11",O13:O19),IF(B18<B13+1,SUMIF(K13:K18,"Rig
11",O13:O18),IF(B17<B13+1,SUMIF(K13:K17,"Rig
11",O13:O17),IF(B16<B13+1,SUMIF(K13:K16,"Rig
11",O13:O16),IF(B15<B13+1,SUMIF(K13:K15,"Rig
11",O13:O15),IF(B14<B13+1,SUMIF(K13:K14,"Rig
11",O13:O14),SUMIF(K13,"Rig 11",O13))))))))

Please help, if you comprehend my question.


I don't understand what are you trying to do...

Mybe you could upload an example file to www.savefile.com or to
www.rapidshare.de


--
Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy


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
Insert rows based on specific value bob Excel Worksheet Functions 6 February 29th 08 07:11 PM
Add totals at end of the report with unknow number of rows with VB SITCFanTN New Users to Excel 3 June 4th 06 08:17 PM
Sum Count of Numeric Criterion for LAST 5 Rows Sam via OfficeKB.com Excel Worksheet Functions 5 April 18th 06 06:31 PM
hide rows based on value in cell dummster Excel Discussion (Misc queries) 0 February 15th 06 03:27 PM
Count rows based on multiple criteria Murph Excel Worksheet Functions 1 October 28th 04 07:13 AM


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