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

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Forum statistics

Threads
1,224,752
Messages
6,180,742
Members
452,996
Latest member
nelsonsix66

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