In Excel spreadsheet, how to get sum of dollar amounts from E for cells where there is a 1 in columns F through Y.

In the attached Excel spreadsheet I have made columns E through Y which are categories of expenditures like food, restaurants, tax deduction etc. I have put a 1 in the column for amounts in column E that correspond to each category. I want to get a total at the bottom each category column of the expenditures for that category.

I could sort by each category then cut the amounts for that category and paste them in that category column but that would be tedious. I am hoping there is a formula I could use to get what I am looking for.

Thanks,
Don
Excel-File.xlsx
donanderAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
Try this...
In F315
=SUMIF(F$2:F$314,1,$E$2:$E$314)

Open in new window

and then copy it across.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
donanderAuthor Commented:
Hi Subodh,

This worked exactly as I had wanted. Thank you very much for the fast and accurate solution.

Don
0
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
You're welcome Don! Glad it worked as desired.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Office

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.