Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 112
Default Totalling Subtotals Less Than 1

I am trying to total subtotals, but only if they are less than 1. I've tried
doing
=SUM(G12,G24,G36,G48,G60,G72,G84,G96,G108,G120,G13 2,G144,G156,G168,G180,G192,G204,G216,G228,G240,G25 2,G264,G276,G288,G300,G312),
but it gives me an answer of -12 when I should get 18.

I've also tried
=SUMIF(I12,I24,I36,I48,I60,I72,I84,I96,I108,I120,I 132,I144,I156,I168,I180,I192,I204,I216,I228,I240,I 252,I264,I276,I288,I300,I312,"<1"),
but it results in a "you've entered too many arguments" error.

Please, please, someone help me!!! What is it that I am doing wrong?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Totalling Subtotals Less Than 1

Try it like this:

=SUMPRODUCT(--(MOD(ROW(G12:G312),12)=0),--(G12:G312<1),G12:G312)



"Mickey" wrote:

I am trying to total subtotals, but only if they are less than 1. I've tried
doing
=SUM(G12,G24,G36,G48,G60,G72,G84,G96,G108,G120,G13 2,G144,G156,G168,G180,G192,G204,G216,G228,G240,G25 2,G264,G276,G288,G300,G312),
but it gives me an answer of -12 when I should get 18.

I've also tried
=SUMIF(I12,I24,I36,I48,I60,I72,I84,I96,I108,I120,I 132,I144,I156,I168,I180,I192,I204,I216,I228,I240,I 252,I264,I276,I288,I300,I312,"<1"),
but it results in a "you've entered too many arguments" error.

Please, please, someone help me!!! What is it that I am doing wrong?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Totalling Subtotals Less Than 1

I am trying to total subtotals, but only if they are less than 1.

Try this...

=SUMPRODUCT(--(MOD(ROW(G12:G312)-ROW(G12),12)=0),--(G12:G312<1),G12:G312)

--
Biff
Microsoft Excel MVP


"Mickey" wrote in message
...
I am trying to total subtotals, but only if they are less than 1. I've
tried
doing
=SUM(G12,G24,G36,G48,G60,G72,G84,G96,G108,G120,G13 2,G144,G156,G168,G180,G192,G204,G216,G228,G240,G25 2,G264,G276,G288,G300,G312),
but it gives me an answer of -12 when I should get 18.

I've also tried
=SUMIF(I12,I24,I36,I48,I60,I72,I84,I96,I108,I120,I 132,I144,I156,I168,I180,I192,I204,I216,I228,I240,I 252,I264,I276,I288,I300,I312,"<1"),
but it results in a "you've entered too many arguments" error.

Please, please, someone help me!!! What is it that I am doing wrong?



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
Totalling Dynamic Range Subtotals in Excel 2003 max@SATX Excel Worksheet Functions 6 April 22nd 08 01:18 PM
Subtotals problem: Excel 2003 (not, AFAIK, the nested subtotals bug) AndyCotgreave Excel Discussion (Misc queries) 3 October 24th 07 11:32 AM
Totalling subtotals which occur in unstructured pattern. davidthegolfer Excel Discussion (Misc queries) 0 June 28th 06 10:07 AM
How do I copy an outline w/ subtotals & paste just the subtotals av Excel Discussion (Misc queries) 1 June 20th 05 11:35 PM
Problem with nested subtotals, placing secondary subtotals BELOW . Dawn Cameron Excel Discussion (Misc queries) 1 June 3rd 05 10:13 PM


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