I'm trying to combine match with indirect so that it sums up the entire column once it matches a text value in a particular but I've been having trouble getting it to work.
=OFFSET(Reference Point, Row Offset, Column Offset, Height, Width)
Reference Point - a known starting point, in this case you know your headings are in row 5 so the starting point can be A5
Row Offset - the headers are in row 5 so set to zero so no row offset
Column Offset - this is the unknown factor so is determined by matching B250 in row 5; the offset will then offset by that number from column A so needs reducing by 1 to get correct column.
Height - the number of rows to include in the sum, I have set to the absolute maximum (max rows of 1048576 less 5 as you are starting on row 5)
Width - just summing one column so set to 1.
Your 2 MATCH formulas are going to return the column number where the value in B250 is found in row 5.
For example if the value in B250 was found in column 5 you would be summing row 5.