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

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
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,214,926
Messages
6,122,306
Members
449,079
Latest member
juggernaut24

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