Summing and Subtracting Results of a Lookup

yevlar

New Member
Joined
Apr 23, 2005
Messages
41
So, I'm working on a worksheet for personal finance tracking. There are several accounts (1, 2, 3, & 4), but only one list of expenses. Each expense is labeled in Column B for the account it was drawn from. What I want to do is have a running total of how much is left in each account at the top of the worksheet.

For example: Say you have 13 different expenses drawn from Account 1, which are scattered throughout the list. I want to lookup Coulmn B to find the expenses from Account 1, return their corresponding values from Column F, add them together, and deduct their sum from the account total in Cell E6.

I tried using the LOOKUP function to accomplish this, but couldn't get it to work properly.
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
A good starting point would be to look at the SUMIF function. If you get stuck, post back.
 
Upvote 0

Forum statistics

Threads
1,203,485
Messages
6,055,685
Members
444,807
Latest member
RustyExcel

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