lewis_blackburn
New Member
- Joined
- Jul 31, 2008
- Messages
- 11
Could someone please help me with what seems like should be an easy formula? I have a range of cells with row and column headings and I want to lookup a cell in that range by those headings. For example, for the range that look like this:
<TABLE><TBODY><TR><TD></TD><TD>Jan</TD><TD>Feb</TD><TD>Mar</TD></TR><TR><TD>Stock</TD><TD>100</TD><TD>300</TD><TD>200</TD></TR><TR><TD>Bond</TD><TD>110</TD><TD>330</TD><TD>220</TD></TR><TR><TD>Cash</TD><TD>140</TD><TD>360</TD><TD>250</TD></TR></TBODY></TABLE>
I want a function to get me of the value of the cell with the column heading "Mar" and the row heading "Bond". My first attempt was to use the SUMIFS function like this...
=SUMIFS(B2:D4, B1:D1, "Mar", A2:A4, "Bond")
...where the correct answer would be 220 but that is not working. Can someone please point me in the right direction?
Thanks!
<TABLE><TBODY><TR><TD></TD><TD>Jan</TD><TD>Feb</TD><TD>Mar</TD></TR><TR><TD>Stock</TD><TD>100</TD><TD>300</TD><TD>200</TD></TR><TR><TD>Bond</TD><TD>110</TD><TD>330</TD><TD>220</TD></TR><TR><TD>Cash</TD><TD>140</TD><TD>360</TD><TD>250</TD></TR></TBODY></TABLE>
I want a function to get me of the value of the cell with the column heading "Mar" and the row heading "Bond". My first attempt was to use the SUMIFS function like this...
=SUMIFS(B2:D4, B1:D1, "Mar", A2:A4, "Bond")
...where the correct answer would be 220 but that is not working. Can someone please point me in the right direction?
Thanks!