ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   =SUMIF(A2:A34,"=F37",E2:E34) Why doesn't this formula work (https://www.excelbanter.com/excel-discussion-misc-queries/93219-%3Dsumif-a2-a34-%3Df37-e2-e34-why-doesnt-formula-work.html)

Jonas

=SUMIF(A2:A34,"=F37",E2:E34) Why doesn't this formula work
 
Ranges A2:A34 contain dates. A date entered into F37 is intended to return
the sums that match from E2:E34. Why do I only return zero?

macropod

=SUMIF(A2:A34,"=F37",E2:E34) Why doesn't this formula work
 
Hi Jonas,

Try:
=SUMIF(A2:A34,F37,E2:E34)

Cheers

--
macropod
[MVP - Microsoft Word]


"Jonas" wrote in message
...
Ranges A2:A34 contain dates. A date entered into F37 is intended to return
the sums that match from E2:E34. Why do I only return zero?




Peo Sjoblom

=SUMIF(A2:A34,"=F37",E2:E34) Why doesn't this formula work
 
Because you are asking it to sum for the text "F37"

no need for the equal sign when all you want is equal to

=SUMIF(A2:A34,F37,E2:E34)

if you want greater than you would need

=SUMIF(A2:A34,""&F37,E2:E34)

--

Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
"It is a good thing to follow the first law of holes;
if you are in one stop digging." Lord Healey


"Jonas" wrote in message
...
Ranges A2:A34 contain dates. A date entered into F37 is intended to return
the sums that match from E2:E34. Why do I only return zero?





All times are GMT +1. The time now is 07:51 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com