#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default Match & Index

I have an Index and Match formula which is supposed to match a number
formatted as text. I keep getting #N/A in the match cell. If I choose the
"convert to number" selection in the error checking option, the formula
works. I have tried to change the property to numbers and still receive an
error. I have used this formula in the past without issue.
--
Tekhnikos
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Match & Index

post your formula

"Tekhnikos" wrote:

I have an Index and Match formula which is supposed to match a number
formatted as text. I keep getting #N/A in the match cell. If I choose the
"convert to number" selection in the error checking option, the formula
works. I have tried to change the property to numbers and still receive an
error. I have used this formula in the past without issue.
--
Tekhnikos

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default Match & Index

=INDEX(Selections!A2:E441,MATCH(Data!A2,Selections !A2:A441,0),4)
The format of SelectionsA2 is text, the format of Data!a2 is text
--
Tekhnikos


"Mike H" wrote:

post your formula

"Tekhnikos" wrote:

I have an Index and Match formula which is supposed to match a number
formatted as text. I keep getting #N/A in the match cell. If I choose the
"convert to number" selection in the error checking option, the formula
works. I have tried to change the property to numbers and still receive an
error. I have used this formula in the past without issue.
--
Tekhnikos

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default Match & Index

I also tried using VLookup function as well - I have the same error. The
cell that is supposed to be matched is based a combo box selection.
--
Tekhnikos


"Tekhnikos" wrote:

=INDEX(Selections!A2:E441,MATCH(Data!A2,Selections !A2:A441,0),4)
The format of SelectionsA2 is text, the format of Data!a2 is text
--
Tekhnikos


"Mike H" wrote:

post your formula

"Tekhnikos" wrote:

I have an Index and Match formula which is supposed to match a number
formatted as text. I keep getting #N/A in the match cell. If I choose the
"convert to number" selection in the error checking option, the formula
works. I have tried to change the property to numbers and still receive an
error. I have used this formula in the past without issue.
--
Tekhnikos

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Match & Index

Hi,

the formula works fine text or numbers in the lookup value or range so i
suspect your text values may not be what you think they are, erronious spaces
maybe

I'd use this to do the same thing

=VLOOKUP(TRIM(Data!A2),Selections!A2:D441,4,FALSE)

Note that in you formula column e is referenced but not used.

Mike

"Tekhnikos" wrote:

=INDEX(Selections!A2:E441,MATCH(Data!A2,Selections !A2:A441,0),4)
The format of SelectionsA2 is text, the format of Data!a2 is text
--
Tekhnikos


"Mike H" wrote:

post your formula

"Tekhnikos" wrote:

I have an Index and Match formula which is supposed to match a number
formatted as text. I keep getting #N/A in the match cell. If I choose the
"convert to number" selection in the error checking option, the formula
works. I have tried to change the property to numbers and still receive an
error. I have used this formula in the past without issue.
--
Tekhnikos



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default Match & Index

What appears to be happening is a hidden value of some sort is added to the
cell from the combo box selection. The LinkedCell from the combo is used for
the lookup.. any ideas on how to stop this from happening?
--
Tekhnikos


"Mike H" wrote:

Hi,

the formula works fine text or numbers in the lookup value or range so i
suspect your text values may not be what you think they are, erronious spaces
maybe

I'd use this to do the same thing

=VLOOKUP(TRIM(Data!A2),Selections!A2:D441,4,FALSE)

Note that in you formula column e is referenced but not used.

Mike

"Tekhnikos" wrote:

=INDEX(Selections!A2:E441,MATCH(Data!A2,Selections !A2:A441,0),4)
The format of SelectionsA2 is text, the format of Data!a2 is text
--
Tekhnikos


"Mike H" wrote:

post your formula

"Tekhnikos" wrote:

I have an Index and Match formula which is supposed to match a number
formatted as text. I keep getting #N/A in the match cell. If I choose the
"convert to number" selection in the error checking option, the formula
works. I have tried to change the property to numbers and still receive an
error. I have used this formula in the past without issue.
--
Tekhnikos

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Match & Index

You could use as your lookup value:

LEFT(Data!A2,LEN(Data!A2)-1)

if that extra character is at the end of Data!A2 (or use RIGHT if it
is at the beginning).

Hope this helps.

Pete

On Jan 16, 11:16*pm, Tekhnikos
wrote:
What appears to be happening is a hidden value of some sort is added to the
cell from the combo box selection. *The LinkedCell from the combo is used for
the lookup.. any ideas on how to stop this from happening?
--
Tekhnikos



"Mike H" wrote:
Hi,


the formula works fine text or numbers in the lookup value or range so i
suspect your text values may not be what you think they are, erronious spaces
maybe


I'd use this to do the same thing


=VLOOKUP(TRIM(Data!A2),Selections!A2:D441,4,FALSE)


Note that in you formula column e is referenced but not used.


Mike


"Tekhnikos" wrote:


=INDEX(Selections!A2:E441,MATCH(Data!A2,Selections !A2:A441,0),4)
The format of SelectionsA2 is text, the format of Data!a2 is text
--
Tekhnikos


"Mike H" wrote:


post your formula


"Tekhnikos" wrote:


I have an Index and Match formula which is supposed to match a number
formatted as text. *I keep getting #N/A in the match cell. *If I choose the
"convert to number" selection in the error checking option, the formula
works. *I have tried to change the property to numbers and still receive an
error. *I have used this formula in the past without issue.
--
Tekhnikos- Hide quoted text -


- Show quoted text -


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
Find Exact Match using INDEX, MATCH DoubleUU Excel Worksheet Functions 3 August 15th 08 02:42 PM
index(match) Wind Uplift Calculations (match four conditions) JMeier Excel Worksheet Functions 8 August 1st 08 01:45 AM
index match array function-returning only first match, need last. Julie Olsen Excel Worksheet Functions 3 December 29th 06 12:50 AM
How do I display more than one match in a Index/Match formula? Trish Excel Worksheet Functions 0 September 26th 05 10:21 PM
index,match,match on un-sorted data Brisbane Rob Excel Worksheet Functions 3 September 24th 05 10:04 PM


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