Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default Adding values in columns with a specific indicator

I have some columns looking like this:

1 B
4 B
3 A
3 B
8 A
1 A
3 A
6 B

and it continues forever.

I want to add sum the values that have an A indicator and the values
that have a B indicator.
Like this:

A = 3 + 8 + 1 + 3 = 15
B = 1 + 4 + 3 + 6 = 14

if i use autofilter i can add them manually, but my list is very long
and numbers will be added later too, so it would be convinient to have
some sort of formula doin the job for me.

Thankful for any help
/Jakob

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Adding values in columns with a specific indicator

=SUMIF(B:B,"A",A:A)
=SUMIF(B:B,"B",A:A)

" wrote:

I have some columns looking like this:

1 B
4 B
3 A
3 B
8 A
1 A
3 A
6 B

and it continues forever.

I want to add sum the values that have an A indicator and the values
that have a B indicator.
Like this:

A = 3 + 8 + 1 + 3 = 15
B = 1 + 4 + 3 + 6 = 14

if i use autofilter i can add them manually, but my list is very long
and numbers will be added later too, so it would be convinient to have
some sort of formula doin the job for me.

Thankful for any help
/Jakob


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9,101
Default Adding values in columns with a specific indicator

Is the datta in one column or two?

"Teethless mama" wrote:

=SUMIF(B:B,"A",A:A)
=SUMIF(B:B,"B",A:A)

" wrote:

I have some columns looking like this:

1 B
4 B
3 A
3 B
8 A
1 A
3 A
6 B

and it continues forever.

I want to add sum the values that have an A indicator and the values
that have a B indicator.
Like this:

A = 3 + 8 + 1 + 3 = 15
B = 1 + 4 + 3 + 6 = 14

if i use autofilter i can add them manually, but my list is very long
and numbers will be added later too, so it would be convinient to have
some sort of formula doin the job for me.

Thankful for any help
/Jakob


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default Adding values in columns with a specific indicator

Its in two or more columns.

Im gonnna try "Teethless mama":s solution when i get home.

Thx
/Jeo

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding numerical values based on multiple values in another column Kazmaniac Excel Worksheet Functions 6 April 4th 07 08:53 PM
Adding values within multiply columns Scott@CW Excel Discussion (Misc queries) 4 January 16th 07 08:54 PM
adding numbers in a specific range of values Tophaw Excel Discussion (Misc queries) 2 December 27th 06 04:04 PM
Counting unique entries in column A but only if specific values appear in columns B and C markx Excel Worksheet Functions 1 February 10th 05 11:52 AM
Adding multiple cells, return specific values Jim Excel Worksheet Functions 4 December 8th 04 07:26 AM


All times are GMT +1. The time now is 04:31 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"