Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 52
Default Naming a range versus formula in Excel

Hi,

can anyone tell me if it is possible to make a formula that gives an item of
a named range which contains more than one cell?

eg. I have a named range called "Result" and I want to have the third result
in a cell. It should be something like:

=Result.cells(3) but cells does not exist in Excel, only in VBA

Thanks
Jos Vens


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 575
Default Naming a range versus formula in Excel

Jos,

Have a look at the Index function.

e.g. Index(Test,3) returns the cell in the 3rd row of a vertical range.

Robin Hammond
www.enhanceddatasystems.com

"Jos Vens" wrote in message
...
Hi,

can anyone tell me if it is possible to make a formula that gives an item

of
a named range which contains more than one cell?

eg. I have a named range called "Result" and I want to have the third

result
in a cell. It should be something like:

=Result.cells(3) but cells does not exist in Excel, only in VBA

Thanks
Jos Vens




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 52
Default Naming a range versus formula in Excel

Thanks Robin,

this is exactly what I'm looking for! It saves me creating a lot of named
cells!

Jos

"Robin Hammond" schreef in bericht
...
Jos,

Have a look at the Index function.

e.g. Index(Test,3) returns the cell in the 3rd row of a vertical range.

Robin Hammond
www.enhanceddatasystems.com

"Jos Vens" wrote in message
...
Hi,

can anyone tell me if it is possible to make a formula that gives an

item
of
a named range which contains more than one cell?

eg. I have a named range called "Result" and I want to have the third

result
in a cell. It should be something like:

=Result.cells(3) but cells does not exist in Excel, only in VBA

Thanks
Jos Vens






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default Naming a range versus formula in Excel


Note: if the range has 2 dimensions..

=index($a$10:$g$40,3) will return an error.

=index($a$10:$g$40,3,0) returns an array of values in 3rd row
=index($a$10:$g$40,0,3) returns an array of values in 3rd column

=index($a$10:$g$40,3,1) will return 1 itm =3rd row,1st col



keepITcool

< email : keepitcool chello nl (with @ and .)
< homepage: http://members.chello.nl/keepitcool


"Jos Vens" wrote:

Thanks Robin,

this is exactly what I'm looking for! It saves me creating a lot of
named cells!

Jos

"Robin Hammond" schreef in bericht
...
Jos,

Have a look at the Index function.

e.g. Index(Test,3) returns the cell in the 3rd row of a vertical
range.

Robin Hammond
www.enhanceddatasystems.com

"Jos Vens" wrote in message
...
Hi,

can anyone tell me if it is possible to make a formula that gives
an item of a named range which contains more than one cell?

eg. I have a named range called "Result" and I want to have the
third result in a cell. It should be something like:

=Result.cells(3) but cells does not exist in Excel, only in VBA

Thanks
Jos Vens








  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 52
Default Naming a range versus formula in Excel

Thanks for the extra information!

Jos Vens

"keepITcool" schreef in bericht
...

Note: if the range has 2 dimensions..

=index($a$10:$g$40,3) will return an error.

=index($a$10:$g$40,3,0) returns an array of values in 3rd row
=index($a$10:$g$40,0,3) returns an array of values in 3rd column

=index($a$10:$g$40,3,1) will return 1 itm =3rd row,1st col



keepITcool

< email : keepitcool chello nl (with @ and .)
< homepage: http://members.chello.nl/keepitcool


"Jos Vens" wrote:

Thanks Robin,

this is exactly what I'm looking for! It saves me creating a lot of
named cells!

Jos

"Robin Hammond" schreef in bericht
...
Jos,

Have a look at the Index function.

e.g. Index(Test,3) returns the cell in the 3rd row of a vertical
range.

Robin Hammond
www.enhanceddatasystems.com

"Jos Vens" wrote in message
...
Hi,

can anyone tell me if it is possible to make a formula that gives
an item of a named range which contains more than one cell?

eg. I have a named range called "Result" and I want to have the
third result in a cell. It should be something like:

=Result.cells(3) but cells does not exist in Excel, only in VBA

Thanks
Jos Vens










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
vlookup naming a range in excel 07 Steven Excel Worksheet Functions 1 June 27th 08 04:07 PM
naming a range Jo[_6_] Excel Programming 1 June 25th 04 12:06 AM
naming a range Jo[_6_] Excel Programming 2 June 24th 04 09:39 PM
VB Code Naming a Range (range changes each time) krazylain Excel Programming 4 May 15th 04 12:41 PM
naming a range in excel lior03 Excel Programming 2 October 15th 03 06:23 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"