Hi - I am trying to sum a column - horizontally - based on a criteria listed vertically.
Tried the following forumula
=SUMIF($B$31:$B$231,$G$2,$D$31:$H$231)
List of values (text) is in - $B$31:$B$231
Criteria value (text) is in $G$2
List of values (numbers) to sum, if they match the value (text) in G2 - $D$31:$H$231
Result I'm getting is just the value in the first column (D) of the sum range, not the values also in columns E, F, G and H, matching the criteria.
What I'm wanting is the sum of all the values in the columns horizontally in the range if they match the criteria cell.
Any help appreciated.
Bookmarks