#1   Report Post  
Posted to microsoft.public.excel.programming
jim jim is offline
external usenet poster
 
Posts: 19
Default Problem

Hi,

I am given a spreadsheet each week which contains two
columns. This first, is a unique reference up to 3
characters long. The second, is a currency value which
relates to column 1.
When I receive the data, I create a number of sums to add
up values of currency for certain groups within the first
column. My problem however, is that the list is getting
very long (up to 20,000) rows, and is never in exactly the
same order, as quite a few unique references in column A
are not in each weeks data!
Is there a way of writing a macro which scrolls through
the list in column A, and capturing the value in column
b? I could then do my sums in the macro for the groups I
wish to total, and assign them to specific cells in my
spreadsheet.
I don’t know if this is possible, but would appreciate
your help.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,651
Default Problem

On Tue, 15 Jun 2004 08:16:30 -0700, "Jim"
wrote:

Hi,

I am given a spreadsheet each week which contains two
columns. This first, is a unique reference up to 3
characters long. The second, is a currency value which
relates to column 1.
When I receive the data, I create a number of sums to add
up values of currency for certain groups within the first
column. My problem however, is that the list is getting
very long (up to 20,000) rows, and is never in exactly the
same order, as quite a few unique references in column A
are not in each weeks data!
Is there a way of writing a macro which scrolls through
the list in column A, and capturing the value in column
b? I could then do my sums in the macro for the groups I
wish to total, and assign them to specific cells in my
spreadsheet.
I don’t know if this is possible, but would appreciate
your help.



Take a look at the SUMIF worksheet function and see if that might do what you
want.


--ron
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
Colon at the end of excel file name(ex: problem.xls:1, problem.xls financeguy New Users to Excel 2 January 15th 10 01:15 AM
Started out as an Access problem. Now an Excel problem RobertM Excel Discussion (Misc queries) 2 April 26th 06 07:30 PM
problem with a conditional max problem Brian Cornejo Excel Discussion (Misc queries) 1 February 18th 05 06:25 PM
Problem when multipple users access shared xl-file at the same time, macrocode for solve this problem? OCI Excel Programming 0 May 16th 04 10:40 PM


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