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 » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Sum a range based on a column



 
 
Thread Tools Display Modes
  #1  
Old June 4th, 2010, 02:04 PM posted to microsoft.public.excel.misc
metro
external usenet poster
 
Posts: 9
Default Sum a range based on a column

In column A I have subaccount numbers which may repeat. In columns B thru F,
there are amounts that I need to sum if they meet the specific criteria of
what is in column A. How do I sum B:F if column A is 74503? Thanks in advance.

A B C D E F
74503 10 2 1 0 5
73000 5 10 12 3 4
74503 1 2 3 4 5
76025 5 2 10 5 4

  #2  
Old June 4th, 2010, 02:10 PM posted to microsoft.public.excel.misc
Jackpot
external usenet poster
 
Posts: 28
Default Sum a range based on a column

Try
=SUMPRODUCT((A1:A4=74503)*B1:F4)


"Metro" wrote:

In column A I have subaccount numbers which may repeat. In columns B thru F,
there are amounts that I need to sum if they meet the specific criteria of
what is in column A. How do I sum B:F if column A is 74503? Thanks in advance.

A B C D E F
74503 10 2 1 0 5
73000 5 10 12 3 4
74503 1 2 3 4 5
76025 5 2 10 5 4

  #3  
Old June 4th, 2010, 02:21 PM posted to microsoft.public.excel.misc
metro
external usenet poster
 
Posts: 9
Default Sum a range based on a column

Works perfectly. Thanks!

"Jackpot" wrote:

Try
=SUMPRODUCT((A1:A4=74503)*B1:F4)


"Metro" wrote:

In column A I have subaccount numbers which may repeat. In columns B thru F,
there are amounts that I need to sum if they meet the specific criteria of
what is in column A. How do I sum B:F if column A is 74503? Thanks in advance.

A B C D E F
74503 10 2 1 0 5
73000 5 10 12 3 4
74503 1 2 3 4 5
76025 5 2 10 5 4

 




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 05:16 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.