Find string then sum a range offset from that

cw1013

New Member
Joined
Jan 9, 2019
Messages
1
Surely this has been asked, but I couldn't find the exact issue searching:

I've got a bunch of dynamic, personalized spreadsheets I'm trying to get some templated data out of. To do that, I need to search Column A for a string, then move over a column, down a few rows and add a vertical range. I have no problem finding the address of the cell with the string, and I have no problem getting the sum of the range if I manually enter that location, but I cannot seem to get the two pieces to work together.

Here's some sample data:

[TABLE="width: 154"]
<tbody>[TR]
[TD]Data[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Sales[/TD]
[/TR]
[TR]
[TD]Store 1[/TD]
[TD="align: right"]100[/TD]
[/TR]
[TR]
[TD]Store 2[/TD]
[TD="align: right"]200[/TD]
[/TR]
[TR]
[TD]Store 3[/TD]
[TD="align: right"]300[/TD]
[/TR]
</tbody>[/TABLE]

I need to find "Data" and then sum the relative B3:B5.
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Forum statistics

Threads
1,223,708
Messages
6,174,005
Members
452,542
Latest member
Bricklin

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