Using sumproduct with a list of 11, non-numeric search arguments

J-Rowz

New Member
Joined
Nov 1, 2012
Messages
3
I need to sum the market values of a group of 11 stocks, identified by three letter tickers. I have three columns with data. Column A has 114 three-letter tickers, Column B has 114 market values associated with those tickers, Column C has the list of 11 tickers that I want a sum of market values. I am not able to get a sumproduct formula to work when I reference the list of tickers as an array.

Here is the formula I am trying to use: =SUMPRODUCT(--(A:A=C1:C11),B:B)</SPAN></SPAN>

Is sumproduct the best function to use? Is there a better function that I'm not considering?

Jared
 
Yes, thank you, this works! Regarding the dynamic name range, how would I integrate that into the formula you posted?
 
Upvote 0
I need to sum the market values of a group of 11 stocks, identified by three letter tickers. I have three columns with data. Column A has 114 three-letter tickers, Column B has 114 market values associated with those tickers, Column C has the list of 11 tickers that I want a sum of market values. I am not able to get a sumproduct formula to work when I reference the list of tickers as an array.

Here is the formula I am trying to use: =SUMPRODUCT(--(A:A=C1:C11),B:B)

Is sumproduct the best function to use? Is there a better function that I'm not considering?

Jared

Also...

=SUMPRODUCT(SUMIF(A:A,C1:C11,B:B))

The whole column references should not be a problem here.
 
Upvote 0

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