A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

SUMIF Problem



 
 
Thread Tools Display Modes
  #1  
Old August 25th, 2009, 04:29 PM posted to microsoft.public.excel.newusers
tuafc
external usenet poster
 
Posts: 1
Default SUMIF Problem

I am on Excel 2003 and having difficulty with a seemingly simple function.

Month 1 Month 2 Month 3
a 10 100 1000
b 20 200 2000
c 30 300 3000

I want to sum the values where the row matches a. I have in place the
following formula:
=SUMIF($A$2:$D$10,"a",B210)
but it only returns 10, not 1110 as I expected. How can I get it to sum my
range across the columns and not just give me the first value?

Many thanks
  #2  
Old August 25th, 2009, 04:46 PM posted to microsoft.public.excel.newusers
T. Valko
external usenet poster
 
Posts: 15,759
Default SUMIF Problem

Try it like this:

=SUMPRODUCT((A2:A10="a")*B210)

--
Biff
Microsoft Excel MVP


"tuafc" wrote in message
...
I am on Excel 2003 and having difficulty with a seemingly simple function.

Month 1 Month 2 Month 3
a 10 100 1000
b 20 200 2000
c 30 300 3000

I want to sum the values where the row matches a. I have in place the
following formula:
=SUMIF($A$2:$D$10,"a",B210)
but it only returns 10, not 1110 as I expected. How can I get it to sum my
range across the columns and not just give me the first value?

Many thanks



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:42 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.