LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default vba/macro for loop-based summing?

Say I have three columns - column A is for a state code (AK, AL, etc
and column B is a hire date, and column C is a number of employee
hired in that state, on that date.

I want to find a way to perform the following type of calculation.
don't know VB but I think it needs to be coded - there is not an
function I am aware of.

ALL COLUMN B CELLS THAT MATCH OTHER COLUMN B CELLS
SUM COLUMN C
WRITE RESULT IN D1

thats kind of pseudo code, but it gets my point across. What I want i
something that groups all state codes, AK, AL, etc together and sums u
COLUMN C values for each unique state code

--
Message posted from http://www.ExcelForum.com

 
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
Summing based off different columns Ag Excel Worksheet Functions 3 September 2nd 08 07:26 PM
Summing based on various critiera NeedHelpFast Excel Worksheet Functions 13 March 23rd 08 04:24 PM
Summing based on 2 criteria cubsfan Excel Discussion (Misc queries) 2 April 20th 06 04:21 PM
Summing every nth row value based upon variable Lram Excel Worksheet Functions 4 April 2nd 06 10:39 AM
Summing Columns Based On Value stck2mlon[_22_] Excel Programming 1 June 3rd 04 06:00 PM


All times are GMT +1. The time now is 01:37 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"