Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default Matching numbers and text

I have on spreadsheet that has a column with a list of single numbers or
letters the next column are times associated with those numbers and letters.
I want to type in one of those numbers or letters and have it displayed in
another worksheet the time associted with it. I have it half working that is
displays the letters but is comes up with a #N/A when you type in a number to
match. Here is what I am using. Any help would be appreciated!

=INDEX(Codes!$A$2:$B$33,MATCH('F Codes'!G7,Codes!$A$2:$A$33,FALSE),2)
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default Matching numbers and text

Suggest you do a test to check if the numbers are actually text.
In a cell in F Codes sheet enter =G7=Codes!A12 (replace A12 by a cell that
has a number). Type the same number into G7 as you see in Codes!A12; you
should get TRUE as the result.
Or on Codes sheet in D2 (or wherever) use =ISNUMBER(A2) and copy down to
D33

But why not use VLOOKUP?
best wishes

--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"mndpy" wrote in message
...
I have on spreadsheet that has a column with a list of single numbers or
letters the next column are times associated with those numbers and
letters.
I want to type in one of those numbers or letters and have it displayed in
another worksheet the time associted with it. I have it half working that
is
displays the letters but is comes up with a #N/A when you type in a number
to
match. Here is what I am using. Any help would be appreciated!

=INDEX(Codes!$A$2:$B$33,MATCH('F Codes'!G7,Codes!$A$2:$A$33,FALSE),2)



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default Matching numbers and text

What lookup should I try?

"Bernard Liengme" wrote:

Suggest you do a test to check if the numbers are actually text.
In a cell in F Codes sheet enter =G7=Codes!A12 (replace A12 by a cell that
has a number). Type the same number into G7 as you see in Codes!A12; you
should get TRUE as the result.
Or on Codes sheet in D2 (or wherever) use =ISNUMBER(A2) and copy down to
D33

But why not use VLOOKUP?
best wishes

--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"mndpy" wrote in message
...
I have on spreadsheet that has a column with a list of single numbers or
letters the next column are times associated with those numbers and
letters.
I want to type in one of those numbers or letters and have it displayed in
another worksheet the time associted with it. I have it half working that
is
displays the letters but is comes up with a #N/A when you type in a number
to
match. Here is what I am using. Any help would be appreciated!

=INDEX(Codes!$A$2:$B$33,MATCH('F Codes'!G7,Codes!$A$2:$A$33,FALSE),2)




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default Matching numbers and text

Try:

=VLOOKUP('F Codes'!G7,Codes!$A$2:$B$332,0)

"mndpy" wrote:

What lookup should I try?

"Bernard Liengme" wrote:

Suggest you do a test to check if the numbers are actually text.
In a cell in F Codes sheet enter =G7=Codes!A12 (replace A12 by a cell that
has a number). Type the same number into G7 as you see in Codes!A12; you
should get TRUE as the result.
Or on Codes sheet in D2 (or wherever) use =ISNUMBER(A2) and copy down to
D33

But why not use VLOOKUP?
best wishes

--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"mndpy" wrote in message
...
I have on spreadsheet that has a column with a list of single numbers or
letters the next column are times associated with those numbers and
letters.
I want to type in one of those numbers or letters and have it displayed in
another worksheet the time associted with it. I have it half working that
is
displays the letters but is comes up with a #N/A when you type in a number
to
match. Here is what I am using. Any help would be appreciated!

=INDEX(Codes!$A$2:$B$33,MATCH('F Codes'!G7,Codes!$A$2:$A$33,FALSE),2)




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default Matching numbers and text

That works but only for the letters I'm looking for. It still doesn't like
looking for the #'s. Any idea on how to search both?

"Toppers" wrote:

Try:

=VLOOKUP('F Codes'!G7,Codes!$A$2:$B$332,0)

"mndpy" wrote:

What lookup should I try?

"Bernard Liengme" wrote:

Suggest you do a test to check if the numbers are actually text.
In a cell in F Codes sheet enter =G7=Codes!A12 (replace A12 by a cell that
has a number). Type the same number into G7 as you see in Codes!A12; you
should get TRUE as the result.
Or on Codes sheet in D2 (or wherever) use =ISNUMBER(A2) and copy down to
D33

