#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Range that expand


Hi,

I found in one of my Excel book this formula for expanding the range so
I do not need adjust the chart range everytime I add a data.

=OFFSET(Sheet1!$A$1,1,0,COUNTA(Sheet1!$A:$A)-1,1)

The problem I have is tha this formula is good when a row is added.

On one of my charts I have the following:

Week 1 Week 2 Week 3 Etc..
Customer 1 5 3 1
Customer 2 6 0 6
Customer 3 0 3 2
Etc..

Every week I add another collumn. Is there a formula like above that
can help me?

Thank you.

Juran


--
Juran
------------------------------------------------------------------------
Juran's Profile: http://www.excelforum.com/member.php...o&userid=23592
View this thread: http://www.excelforum.com/showthread...hreadid=569250

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Range that expand

=OFFSET(Sheet1!$A$1,1,0,COUNTA(Sheet1!$A:$A)-1,counta(sheet1!$1:$1))

(not sure if you wanted to subtract 1 from the count of columns, too???)

See Debra Dalgeish's site for some nice tips:
http://contextures.com/xlNames01.html#Dynamic

Juran wrote:

Hi,

I found in one of my Excel book this formula for expanding the range so
I do not need adjust the chart range everytime I add a data.

=OFFSET(Sheet1!$A$1,1,0,COUNTA(Sheet1!$A:$A)-1,1)

The problem I have is tha this formula is good when a row is added.

On one of my charts I have the following:

Week 1 Week 2 Week 3 Etc..
Customer 1 5 3 1
Customer 2 6 0 6
Customer 3 0 3 2
Etc..

Every week I add another collumn. Is there a formula like above that
can help me?

Thank you.

Juran

--
Juran
------------------------------------------------------------------------
Juran's Profile: http://www.excelforum.com/member.php...o&userid=23592
View this thread: http://www.excelforum.com/showthread...hreadid=569250


--

Dave Peterson
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
how to expand the autofilter range 1000 to 10000? master777 Excel Worksheet Functions 3 July 13th 06 10:40 AM
Duplicate Range Names by worksheet FlaAl Excel Discussion (Misc queries) 0 May 24th 06 05:14 PM
How do you Identify text as a named range in excel DMDave Excel Discussion (Misc queries) 6 May 7th 06 11:48 PM
Help with using range names in sum function soteman2005 Excel Worksheet Functions 2 November 28th 05 04:43 PM
Array to named range conversion... i-Zapp Excel Discussion (Misc queries) 4 October 25th 05 09:09 PM


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