a

Matt_Chelmsford

Board Regular
Joined
Jan 31, 2009
Messages
160
Excel 2010
ABC
1nameQAmount
2John Smith314.00
3John Davis2312.00
4John Wallace2316.00
5Brian Jones52.00
6Roy Bittan140.00
7Glen Hoddle50.00

<COLGROUP><COL><COL><COL><COL></COLGROUP><THEAD>
</THEAD><TBODY>
</TBODY>
Sheet3

Worksheet Formulas
CellFormula
B13=SUMPRODUCT(B2:B7,C2:C7)*(--ISNUMBER(FIND(A13,A2:A7,0))) (A13 is just John)

<THEAD>
</THEAD><TBODY>
</TBODY>

<TBODY>
</TBODY>

I am having trouble with this formula. I want to sumproduct anything that begins with John.

kind Regards

Matthew
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
You might want to edit your title to something a "Tad" more descriptive than just "a"

Try
=SUMPRODUCT(--(LEFT(A2:A7,LEN(A13))=A13),B2:B7,C2:C7)
 
Upvote 0

Forum statistics

Threads
1,202,901
Messages
6,052,448
Members
444,581
Latest member
naninamu

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