#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default SUMIF? Question

I want to add the cells in column D, when their corresponding column A is a
specific label. For example,

Column A Column D
Blue 50
Black 35
Blue 21
Yellow 43

I want to sum the values in Column D by color (Blue=71)

Thanks for any help


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 207
Default SUMIF? Question

=SUMIF(A1:A4,"BLUE",D1:D4)

"aeddave" wrote in message
...
I want to add the cells in column D, when their corresponding column A is a
specific label. For example,

Column A Column D
Blue 50
Black 35
Blue 21
Yellow 43

I want to sum the values in Column D by color (Blue=71)

Thanks for any help




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default SUMIF? Question

Thanks Gaurav. That did it.

"Gaurav" wrote:

=SUMIF(A1:A4,"BLUE",D1:D4)

"aeddave" wrote in message
...
I want to add the cells in column D, when their corresponding column A is a
specific label. For example,

Column A Column D
Blue 50
Black 35
Blue 21
Yellow 43

I want to sum the values in Column D by color (Blue=71)

Thanks for any help





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 207
Default SUMIF? Question

Glad it worked.

"aeddave" wrote in message
...
Thanks Gaurav. That did it.

"Gaurav" wrote:

=SUMIF(A1:A4,"BLUE",D1:D4)

"aeddave" wrote in message
...
I want to add the cells in column D, when their corresponding column A
is a
specific label. For example,

Column A Column D
Blue 50
Black 35
Blue 21
Yellow 43

I want to sum the values in Column D by color (Blue=71)

Thanks for any help







  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default SUMIF? Question

Sorry Don. I didn't mean to offend anyone. I did use help first, but still
could'nt figure it out. Gaurev was much clearer in his assistance and it
worked.

"Don Guillett" wrote:

help would have done so, as well


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"aeddave" wrote in message
...
Thanks Gaurav. That did it.

"Gaurav" wrote:

=SUMIF(A1:A4,"BLUE",D1:D4)

"aeddave" wrote in message
...
I want to add the cells in column D, when their corresponding column A
is a
specific label. For example,

Column A Column D
Blue 50
Black 35
Blue 21
Yellow 43

I want to sum the values in Column D by color (Blue=71)

Thanks for any help







  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default SUMIF? Question

Have you looked in the help index for SUMIF?

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"aeddave" wrote in message
...
I want to add the cells in column D, when their corresponding column A is a
specific label. For example,

Column A Column D
Blue 50
Black 35
Blue 21
Yellow 43

I want to sum the values in Column D by color (Blue=71)

Thanks for any help



  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 897
Default SUMIF? Question

If the colors were in A1:A100 and the values in D1:D100, this would
add the values in column D where it finds the value in parenthesis in
column A.

=SUMIF($A$1:$A$100,"Blue",$D$1:$D$100)

If you wanted to check multiple times, you could replace "Blue" with a
cell reference (ex: SUMIF($A$1:$A$100,E1,$D$1:$D$100)) then put the
color in E1 that you wanted to check.

HTH,
JP

On Jan 21, 11:20*am, aeddave
wrote:
I want to add the cells in column D, when their corresponding column A is a
specific label. *For example,

Column A * * * * * * Column D
Blue * * * * * * * * * * * *50
Black * * * * * * * * * * * 35
Blue * * * * * * * * * * * *21
Yellow * * * * * * * * * * 43

I want to sum the values in Column D by color *(Blue=71)

Thanks for any help


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
HELP!! SUMIF QUESTION kahuna Excel Worksheet Functions 4 June 14th 07 01:43 PM
Sumif question Harry Webster Excel Worksheet Functions 2 June 9th 07 01:02 AM
Sumif (sum if question) Tim Nealon Excel Worksheet Functions 5 May 25th 07 03:08 AM
Another SUMIF question tawtrey(remove this )@pacificfoods.com Excel Worksheet Functions 9 May 31st 06 11:04 PM
SUMIF Question Brig Siton Excel Worksheet Functions 3 January 25th 06 05:16 PM


All times are GMT +1. The time now is 05:22 AM.

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"