Find value in column A, Add values from matching row in any column with value XXX in Row YYY

hkelly393

New Member
Joined
Jun 25, 2019
Messages
11
I'm looking to find a value in Column A, and then look at Row 8 for another value and any matches found.

So lets say the value I'm looking for in Column A is "Total Revenue" and in Row 8, I'm looking for Q4-2020 and this value appears randomly across the row. I want to grab any values from B9, C9, D9, E9, B10, C10, D10, E10, B11, C11, D11, E11 and so on that match this criteria.

This is the formula I'm using which calls out specific columns to pull data (A:D but I really need to be able to not have to specify the ranges. I hope I'm making sense.

=SUM(FILTER('ELM Q3'!$A$1:$D$500,'ELM Q3'!$A$1:$A$500=" Total Revenue",0))

Here is a screen shot if this helps with the understanding. Right now, I only have one Q4-2020 entry but more will ultimately be added. I just don't want to have to update the formula each quarter. https://take.ms/5gQFg
 

Some videos you may like

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

Watch MrExcel Video

Forum statistics

Threads
1,126,965
Messages
5,621,871
Members
415,862
Latest member
nascaline

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
Top