|
|
One way
=SUM(IF(F16:F21="A",G16:H21,0))
which is an array formula, so commit with Ctrl-Shift-Enter
--
HTH
Bob Phillips
"Mark Rucker" <Mark wrote in message
...
In using the SUMIF function in Excel, I wanted to sum values in more than
one
column, but it would only sum the first column.
Desired Function
=SUMIF(F16:F21,"A",G16:H21)
Workaround
=SUMIF(F16:F21,"A",G16:G21)+=SUMIF(F16:F21,"A",H16 :H21)
Mark
----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow
this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.
http://www.microsoft.com/office/comm...et.f unctions
|