#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Help Please

=SUM(INDIRECT("Sheet1!A1:"&CHAR(A1+64)&"1"))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Ant Nutting" wrote in message
...
Hope someone can help, me problem is this:
In Sheet 1, i have columns A to L, which have information in them. In

sheet
2 i need to get the sum of the contents of columns, starting with A.

However
i would like the qty of columns to be regulated by the figure i put in

Sheet
2 cell A1. Here's an example:
If SHEET 2 CELL A1 = 3, then i would like Sum of SHEET 1 Column A to C.
OR
If SHEET 2 CELL A1 = 7, then i would like Sum of SHEET 1 Column A to G.
I hope someone can understand this and is able to help me.
Thx
Ant




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



All times are GMT +1. The time now is 10:03 PM.

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"