Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
TUNGANA KURMA RAJU
 
Posts: n/a
Default Formula for named range

My data is:
cell a2=24/jun/2006
cell a3=01/jul/2006

column B(b2:b9)
-------------------
21/jun/2006
22/jun/2006
23/jun/2006
26/jun/2006
27/jun/2006
28/jun/2006
29/jun/2006
30/jun/2006
I would like name a range in col.B by looking date values from col
A(a2:a3).As per my above data I want to name a range $b$4:$b$9.I am looking
formula to define the range name,what should I write in 'refers to' box.


  #2   Report Post  
Posted to microsoft.public.excel.misc
Biff
 
Posts: n/a
Default Formula for named range

Hi!

I have no idea how you intend to use this so I can't guarantee this for
robustness:

=OFFSET(Sheet1!$B$2,MATCH(Sheet1!$A$2,Sheet1!$B$2: $B$9)-1,,MATCH(Sheet1!$A$3,Sheet1!$B$2:$B$9)-MATCH(Sheet1!$A$2,Sheet1!$B$2:$B$9)+1)

Use the appropriate sheet name.

Biff

"TUNGANA KURMA RAJU" wrote in
message ...
My data is:
cell a2=24/jun/2006
cell a3=01/jul/2006

column B(b2:b9)
-------------------
21/jun/2006
22/jun/2006
23/jun/2006
26/jun/2006
27/jun/2006
28/jun/2006
29/jun/2006
30/jun/2006
I would like name a range in col.B by looking date values from col
A(a2:a3).As per my above data I want to name a range $b$4:$b$9.I am
looking
formula to define the range name,what should I write in 'refers to' box.




  #3   Report Post  
Posted to microsoft.public.excel.misc
JLatham
 
Posts: n/a
Default Formula for named range

The RefersTo property is normally in the form of an equation and includes the
sheetname and the cell range, so it would look something like this:
='Sheet2'!$B$4:$B$9
if that gives an error, enter it without the = symbol.

An easier way (for me at least) is to choose the cells I want to give a name
to, and they don't even have to be cells that are parts of a group you could
select random cells on one or more sheets, then go to the Name Box and type
in the name for the range and press the [Enter] key.

The Name Box is that area to the left of the formula bar which normally
shows the address of the current cell, like A1 when you have A1 selected.
You must use the [Enter] key to terminate the name entry there otherwise it
is discarded by the system.

"TUNGANA KURMA RAJU" wrote:

My data is:
cell a2=24/jun/2006
cell a3=01/jul/2006

column B(b2:b9)
-------------------
21/jun/2006
22/jun/2006
23/jun/2006
26/jun/2006
27/jun/2006
28/jun/2006
29/jun/2006
30/jun/2006
I would like name a range in col.B by looking date values from col
A(a2:a3).As per my above data I want to name a range $b$4:$b$9.I am looking
formula to define the range name,what should I write in 'refers to' box.


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
Adjusting a formula cell range Jamie Excel Discussion (Misc queries) 1 May 26th 06 05:00 PM
Need formula to lookup a named range DMDave Excel Discussion (Misc queries) 5 May 7th 06 03:18 AM
Array Formula Not Working with Range with Formulas [email protected] Excel Discussion (Misc queries) 4 February 1st 06 02:01 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
how do I make a formula NOT change when the data range is moved? Alida Andrews Excel Discussion (Misc queries) 2 January 6th 05 09:02 PM


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