expanding ranges across columns for graphs

PAULGOLD

New Member
Joined
Jun 21, 2004
Messages
15
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
I have successfully updated charts using the knowledge on "spreadsheetpage.com" which works for data that expands downwards using dynamic range names using eg

A B
date sales
1/4 565
2/4 603
3/4 581

etc
using range names of
sales. ie =offset(sheet1!$B$2,0,0,counta(sheet1!$B:$B)-1)

and for date ie = offset(sheet1!$A$2,0,0,counta(sheet1!$A:$A)-1)

however what i want to do now is define dynamic range names for dates and sales that go accross the columns so that i can very easily update my graphs.
data would be of the kind

A B C D E F
date 1/4 2/4 3/4 4/4 7/4 etc
sales A 10 15 11 15 20
sales B 20 16 25 8 25

how do i formulate the named range names for Date, and for sales A ,and for sales B or should it be one range names for all sales.?
can someone help me please. when i try to invert the formula from eg B:B to 3:3 etc it does not work.
thanks to advise

Regards
Paul
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
at my work they set up a wide table to start with months ahead, and just hide the columns until required
 
Upvote 0
Search my posts ("Dynamic Range Fails"). I had a similar problem in the past and the guys in the forum gave me excellent answers. You will find what you ask for there.

George


I have successfully updated charts using the knowledge on "spreadsheetpage.com" which works for data that expands downwards using dynamic range names using eg

A B
date sales
1/4 565
2/4 603
3/4 581

etc
using range names of
sales. ie =offset(sheet1!$B$2,0,0,counta(sheet1!$B:$B)-1)

and for date ie = offset(sheet1!$A$2,0,0,counta(sheet1!$A:$A)-1)

however what i want to do now is define dynamic range names for dates and sales that go accross the columns so that i can very easily update my graphs.
data would be of the kind

A B C D E F
date 1/4 2/4 3/4 4/4 7/4 etc
sales A 10 15 11 15 20
sales B 20 16 25 8 25

how do i formulate the named range names for Date, and for sales A ,and for sales B or should it be one range names for all sales.?
can someone help me please. when i try to invert the formula from eg B:B to 3:3 etc it does not work.
thanks to advise

Regards
Paul
 
Upvote 0
Thanks for your suggestions guys.
however i looked at your posts gk039 but the replies there do not obviously, for me, give me the answer.
I'd appreciate other suggestions.

thanks
Paul
 
Upvote 0

Forum statistics

Threads
1,223,905
Messages
6,175,297
Members
452,633
Latest member
DougMo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top