Populate a spreadsheet from a data set

R

rev

I have a data set from access that I exported into Excel. Now I am trying to
write a formula that will summarize the data based 3 criterias
(appropriation, business org, and expenditure code. So, I want to summarize
all salary data (expenditure code ccs) for appropriation 101, and business
org 11. I have tried an array formula, but I haven't got it to work? Any
suggestions?
 
S

Sean Timmons

Pivot Table would do that for you.
Appropriation on your rows, Business org on columns and expenditures in your
data.

If you really don't want to have pivots, Copy and paste special values
elsewhere to ensure all appropriations and biz orgs are captured in rows and
columns as needed, then make a sumproduct:

Assuming columns in the order listed below:
=sumproduct(--(DataSheet!$A$2:$A$5000=$A2),--(DataSheet!$B$2:$B$5000=B$1),(DataSheet!$C$2:$C$5000=$A2))

where A2 is your first appropriation, B1 is your first biz org.

HTH!
 

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