LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 36
Default Different twist on ISNUMBER

Where do I place this syntax? <not a programmer

Thanks

Fred

"Jacob Skaria" wrote:

The below will find the number in Range("D2") of the active sheet in
("Cindy_PERSONAL.XLS").Sheets("Sheet1") and return the header from Row1 of
the matching column....Try and feedback


Dim ws As Worksheet
Set ws = Workbooks("Cindy_PERSONAL.XLS").Sheets("Sheet1")
lngCol = ws.Cells.Find(What:=Range("D2"), _
SearchDirection:=xlPrevious, SearchOrder:=xlByColumns).Column
MsgBox ws.Cells(1, lngCol)

If this post helps click Yes
---------------
Jacob Skaria


"fgwiii" wrote:

I am trying to find a solution to match all at one time. If you have a
suggestion on a better way to set this up, I will gladly consider it.

Thank you,

Fred

"Jacob Skaria" wrote:

"=IF(ISNA(MATCH(D2,[Cindy_PERSONAL.XLS]Sheet1!$F$2:$F$40,0)),FALSE,
[Cindy_PERSONAL.XLS]Sheet1!$F$1)"

Hope you are looking into each column at a time..and not a search on all
columns; in which case you can use .Find to retreive the column number and
then fetch the header..

If this post helps click Yes
---------------
Jacob Skaria


"fgwiii" wrote:

Hello,

I am currently using the syntax below to achieve a result of "TRUE" or FALSE
on the designation spreadsheet.
ActiveCell.Formula =
"=ISNUMBER(MATCH(D2,[Cindy_PERSONAL.XLS]Sheet1!$F$2:$F$40,0))"

D E F G
Cindy Ren Fred Jon
27109 27598 27028 11208
27206 27600 27076 11210
27210 27649 27386 12210

What I would like to do is be able to return the name of the user (First
cell in each column) if any of the values in their respective columns match
the designation spreadsheet.

Thank you,

 
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
ISNUMBER Arceedee Excel Discussion (Misc queries) 2 January 14th 09 05:09 AM
ISNUMBER Tanya Excel Worksheet Functions 5 December 6th 07 04:45 PM
ISNumber - What Context? ronaldo444 Excel Worksheet Functions 1 August 14th 06 04:59 PM
ISNUMBER Michael Nol Excel Worksheet Functions 1 March 22nd 06 12:29 AM
ISNUMBER RJJ Excel Worksheet Functions 8 January 4th 06 11:29 PM


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