Naming Range - can't find an easy solution

Sal_Gxer

New Member
Joined
Jun 17, 2004
Messages
11
I've looked through the "Search" option but can't find my answer.
I am creating a column chart where the source data number of rows changes monthly. How can I write it so it chooses the necessary data (only 2 columns).

TIA.

Sal
 

Some videos you may like

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,203
Sal_Gxer said:
I've looked through the "Search" option but can't find my answer.
I am creating a column chart where the source data number of rows changes monthly. How can I write it so it chooses the necessary data (only 2 columns).

TIA.

Sal

Let A:B house on Sheet1 the data with headers in A2:B2 where column B is numeric.

Define...

Name: Drange

Refers to:

=Sheet1!$A$2:INDEX(Sheet1!$B$2:$B$65536,MATCH(9.99999999999999E+307,Sheet1!$B$2:$B$65536))
 

Sal_Gxer

New Member
Joined
Jun 17, 2004
Messages
11
I'm still a novice at this VBA. I tried lookin garound for hoe to define and all that but still a little confused - could you give me the whole code?
I'll learn this soon, thank you

Sal
 

Watch MrExcel Video

Forum statistics

Threads
1,127,963
Messages
5,627,886
Members
416,281
Latest member
Olawunmi

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
Top