Excel/Data Sort out

Advertisement


Question
Sample File
Sample File  
Hi Tom,


Hope this email meets you in perfect health.

Can you please help me analyze how to arrange my data. First
I exported a csv format to excel which works fine. However, I'm confused how to arrange it.

What i really wanted is to let excel do the calculation for all exported file on the other sheet (same excel file).

Currently, I sum up all emails for Name A and all telefon for Name A. Is there a way to let excel look all the range and return all emails and telefon for Name A? Name B and Name C?

Hoping for your good insights.

Thanks,
Bill

Answer
Bill

if you are using excel 2007 or later, then you can use sumifs  this is a new function introduced in Excel 2007.  It allows you to sum on multiple criteria

Assume the left most entry ID is in cell A1 in your example

then in cell I3  (under mail I2 in the row with 1243366 in G3 and Name A in H3) you would place

=SUMIFS($D:$D,$A:$A,$G3,$B:$B,$H3,$C:$C,$I$2)

you can then drag this to the right to J3

then select I3:J3 and drag down next to your data in columns G and H (assuming you will enter unique ID and Agent_Name combinations in column G and H

If you don't want to list the ID and Name combinations, then you should select you data and insert a Pivot Table with ID and Agent_Name as row fields and Medium as the Column field.  Total would be your data field.

If you are not familiar with pivot tables or you need an example of either method, you can send a sample workbook to twogilvy@msn.com with your data and tell me what you want.

--
Regards,
Tom Ogilvy  
About Excel
This topic answers questions related to Microsoft Excel spreadsheet (or workbook) stand-alone or Mircrosoft Office Excel including Excel 2003, Excel 2007, Office 2000, and Office XP. You can get Excel help on Excel formulas(or functions), Excell macros, charting in Excel, advanced features, and the general use of Excel. This does not provide a general Excel tutorial nor the basics of using a spreadsheet. It provides specific answers to using Microsoft Excel only. If you do not see your Excel question answered in this area then please ask an Excel question here

Excel

All Answers


Answers by Expert:


Ask Experts

Volunteer


Tom Ogilvy

Expertise

Selected as an Excel MVP by Microsoft since 1999. Answering Excel questions in Allexperts since its inception in 2001. Able to answer questions on almost all aspects of Excel's internal capabilities. If seeking a VBA solution, please specify that in your question itself so I give you the answer you want. [Excel has weak protection - if you are distributing an application, I don't answer questions on how to protect your project from your users.]

Experience

Extensive experience.

Education/Credentials
Master of Science (MS) degree Operations Research (ORSA)

Awards and Honors
Microsoft MVP in Excel.

©2016 About.com. All rights reserved.