Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Sum varying number of rows

I am pulling data into an excel spreadsheet from another application. The
number of rows can vary each time the program is run. How can I add column
totals without hard-coding in the cell ranges?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Sum varying number of rows

Can you use complete columns, it is the simplest way

=SUM(A:A)

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"LSkarbek" wrote in message
...
I am pulling data into an excel spreadsheet from another application. The
number of rows can vary each time the program is run. How can I add

column
totals without hard-coding in the cell ranges?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Sum varying number of rows

Possibly, but the problem is where would the formula go, since I don't know
how many rows there will be?

"Bob Phillips" wrote:

Can you use complete columns, it is the simplest way

=SUM(A:A)

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"LSkarbek" wrote in message
...
I am pulling data into an excel spreadsheet from another application. The
number of rows can vary each time the program is run. How can I add

column
totals without hard-coding in the cell ranges?




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Sum varying number of rows

If you have to work out where the formula goes, then that is visual, so
using Autosum should be perfectly adequate shouldn't it?

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"LSkarbek" wrote in message
...
Possibly, but the problem is where would the formula go, since I don't

know
how many rows there will be?

"Bob Phillips" wrote:

Can you use complete columns, it is the simplest way

=SUM(A:A)

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"LSkarbek" wrote in message
...
I am pulling data into an excel spreadsheet from another application.

The
number of rows can vary each time the program is run. How can I add

column
totals without hard-coding in the cell ranges?






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
Sorting and grouping data with varying number or rows Vickie Excel Worksheet Functions 1 January 13th 10 09:01 PM
How do I make a chart take into account a varying number of rows? Leo Charts and Charting in Excel 1 June 19th 08 01:44 PM
SUMPRODUCT with varying # of rows Ren Excel Worksheet Functions 5 June 27th 06 11:28 PM
Transfer rows with varying criteria chris100[_33_] Excel Programming 0 October 13th 05 09:20 PM
Using a Macro to perform a VLookup on varying number of rows Shirley Munro[_3_] Excel Programming 1 September 5th 05 02:28 PM


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