Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 37
Default SUM OF NUM VALUES WITH CONDITION

I have large number of data as follows.....

For example...

Item Qty

Pen 10
Pencil 15
Rubber 20
Car 5
Motorcycle 50
Car 30
Train 100
Rubber 120

I want total number of Qty in one cell for every individual item.....eg. for
Car = 35, for Rubber = 140

I think my question is clear. please if some one can help me. i shall be
highly thankful

--
Message posted via http://www.officekb.com

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default SUM OF NUM VALUES WITH CONDITION

=SUMPRODUCT(--(A1:A8="Pen")*(B1:B8))
--
Gary''s Student - gsnu2007a


"adeel via OfficeKB.com" wrote:

I have large number of data as follows.....

For example...

Item Qty

Pen 10
Pencil 15
Rubber 20
Car 5
Motorcycle 50
Car 30
Train 100
Rubber 120

I want total number of Qty in one cell for every individual item.....eg. for
Car = 35, for Rubber = 140

I think my question is clear. please if some one can help me. i shall be
highly thankful

--
Message posted via http://www.officekb.com


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 53
Default SUM OF NUM VALUES WITH CONDITION

=sumif(A1:A10, "Car")

"adeel via OfficeKB.com" wrote:

I have large number of data as follows.....

For example...

Item Qty

Pen 10
Pencil 15
Rubber 20
Car 5
Motorcycle 50
Car 30
Train 100
Rubber 120

I want total number of Qty in one cell for every individual item.....eg. for
Car = 35, for Rubber = 140

I think my question is clear. please if some one can help me. i shall be
highly thankful

--
Message posted via http://www.officekb.com


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 53
Default SUM OF NUM VALUES WITH CONDITION

=sumif(A2:a10, "Car", B2:b10)

"adeel via OfficeKB.com" wrote:

I have large number of data as follows.....

For example...

Item Qty

Pen 10
Pencil 15
Rubber 20
Car 5
Motorcycle 50
Car 30
Train 100
Rubber 120

I want total number of Qty in one cell for every individual item.....eg. for
Car = 35, for Rubber = 140

I think my question is clear. please if some one can help me. i shall be
highly thankful

--
Message posted via http://www.officekb.com


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
How to average values based on a condition in another column Ken99 Excel Worksheet Functions 2 November 16th 06 03:38 PM
Fill the values regardnig the condition milos New Users to Excel 2 June 7th 06 01:05 PM
How to get the values using a condition refering to the other column ramana Excel Worksheet Functions 2 October 28th 05 12:54 PM
Counting Values on a condition madeforidiots Excel Worksheet Functions 1 July 27th 05 12:40 AM
Cannot sum values based on condition Ned Flanders Excel Worksheet Functions 1 December 3rd 04 04:36 AM


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

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

About Us

"It's about Microsoft Excel"