Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
BG BG is offline
external usenet poster
 
Posts: 31
Default Creating a Running Count

OK I'm not even sure how to ask this:

I am in the printing industry and I would like to be able to keep a running
count on how many of each different type of stock I run. In column A I have
the code for a certain stock and in column B i have how many we ran. Column C
is the PO number, but thats not important.

I am wondering if there is a way to get excel to identify all the rows that
contain a certain stock code(column A) and add the number of pages run(column
B)?

Anyone have an idea of how to do it? If I can drop the info in a different
part of the sheet, or on a different sheet, it would prevent me from having
to sort and add up all the jobs with the same stock.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default Creating a Running Count

It sounds like you want to use the SUMIF function.

=SUMIF(Range,Criteria,SumRange)

LEt's say you are starting in Row 1

=SUMIF(A$1:A1,A1,B$1:B1)

Copy down as needed.

HTH,
Barb Reinhardt

"BG" wrote:

OK I'm not even sure how to ask this:

I am in the printing industry and I would like to be able to keep a running
count on how many of each different type of stock I run. In column A I have
the code for a certain stock and in column B i have how many we ran. Column C
is the PO number, but thats not important.

I am wondering if there is a way to get excel to identify all the rows that
contain a certain stock code(column A) and add the number of pages run(column
B)?

Anyone have an idea of how to do it? If I can drop the info in a different
part of the sheet, or on a different sheet, it would prevent me from having
to sort and add up all the jobs with the same stock.

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
I tried to get around the problem of the pivot table field settingdefaulting to Count instead of Sum by running a macro of change the settingfrom Count to Sum. However, when I tried to run the Macro, I got error messageof run time error 1004, unable Enda80 Excel Discussion (Misc queries) 1 May 3rd 08 10:52 AM
Creating running clocks in multiple cells. MikeG Excel Worksheet Functions 9 January 9th 08 04:50 PM
creating a running average Jay New Users to Excel 1 November 23rd 06 01:43 AM
Creating a vehicle running sheet?? 43fan Excel Programming 0 June 8th 04 03:44 PM
creating a running tally kevin Excel Programming 2 April 7th 04 12:01 PM


All times are GMT +1. The time now is 05:12 PM.

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"