Something like:
adjusting ranges to suit....![]()
=Sumproduct(--('data feed worksheet from Orion'!$A$2:$A$100=$A2),--('data feed worksheet from Orion'!$B$2:$B$100="Equity"),'data feed worksheet from Orion'!C$2:C$100)
Note: "Equity" can be replaced with a cell reference containing the word (if one exists in the "target vs actual" sheet.
you can then copy formula down and/or across...
Posting a workbook sample would make it easier to evaluate.
Bookmarks