How do i do this without pivot table?

xyz123

Board Regular
Joined
Jun 28, 2006
Messages
77
Hi all

I need help with a particular excel problem.

I have a table which is like follows:

A1 C S1 10
A2 C S2 10
A3 C S1 5
A4 I S1 10


I need to convert this into something like this. The format of the table gets lost when i post but what i want to do but basically i want to count sum of Cs and Sum of Is against S1, S2.

C I
S1 15 5
S2 10 0

I cant use pivot table as i have to do further complex calculations which i cant do on pivot table results.

any ideas please?
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Couldnt edit the initial post but forgot to add that the data will be in one worksheet but results in another sheet (both still in same workbook).
 
Upvote 0
You could create a manual pivot table using SUMIF but that only allows a single criterium to select the items to add. However it is possible by adding a new column to the original data contatenating the C/I and S1/S2 conditions.

On the other hand why not use a pivot table and then extract each item using GETPIVOTDATA into a copy of the pivot table. Any calculations should then be possible.
 
Upvote 0
Why not use the pivottable anyway, and use a (manually created) copy of the pivottable data for any further calculations?
 
Upvote 0
To build the table manually, choose depending on your version of Excel. In each case the formula shown is copied across and down.

Excel Workbook
ABCDEFGH
1A1CS1102007+CI
2A2CS210S11510
3A3CS15S2100
4A4IS110
52003-CI
6S11510
7S2100
Table
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,723
Members
452,939
Latest member
WCrawford

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