Grouping certain values associated with a specified value/criteria

Anithmuk

New Member
Joined
May 6, 2011
Messages
3
So I have about 5 columns of data each with 200 values, is there a way of finding and/or grouping all the values in one column that are associated with a value in another column?

So for example, column 2 says 'number of days' and column 4 says 'expenditure'. Is there a way to find all the values in the expenditure column that correspond to a value of '2' in the number of days column? Preferably in a way that groups the expenditure values to allow easy calculations of the sum,range, average, etc.

Thanks.
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Try something like...

Control+shift+enter, not just enter:

=SUM(IF(DaysRange=2,IF(CategoryRange="Expenditure",ValueRange)))

Also a good option: Run a pivot table on your data.
 
Upvote 0
Hmmm didn't quite work, I guess I'm doing something wrong (I don't know much about excel).

What does a pivot table do?

Thanks.
 
Upvote 0

Forum statistics

Threads
1,224,585
Messages
6,179,704
Members
452,938
Latest member
babeneker

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