Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default summing to defined ranges

hi,

Please guide me,
I have numeric data,
61
62
72
34
33
50
30
34
39
60
74
71
54
57
61
67
65
69
58
56
41, i want this data in ranges like 30-40,40-50,50-60,60-70,70-80,..

That is in the above data, range 30-40 will be 170(Sum of the values)

It will be helpful, as i work on large set of numerics max.

Keer




  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default summing to defined ranges

i want this data in ranges like 30-40,40-50,50-60,60-70,70-80,..

Well, the first thing you need to do is eliminate the overlaps. Perhaps you
meant:

30-39,40-49,50-59

To sum the values in the 30-39 range (inclusive):

=SUMIF(A1:A21,"=30")-SUMIF(A1:A21,"39")

Better to use cells to hold the criteria:

C1 = 30
D1 = 39

=SUMIF(A1:A21,"="&C1)-SUMIF(A1:A21,""&D1)

--
Biff
Microsoft Excel MVP


"keerthyV" wrote in message
...
hi,

Please guide me,
I have numeric data,
61
62
72
34
33
50
30
34
39
60
74
71
54
57
61
67
65
69
58
56
41, i want this data in ranges like 30-40,40-50,50-60,60-70,70-80,..

That is in the above data, range 30-40 will be 170(Sum of the values)

It will be helpful, as i work on large set of numerics max.

Keer






  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default summing to defined ranges

Hi,

You can also use a pivot table. Drag the columns of numbers in the data
area and row input area. Now on the pivot table toolbar, click on Group and
supply the 3 inputs in the box

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"keerthyV" wrote in message
...
hi,

Please guide me,
I have numeric data,
61
62
72
34
33
50
30
34
39
60
74
71
54
57
61
67
65
69
58
56
41, i want this data in ranges like 30-40,40-50,50-60,60-70,70-80,..

That is in the above data, range 30-40 will be 170(Sum of the values)

It will be helpful, as i work on large set of numerics max.

Keer




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
Create new list with defined ranges BKO Excel Worksheet Functions 0 June 13th 07 11:35 AM
Create new list with defined ranges BKO Excel Worksheet Functions 0 June 13th 07 11:30 AM
Summing cells defined as Time hh:mm Ed H Excel Discussion (Misc queries) 4 September 30th 06 12:01 AM
dynamic defined ranges Thomas Pike Excel Worksheet Functions 1 September 14th 05 12:29 AM
How do I group data using defined ranges? Yenabi Excel Worksheet Functions 2 May 16th 05 06:33 PM


All times are GMT +1. The time now is 12:47 PM.

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"