Add up values in cells based on a lookup value

JCUK89

New Member
Joined
Mar 26, 2018
Messages
6
Hi,

I have a data set of buildings and their values. I have zip codes in one column (call it column A), and property values in the next column, (call it column B).

I then have a separate list of certain zip codes - named range 'zips' in column C. I want a formula to find all of the zip codes shown in 'zips' in column A, and add up all of the values in column B.

Hope that makes sense?

Thanks for any help!
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Like this?

Excel Workbook
ABCD
1ZIPValuezipsTotal
265984100,00012345220,000
348562150,00077777
477777120,00065984
55895699000
6
ZIPs
#VALUE!
</td></tr></table></td></tr></table>
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,165
Members
453,021
Latest member
Justyna P

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