Grouping or sum if

kumar1803

Board Regular
Joined
Jan 7, 2015
Messages
110
Hello

I have some raw data and I would like to sum my profit in the following group:

1. summing all count of negative value in one group

2 summing all count of $0.00 to $500.00

3 Summing all count $501.00 to $1000.00

4. Summing all count $1001.00 to $1500.00

5 summing all count above $1500.00


I need to group the last column on the table below

Acquired DateStock NumberContract DateMakeModelYear Model
Profit Commision Gross Profit
8/5/2015 0:00303611/25/2015 0:00GMCSierra 15002013-4475.08
8/7/2015 0:00304010/26/2015 0:00Toyota4Runner2011-3262.07
8/28/2015 0:00307110/24/2015 0:00ChevroletSilverado 2500HD2014-1645.61
8/6/2015 0:00303911/23/2015 0:00ChevroletSilverado 3500HD2015-708.04
8/19/2015 0:00306011/14/2015 0:00ChevroletSuburban2012-212.91
8/28/2015 0:00307210/29/2015 0:00GMCSavana2014-148.42
8/25/2015 0:00306711/10/2015 0:00ChevroletSilverado 15002015-34.47
8/25/2015 0:00306811/12/2015 0:00JeepWrangler201429.08
8/8/2015 0:00304510/31/2015 0:00ChevroletSuburban2011123.1
9/15/2015 0:00309510/17/2015 0:00RAM15002013147.61
8/18/2015 0:00305911/6/2015 0:00JeepWrangler2012180.17
8/14/2015 0:00305411/2/2015 0:00ChevroletSilverado 15002014382.78
8/5/2015 0:00303810/16/2015 0:00JeepWrangler2012383.87
8/13/2015 0:00305210/24/2015 0:00ToyotaTundra2011471.44
10/17/2015 0:00313211/16/2015 0:00ChevroletSilverado 15002014533.42
8/11/2015 0:00304810/10/2015 0:00RAM15002014535.02
8/25/2015 0:00306510/30/2015 0:00GMCSierra 15002014556.94
8/28/2015 0:00307710/15/2015 0:00ToyotaTundra2010557.45
8/28/2015 0:00307411/16/2015 0:00RAM25002015637.24
8/11/2015 0:00304911/3/2015 0:00RAM35002014874.89
8/15/2015 0:0030569/22/2015 0:00FordRanger2010910.55
8/21/2015 0:00306411/16/2015 0:00DodgeRam 25002009980.45
9/9/2015 0:00309010/26/2015 0:00KiaSorento20121211.32
10/15/2015 0:00312610/24/2015 0:00FordF-15020111245.08
10/27/2015 0:00314811/27/2015 0:00ChevroletSilverado 150020141275.05
8/27/2015 0:00306910/31/2015 0:00ChevroletSilverado 2500HD20121309.18
8/8/2015 0:0030439/26/2015 0:00ToyotaTundra20121417.28
10/8/2015 0:00312111/25/2015 0:00RAM250020141476.1
9/24/2015 0:00310610/12/2015 0:00FordExplorer Sport Trac20081600.83
8/20/2015 0:00306111/7/2015 0:00ChevroletSilverado 150020111636.89
9/9/2015 0:00309110/30/2015 0:00RAM350020121637.35

<colgroup><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
I already tried that. I am trying to use sum or sum if formula to group them in the following order:

< 0.00
$0-$500.00
$501-$999.99
$100.00-$1499.99
above $1500.00
 
Upvote 0
Can you help me build a look up formula in the range below?

< $0.00
$0.00-$499.99
$500.00-$999.99
$1000.00-$1499.99
Above $1500.00

Thanks
 
Upvote 0
I already tried that. I am trying to use sum or sum if formula to group them in the following order:

< 0.00
$0-$500.00
$501-$999.99
$100.00-$1499.99
above $1500.00

Try something like...

=SUMIFS(G:G,G:G,"<0")

=SUMIFS(G:G,G:G,">0",G:G,"<=500")

=SUMIFS(G:G,G:G,">500",G:G,"<=1000")

=SUMIFS(G:G,G:G,">1000",G:G,"<=1500")

=SUMIFS(G:G,G:G,">1500")
 
Upvote 0
Can you help me build a look up formula in the range below?

< $0.00
$0.00-$499.99
$500.00-$999.99
$1000.00-$1499.99
Above $1500.00

Thanks
 
Upvote 0
Can you help me build a look up formula in the range below?

< $0.00
$0.00-$499.99
$500.00-$999.99
$1000.00-$1499.99
Above $1500.00

Thanks

Try...

=SUMIFS(G:G,G:G,"<0")

=SUMIFS(G:G,G:G,">0",G:G,"<500")

=SUMIFS(G:G,G:G,">=500",G:G,"<1000")

=SUMIFS(G:G,G:G,">=1000",G:G,"<1500")

=SUMIFS(G:G,G:G,">=1500")
 
Upvote 0

Forum statistics

Threads
1,215,129
Messages
6,123,214
Members
449,091
Latest member
jeremy_bp001

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top