But why not use VLOOKUP?
best wishes

--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"mndpy" wrote in message
...
I have on spreadsheet that has a column with a list of single numbers or
letters the next column are times associated with those numbers and
letters.
I want to type in one of those numbers or letters and have it displayed in
another worksheet the time associted with it. I have it half working that
is
displays the letters but is comes up with a #N/A when you type in a number
to
match. Here is what I am using. Any help would be appreciated!

=INDEX(Codes!$A$2:$B$33,MATCH('F Codes'!G7,Codes!$A$2:$A$33,FALSE),2)





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default Matching numbers and text

It will work on numbers and text PROVIDED that they have the same format i.e
general or text.

"mndpy" wrote:

That works but only for the letters I'm looking for. It still doesn't like
looking for the #'s. Any idea on how to search both?

"Toppers" wrote:

Try:

=VLOOKUP('F Codes'!G7,Codes!$A$2:$B$332,0)

"mndpy" wrote:

What lookup should I try?

"Bernard Liengme" wrote:

Suggest you do a test to check if the numbers are actually text.
In a cell in F Codes sheet enter =G7=Codes!A12 (replace A12 by a cell that
has a number). Type the same number into G7 as you see in Codes!A12; you
should get TRUE as the result.
Or on Codes sheet in D2 (or wherever) use =ISNUMBER(A2) and copy down to
D33

But why not use VLOOKUP?
best wishes

--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"mndpy" wrote in message
...
I have on spreadsheet that has a column with a list of single numbers or
letters the next column are times associated with those numbers and
letters.
I want to type in one of those numbers or letters and have it displayed in
another worksheet the time associted with it. I have it half working that
is
displays the letters but is comes up with a #N/A when you type in a number
to
match. Here is what I am using. Any help would be appreciated!

=INDEX(Codes!$A$2:$B$33,MATCH('F Codes'!G7,Codes!$A$2:$A$33,FALSE),2)



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Matching numbers and text

maybe this give a trick on the match formula with index function.

the cell 'F Codes'!G7 maybe was formatted as text,
try to change and use format as general on the said cell.

Regards



"mndpy" wrote:

I have on spreadsheet that has a column with a list of single numbers or
letters the next column are times associated with those numbers and letters.
I want to type in one of those numbers or letters and have it displayed in
another worksheet the time associted with it. I have it half working that is
displays the letters but is comes up with a #N/A when you type in a number to
match. Here is what I am using. Any help would be appreciated!

=INDEX(Codes!$A$2:$B$33,MATCH('F Codes'!G7,Codes!$A$2:$A$33,FALSE),2)

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default Matching numbers and text

No such luck...any other ideas let me know. I appreciate it! Thanks!!!

"fair_thumb" wrote:

maybe this give a trick on the match formula with index function.

the cell 'F Codes'!G7 maybe was formatted as text,
try to change and use format as general on the said cell.

Regards



"mndpy" wrote:

I have on spreadsheet that has a column with a list of single numbers or
letters the next column are times associated with those numbers and letters.
I want to type in one of those numbers or letters and have it displayed in
another worksheet the time associted with it. I have it half working that is
displays the letters but is comes up with a #N/A when you type in a number to
match. Here is what I am using. Any help would be appreciated!

=INDEX(Codes!$A$2:$B$33,MATCH('F Codes'!G7,Codes!$A$2:$A$33,FALSE),2)

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
Help with Matching Text Fields - Then Moving the Matching Cells Side by Side [email protected] Excel Discussion (Misc queries) 2 June 11th 07 02:38 PM
Checks, Matching and deleting numbers Schwimms Excel Discussion (Misc queries) 2 May 23rd 07 08:59 PM
vlookup with not exactly matching numbers Kelly Excel Discussion (Misc queries) 5 August 4th 06 10:31 PM
matching a combination of numbers mike Excel Discussion (Misc queries) 2 June 28th 06 09:56 PM
matching numbers in col a and col b Jim Excel Worksheet Functions 1 September 14th 05 02:17 PM


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