How to turn data from an Excel Spreadsheet into a report by dept.

S

SarahT413

I have expenses listed in a spreadsheet and I want to separate the data into
departments in order to give a monthly expense status report to each
department head?
 
B

Bill Ridgeway

SarahT413 said:
I have expenses listed in a spreadsheet and I want to separate the data
into
departments in order to give a monthly expense status report to each
department head?

Another job for Pivot Table!! Have a look at <Data><Pivot Table and Pivot
Chart Report>.

Bill Ridgeway
Computer Solutions
 
S

SarahT413

Thanks, Bill,

But, I've already tried Pivot Tables and Pivot Chart Reports, and it tells
me that the Pivot Table Field Name is not valid and that I need to use data
that is organized as a list with labeled columns (it is). I have tried to
trouble-shoot Pivot Tables to no avail.
 
D

DannyS

Why not use SUMIF?

SUMIF(A:A,"Sales",B:B)

If departments are in col A and costs in col B
 
S

SarahT413

So, I just fooled around with your "SUMIF" code, and realized what it does,
it adds Amounts from only a certain department, but I'm still clueless as to
how to incorporate this into a formatted report by department?
 
G

Gord Dibben

Have you tried Data>Filter>Autofilter to isolate by dept.?

You can copy the visible cells to another sheet or create a Custom View of the
the results of your filter.

Also have a look at the SUBTOTAL function for summing expenses for each dept.
filtered.


Gord Dibben MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top