Excel for summarizing/arranging data

naar

New Member
Joined
Jan 28, 2013
Messages
11
hi, i have been an assignment by my teacher to arrange data in excel. the data is about some type of customer database which contains ID of Customer, Outgoing calls, Incoming calls and sms, each customer ID Making several calls

the data should be arranged in such format
Customer ID Incoming Calls Outgoing Calls SMS Total
32323 2 4 2 8

Please let me what formula should i apply so that Excel automatically calculates, incoming/outgoing/sms per customer id from the large database...

Any help would be appreciated

Regards

A. Kumar
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
You could use something simple like SUMIF or use a PivotTable to summarize the table.
 
Upvote 0
You could use something simple like SUMIF or use a PivotTable to summarize the table.
Thanks dear for the quick answer
actually what i want is not the sum but the frequency of incoming/outgoing calls per customer id... something just like COUNTIF but the problem starts that the type of call (incoming/outgoing) is mentioned in a separate column... I will try pivot table, i will be much thankful if you may provide some basic detail for pivot table...
Thanks once again
 
Upvote 0
hi, i have been an assignment by my teacher to arrange data in excel. the data is about some type of customer database which contains ID of Customer, Outgoing calls, Incoming calls and sms, each customer ID Making several calls

the data should be arranged in such format
Customer ID Incoming Calls Outgoing Calls SMS Total
32323 2 4 2 8

Please let me what formula should i apply so that Excel automatically calculates, incoming/outgoing/sms per customer id from the large database...

Any help would be appreciated

Regards

A. Kumar

May be you want this one... Just type the ID in A2


Sheet3

*ABCDE
1Customer IDIncoming CallsOut Going CallsSMSTotal
21111161282110
3*****
4*****
5Customer IDIncoming CallsOut Going CallsSMSTotal
61111562536
71212453645
81111644555
91255272130
101212114547
111111521219
121212405458

<colgroup><col style="font-weight:bold; width:30px; "><col style="width:102px;"><col style="width:102px;"><col style="width:102px;"><col style="width:102px;"><col style="width:64px;"></colgroup><tbody>
</tbody>

Spreadsheet Formulas
CellFormula
B2=SUMIF(A6:A12,A2,B6:B12)
C2=SUMIF(A6:A12,A2,C6:C12)
D2=SUMIF(A6:A12,A2,D6:D12)
E2=SUM(B2:D2)
E6=SUM(B6:D6)
E7=SUM(B7:D7)
E8=SUM(B8:D8)
E9=SUM(B9:D9)
E10=SUM(B10:D10)
E11=SUM(B11:D11)
E12=SUM(B12:D12)

<tbody>
</tbody>

<tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4
 
Last edited:
Upvote 0
Thanks dear for the quick answer
actually what i want is not the sum but the frequency of incoming/outgoing calls per customer id... something just like COUNTIF but the problem starts that the type of call (incoming/outgoing) is mentioned in a separate column... I will try pivot table, i will be much thankful if you may provide some basic detail for pivot table...
Thanks once again

Please provide a larger sample of how your data is organized (no sensitive information).
 
Upvote 0
May be you want this one... Just type the ID in A2


Sheet3

*ABCDE
1Customer IDIncoming CallsOut Going CallsSMSTotal
21111161282110
3*****
4*****
5Customer IDIncoming CallsOut Going CallsSMSTotal
61111562536
71212453645
81111644555
91255272130
101212114547
111111521219
121212405458

<tbody>
</tbody>

Spreadsheet Formulas
CellFormula
B2=SUMIF(A6:A12,A2,B6:B12)
C2=SUMIF(A6:A12,A2,C6:C12)
D2=SUMIF(A6:A12,A2,D6:D12)
E2=SUM(B2:D2)
E6=SUM(B6:D6)
E7=SUM(B7:D7)
E8=SUM(B8:D8)
E9=SUM(B9:D9)
E10=SUM(B10:D10)
E11=SUM(B11:D11)
E12=SUM(B12:D12)

<tbody>
</tbody>

<tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4



Thanks for the help, this is the result what i want but there is a problem
the data is not in the format as you have supposed
just suppose the data in the left that is 10,000 plus records with more than 700 hundred ids repeating again and again sometimes with 'outgoing' as call type sometimes as 'incoming' and sometimes just 'sms' without anything specified in call type. I have filtered out the unique values, using custom filter, filtered incoming and outgoing, sms list and then used countif function
Customer IDCall TypeService TypeResult
111112OutgoingVoiceCustomerIncoming CalOutgoing CalSMS
98899incomingVoice11112123
23332OutgoingVoice7575231
98899incomingVoice
23332OutgoingVoice
7575OutgoingVoice
3457incomingVoice
7575incomingVoice
98899OutgoingVoice
7575incomingVoice
7575OutgoingVoice
7575sms
7575sms
7575sms

<tbody>
</tbody>

however the list is of about 18000 records with 1800 unique records, and i want to show the number of times each unique record is called, calls or sms as you see in results of my example... Thanks all for the help and quick replies!
 
Upvote 0
What about this one...

Excel Workbook
ABCD
1Customer IDCall TypeService Type
21111OUTGOINGVOICE
32222INCOMINGVOICE
42222INCOMINGVOICE
52222SMS
61111INCOMINGVOICE
72222OUTGOINGVOICE
82222INCOMINGVOICE
92222SMS
101111OUTGOINGVOICE
111111SMS
122222INCOMINGVOICE
131111OUTGOINGVOICE
142222SMS
152222INCOMINGVOICE
161111OUTGOINGVOICE
172222INCOMINGVOICE
18
19Customer IDIncoming CallOut Going CallSMS
201111141
Sheet17
 
Upvote 0
To get unique IDs Paste this formula in A20 and press CTRL+SHIFT+ENTER not just enter

=INDEX($A$2:$A$18,MATCH(0,COUNTIF($A$19:A19,$A$2:$A$18),0))
 
Last edited:
Upvote 0
Another one... paste in A20

=IFERROR(INDEX($A$1:$A$20,MATCH(0,INDEX(COUNTIF($A$1:$A$20,"<"&$A$1:$A$20)-SUMPRODUCT(COUNTIF($A$1:$A$20,"="&A$19:A19)),),0)),"")

PRESS CTRL+SHIFT+ENTER
 
Upvote 0
PROFICIENT, I have tried to apply the above mentioned formulas but I get error, in the count formula it gives error on B$17 and Unique Id also giving me errors. please if possible would you like to email me the excel file in 97-2003 or .xls extension alongwith the formulas that you have applied? Please!
my email ID naar04@yahoo.com
waiting for your response!
 
Upvote 0

Forum statistics

Threads
1,215,559
Messages
6,125,517
Members
449,236
Latest member
Afua

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