Nth cell in a row being summed

mrsmunk

New Member
Joined
Jan 24, 2011
Messages
12
I have
Jun Medical - Jun RX - Jun Vision - Jul Medical - Jul RX - Jul Vision
$120 10 30 120 20 35
I need to add all Medical
then all RX
Then all vison
 
Give this a go:
Excel Workbook
ABCDEFGHI
1Jun MedicalJun RXJun VisionJul MedicalJul RXJul VisionMedical240
2$12010301202035RX30
3Vision65
Sheet1
Excel 2003
Cell Formulas
RangeFormula
I1=SUMPRODUCT(--(ISNUMBER(SEARCH(H1,$A$1:$F$1))),$A$2:$F$2)
 
Upvote 0
I tried this and I am getting a #VALUE!
=SUMPRODUCT(--(ISNUMBER(SEARCH(AL7,B7:AK7))),$A$44:$AK$44)
 
Upvote 0
Your range dimensions aren't identical:

SUMPRODUCT(--(ISNUMBER(SEARCH(AL7,A7:AK7))),$A$44:$AK$44)
 
Upvote 0
Or, this simplier formula :

=SUMIF(A$7:A$K7,"*"&AL7,A$44:AK$44)

Regards
 
Upvote 0

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