Vlookup and Sum only certain values

jmuzzarelli

New Member
Joined
Feb 4, 2016
Messages
5
All,

I'm working on a file for work and am trying to use a formula to help ensure all data has been copied over. Thank you in advance for taking the time to read this and for any help you may be able to offer.

Here's a table with what I'm looking for. In column F I put what I'm trying to do. I need a formula to sum up the total of column C for all values greater than 0 and then I want it to return the of only the amounts relating to the company listed in Column. E. This is a small scale example, I will be working with thousands of rows and significantly more companies.

Transferred ToTransferred FromAmountCompanyTransfers InTransfers Out
NYIL35,000NY=sum of all NY in Col. A where amt. in Col. C is >$0
NYKC-40,000IL
NYIL10,000KC
ILKC5,000SG
NYIL-7,500
SGIL1,200

<tbody>
</tbody>
I've looked a lot online and couldn't find this/was having trouble converting their examples to mine due to the >0 need.

If you have any questions please feel free to ask and I'll answer. Again, I really appreciate any help you can give.
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,559
Messages
5,832,498
Members
430,136
Latest member
Asir Jefferson

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
Top