A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Index Match Problem



 
 
Thread Tools Display Modes
  #1  
Old April 28th, 2010, 06:06 PM posted to microsoft.public.excel.worksheet.functions
jeikenberry
external usenet poster
 
Posts: 2
Default Index Match Problem

I'm using the following formula, but it's returning #N/A:

=INDEX('File X'!$F$1:$F$2000,MATCH(1,($B5='File X'!$A$1:$A$2000)*(S$4='File
X'!$G$1:$G$2000),0)

However, if I replace the S$4 with "7710", it returns the correct value.
The number in S4 is 7710. Why won't the formula recognize the cell
reference, but if I type the contents of the cell manually, it works? I
double-checked to make sure nothing was entered as text.
  #2  
Old April 28th, 2010, 06:12 PM posted to microsoft.public.excel.worksheet.functions
eduardo
external usenet poster
 
Posts: 2,131
Default Index Match Problem

Hi,
is 7710 a number typed or imported, check if you don't have blank spaces in
one of the two cells you are comparing

"jeikenberry" wrote:

I'm using the following formula, but it's returning #N/A:

=INDEX('File X'!$F$1:$F$2000,MATCH(1,($B5='File X'!$A$1:$A$2000)*(S$4='File
X'!$G$1:$G$2000),0)

However, if I replace the S$4 with "7710", it returns the correct value.
The number in S4 is 7710. Why won't the formula recognize the cell
reference, but if I type the contents of the cell manually, it works? I
double-checked to make sure nothing was entered as text.

  #3  
Old April 28th, 2010, 06:36 PM posted to microsoft.public.excel.worksheet.functions
jeikenberry
external usenet poster
 
Posts: 2
Default Index Match Problem

I typed it in myself. I did double-check to make sure there are no spaces.

"Eduardo" wrote:

Hi,
is 7710 a number typed or imported, check if you don't have blank spaces in
one of the two cells you are comparing

"jeikenberry" wrote:

I'm using the following formula, but it's returning #N/A:

=INDEX('File X'!$F$1:$F$2000,MATCH(1,($B5='File X'!$A$1:$A$2000)*(S$4='File
X'!$G$1:$G$2000),0)

However, if I replace the S$4 with "7710", it returns the correct value.
The number in S4 is 7710. Why won't the formula recognize the cell
reference, but if I type the contents of the cell manually, it works? I
double-checked to make sure nothing was entered as text.

  #4  
Old April 29th, 2010, 06:25 AM posted to microsoft.public.excel.worksheet.functions
Jacob Skaria
external usenet poster
 
Posts: 5,952
Default Index Match Problem

Check whether S4 cell is formatted as text . If so either change that to
general format and re-enter the number or modify the formula as

(--S$4='File X'!$G$1:$G$2000)


--
Jacob (MVP - Excel)


"jeikenberry" wrote:

I typed it in myself. I did double-check to make sure there are no spaces.

"Eduardo" wrote:

Hi,
is 7710 a number typed or imported, check if you don't have blank spaces in
one of the two cells you are comparing

"jeikenberry" wrote:

I'm using the following formula, but it's returning #N/A:

=INDEX('File X'!$F$1:$F$2000,MATCH(1,($B5='File X'!$A$1:$A$2000)*(S$4='File
X'!$G$1:$G$2000),0)

However, if I replace the S$4 with "7710", it returns the correct value.
The number in S4 is 7710. Why won't the formula recognize the cell
reference, but if I type the contents of the cell manually, it works? I
double-checked to make sure nothing was entered as text.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:23 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.