Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
sheila
 
Posts: n/a
Default finding name within range

have had kind of help with this before but i need more.

i have a name that i wish to find if it is within range (range name =
"Names"). If that name (say George) is within that range, then I wish
that name to be entered into the cell with the formula. if "George"
isnt within that name, then I wish to search for "Harry" to see if
that is within the range and if so, then "Harry" to be entered into
the cell with the formula.

any help out there?

TIA
sheila
  #2   Report Post  
Roger Govier
 
Posts: n/a
Default

Hi Sheila
Try
=IF(ISNUMBER(SEARCH("George",Names)),"George",IF(I SNUMBER(SEARCH("Harry",Names)),"Harry","
Not Found"))

Regards

Roger Govier


sheila wrote:
have had kind of help with this before but i need more.

i have a name that i wish to find if it is within range (range name =
"Names"). If that name (say George) is within that range, then I wish
that name to be entered into the cell with the formula. if "George"
isnt within that name, then I wish to search for "Harry" to see if
that is within the range and if so, then "Harry" to be entered into
the cell with the formula.

any help out there?

TIA
sheila

  #3   Report Post  
Sheila
 
Posts: n/a
Default

no, that doesnt work, gives me "Not Found" when "George" is within the
range.

any other ideas?

TIA

  #4   Report Post  
Dave Peterson
 
Posts: n/a
Default

=if(countif(names,"George")0,"George",
if(countif(names,"Harry")0,"Harry","not there"))

(all one cell)

may work.

sheila wrote:

have had kind of help with this before but i need more.

i have a name that i wish to find if it is within range (range name =
"Names"). If that name (say George) is within that range, then I wish
that name to be entered into the cell with the formula. if "George"
isnt within that name, then I wish to search for "Harry" to see if
that is within the range and if so, then "Harry" to be entered into
the cell with the formula.

any help out there?

TIA
sheila


--

Dave Peterson
  #5   Report Post  
sheila
 
Posts: n/a
Default

That does it, thanks Dave, appreciate it.

Sheila



On Tue, 13 Sep 2005 20:43:52 -0500, Dave Peterson
wrote:

=if(countif(names,"George")0,"George",
if(countif(names,"Harry")0,"Harry","not there"))

(all one cell)

may work.

sheila wrote:

have had kind of help with this before but i need more.

i have a name that i wish to find if it is within range (range name =
"Names"). If that name (say George) is within that range, then I wish
that name to be entered into the cell with the formula. if "George"
isnt within that name, then I wish to search for "Harry" to see if
that is within the range and if so, then "Harry" to be entered into
the cell with the formula.

any help out there?

TIA
sheila




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
finding if name within range sheila Excel Worksheet Functions 9 September 13th 05 04:24 AM
Finding unnamed cells in a range 70Bob Excel Discussion (Misc queries) 3 June 21st 05 01:50 PM
Finding LARGE value within range of lookup table WPA Excel Discussion (Misc queries) 2 June 13th 05 07:41 PM
Finding dates within a date range Marcus Excel Worksheet Functions 2 April 5th 05 02:03 AM
Finding Dates in a date range Marcus Excel Discussion (Misc queries) 1 April 5th 05 01:51 AM


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