Excel help please.....
 

  You don't need to be an 'investor' to invest in Singletrack: 6 days left: 95% of target - Find out more

[Closed] Excel help please...

6 Posts
3 Users
0 Reactions
41 Views
 DrP
Posts: 12041
Full Member
Topic starter
 

So i'm doing some accounting... I'll simplify for simplicity!

I've table 1:
Column A - cost of item
Column B - 'type or expense' - from a dropdown of 5 predetermined 'types'.

I've table B:
Column E - Type of expense (5 rows, same as the dropdown list!)
Column F - [b]total SUM of this type of expense....[/b].

[b]Column F[/b] is what i'm struggling with. It would be the sum of the costs in Column A, who's 'type' (Column B) matches the 'type' in Column E..

SO that if I change an expense from, say "travel" to "professional fees" it'll update the "professional fees" SUM in Column F.....

Help much appreciated! What function/thing do I need? First one to help gets a free 'checkup' in the Swinley car park....

DrP


 
Posted : 22/01/2018 9:40 pm
Posts: 0
Free Member
 

SUMIF function ?


 
Posted : 22/01/2018 9:42 pm
 DrP
Posts: 12041
Full Member
Topic starter
 

Ooh, ta; i forgot that one - I'll see if it works!

DrP


 
Posted : 22/01/2018 9:42 pm
Posts: 10315
Full Member
 

iirc you can run a pivot table on table 1 to summarise the result by the expense type

Then you could just use the pivot table as table B

or if you wanted it in a different order then reference the particular total in the pivot table. That gives you a very fancy formula to paste in


 
Posted : 22/01/2018 9:44 pm
 DrP
Posts: 12041
Full Member
Topic starter
 

Boom..allthepies..bend over and receive your prize.... you've got the one there!

SUMIF sorted it 🙂

DrP


 
Posted : 22/01/2018 9:50 pm
Posts: 0
Free Member
 

😆


 
Posted : 22/01/2018 9:50 pm
Posts: 10315
Full Member
 

for once I'm happy I didn't get it right 🙂


 
Posted : 22/01/2018 10:08 pm

6 DAYS LEFT
We are currently at 95% of our target!