Some text SumProduct

D

Dawn

Hello all
I am trying to sum cell contents D5:D111 based on partial text match of
B5:B111.
How do I enter sumproduct criteria for the following criteria?:
First 4 text characters = ABCD and the Last Character = Q

ABCD-xxxxxxx-Q Sum
SFDG-xxxxx-Z dont sum

THanks
Dawn
 
G

Govind

Hi Dawn,

Use

=SUMPRODUCT((LEFT(B5:B111,4)="ABCD")*(RIGHT(B5:B111,1)="Q")*(D5:D111))

Regards

Govind.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top