Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Refer to a Single cell in a name range

Is anyone there who can help me out?

What is the formula needed to refer a single cell in a named range of cells.
I mean, I want to compare a cells value with any of the cell values in the
named range. let the named range be "holidays"
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 751
Default Refer to a Single cell in a name range

To identify a specific cell in a range, say the 5th cell in there you
use INDEX:

=INDEX(holidays, 5)

To see if a cell's value appears in holidays you use MATCH:

=MATCH(A2, holidays, 0)

This returns the position of A2 value in holidays. If the value of A2
is not found in holidays this returns the #N/A error. If you want to
test if the value appears in holidays you check if MATCH returns a
number:

=IF(ISNUMBER(MATCH(A2, holidays, 0))," In set", "Not in set")

HTH
Kostis Vezerides


Jitendra Kumar wrote:
Is anyone there who can help me out?

What is the formula needed to refer a single cell in a named range of cells.
I mean, I want to compare a cells value with any of the cell values in the
named range. let the named range be "holidays"


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
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Named Range reference via single Cell Graham Excel Discussion (Misc queries) 0 July 26th 06 09:37 AM
named Range Referenced vai single cell Graham Excel Discussion (Misc queries) 1 July 26th 06 09:31 AM
Can't highlight a single cell. Creates a range when I move curso Butch Walker Excel Worksheet Functions 4 July 6th 06 07:48 PM
copying cell names Al Excel Discussion (Misc queries) 12 August 11th 05 03:01 PM


All times are GMT +1. The time now is 07:50 AM.

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"