#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Extending a range

Hi

If I have input a range of data an example of which is ( 58710; 58729 -
58780; 58789) is it possible for excel to expand the range between 58729
through to 58780 without typing the entire range out by hand?

regards,

Ian
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 103
Default Extending a range

Hi

Just go to that cell where you contain a farmula like =
vlookup($F4,$f$2:$F$1000,2,0) then press F2 and change the values of range
here.

"Macca1984" wrote:

Hi

If I have input a range of data an example of which is ( 58710; 58729 -
58780; 58789) is it possible for excel to expand the range between 58729
through to 58780 without typing the entire range out by hand?

regards,

Ian

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default Extending a range

How do you want Excel to expand the range?

Do you want the numbers in consecutive cells? If so, you can drag a formula
like =a1+1 across the range. That would avoid a lot of typing.

If you want something more automatic, we need to know how your data is
stored? Is "58710; 58729 - 58780; 58789" in one cell? If so, you would need
a macro to expand it.

Regards,
Fred.

"Macca1984" wrote in message
...
Hi

If I have input a range of data an example of which is ( 58710; 58729 -
58780; 58789) is it possible for excel to expand the range between 58729
through to 58780 without typing the entire range out by hand?

regards,

Ian


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Extending a range

The range is all in one cell; however there is no consistency between cells
i.e one cell may have on number in and another may have 60. My intention is
for excel to automatically expand the range for example i would like 50789 -
50792 to be changed to 50789; 50790; 50791; 50792. It is also worth noting
the ranges are broken, by this i mean some cells begin with a range then have
individual numbers then go back into another range etc. It is important that
only the values seperated as follows are extended.

(50789 - 50792)

I don not want excel to extend the range in the example below from 50789
through to 50895. Purely the range where the numbers are seperated by the
dash.

(50789 - 50792; 50890; 50892 - 50895)

Regards,

Ian


"Fred Smith" wrote:

How do you want Excel to expand the range?

Do you want the numbers in consecutive cells? If so, you can drag a formula
like =a1+1 across the range. That would avoid a lot of typing.

If you want something more automatic, we need to know how your data is
stored? Is "58710; 58729 - 58780; 58789" in one cell? If so, you would need
a macro to expand it.

Regards,
Fred.

"Macca1984" wrote in message
...
Hi

If I have input a range of data an example of which is ( 58710; 58729 -
58780; 58789) is it possible for excel to expand the range between 58729
through to 58780 without typing the entire range out by hand?

regards,

Ian



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default Extending a range

You will need a macro for this. You could try posting to the .programming
group and see if someone can help you there.

Regards,
Fred.

"Macca1984" wrote in message
...
The range is all in one cell; however there is no consistency between
cells
i.e one cell may have on number in and another may have 60. My intention
is
for excel to automatically expand the range for example i would like
50789 -
50792 to be changed to 50789; 50790; 50791; 50792. It is also worth noting
the ranges are broken, by this i mean some cells begin with a range then
have
individual numbers then go back into another range etc. It is important
that
only the values seperated as follows are extended.

(50789 - 50792)

I don not want excel to extend the range in the example below from 50789
through to 50895. Purely the range where the numbers are seperated by the
dash.

(50789 - 50792; 50890; 50892 - 50895)

Regards,

Ian


"Fred Smith" wrote:

How do you want Excel to expand the range?

Do you want the numbers in consecutive cells? If so, you can drag a
formula
like =a1+1 across the range. That would avoid a lot of typing.

If you want something more automatic, we need to know how your data is
stored? Is "58710; 58729 - 58780; 58789" in one cell? If so, you would
need
a macro to expand it.

Regards,
Fred.

"Macca1984" wrote in message
...
Hi

If I have input a range of data an example of which is ( 58710; 58729 -
58780; 58789) is it possible for excel to expand the range between
58729
through to 58780 without typing the entire range out by hand?

regards,

Ian






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Extending a range

Thanks for the help fred; most appreciate.

Ian

"Fred Smith" wrote:

You will need a macro for this. You could try posting to the .programming
group and see if someone can help you there.

Regards,
Fred.

"Macca1984" wrote in message
...
The range is all in one cell; however there is no consistency between
cells
i.e one cell may have on number in and another may have 60. My intention
is
for excel to automatically expand the range for example i would like
50789 -
50792 to be changed to 50789; 50790; 50791; 50792. It is also worth noting
the ranges are broken, by this i mean some cells begin with a range then
have
individual numbers then go back into another range etc. It is important
that
only the values seperated as follows are extended.

(50789 - 50792)

I don not want excel to extend the range in the example below from 50789
through to 50895. Purely the range where the numbers are seperated by the
dash.

(50789 - 50792; 50890; 50892 - 50895)

Regards,

Ian


"Fred Smith" wrote:

How do you want Excel to expand the range?

Do you want the numbers in consecutive cells? If so, you can drag a
formula
like =a1+1 across the range. That would avoid a lot of typing.

If you want something more automatic, we need to know how your data is
stored? Is "58710; 58729 - 58780; 58789" in one cell? If so, you would
need
a macro to expand it.

Regards,
Fred.

"Macca1984" wrote in message
...
Hi

If I have input a range of data an example of which is ( 58710; 58729 -
58780; 58789) is it possible for excel to expand the range between
58729
through to 58780 without typing the entire range out by hand?

regards,

Ian




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
Extending Sort Range Millington Excel Worksheet Functions 0 October 14th 07 03:24 PM
Extending Row() Colin Hayes Excel Worksheet Functions 4 December 20th 05 11:41 PM
extending selection Flip Excel Discussion (Misc queries) 5 April 5th 05 11:17 AM
extending dates Sanford Lefkowitz Excel Discussion (Misc queries) 2 February 22nd 05 09:30 PM


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