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
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
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

Forum statistics

Threads
1,220,965
Messages
6,157,120
Members
451,399
Latest member
alchavar

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