Pelican Parts Forums

Pelican Parts Forums (http://forums.pelicanparts.com/index.php)
-   Off Topic Discussions (http://forums.pelicanparts.com/forumdisplay.php?f=31)
-   -   Quick Excel for the Geeks (http://forums.pelicanparts.com/showthread.php?t=1189178)

jyl 02-12-2026 09:41 AM

Quick Excel for the Geeks
 
D38:D1000 is List A of stock tickers.
E38:E1000 is a list of portfolio weights corresponding to each ticker in List A.
F7:F20 is List B of stock tickers, some will be in List A, some will not.

I want a formula that gives me the sum of weights for the tickers in List A that are also tickers in List B.

I know how to do this in two steps (pulling weights from E38:E1000 for each List B ticker into G7:G20, then summing G7:G20), but I want to do it all in one cell, one formula.

Thanks!

Amail 02-12-2026 09:50 AM

=sum(sumif(d38:d1000,f7:f20,e38:e1000))

masraum 02-12-2026 09:58 AM

Quote:

Originally Posted by Amail (Post 12607717)
=sum(sumif(d38:d1000,f7:f20,e38:e1000))

I'm not an Excel expert by any stretch of the imagination, but I know how to do several things and have done lots of various sorts of formulas over the years. It was just last week that I used "sumif" and then "sumifs" for the first time.

jyl 02-12-2026 10:57 AM

Thank you!

herr_oberst 02-12-2026 11:32 AM

PPOT perfectly summed up in one thread.

jyl 02-12-2026 12:53 PM

I am bad at array formulae :-(


All times are GMT -8. The time now is 09:20 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0
Copyright 2025 Pelican Parts, LLC - Posts may be archived for display on the Pelican Parts Website


DTO Garage Plus vBulletin Plugins by Drive Thru Online, Inc.