I have a spreadsheet of all 500 S&P500 stocks. One col has the sector each stock is in (i.e. healthcare, financials, consumer etc..) Another col has the weighting of each stock in the index. I want to add the total weighting for each stock in each sector. So I would be adding the weighting for all stocks in the healthcare sector and all stocks in the industrials and so on. How do I ref the cells with text in a formula to do this? Thanks again.
Bookmarks