LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.misc
JE JE is offline
external usenet poster
 
Posts: 26
Default Format results from using INDEX

Please disregard. I found my error. Sheet4! was not formatted correctly.

"JE" wrote:

Brilliant idea but I'm having trouble in execution for one formula. I added
the VALUE in front of the INDEX formula for one situation and it worked
perfect. The other formula returned a #VALUE! error. This formula is to
return the data from the line above.

Below is the information:

Sheet5

A B
Dated Date: 1/15/1999

Ref CPI m
=VALUE(INDEX(Sheet4!$E$1:$E$136,MATCH(1,(MONTH(She et5!C3)=Sheet4!$C$1:$C$139)*(YEAR(Sheet5!C4)=Sheet 4!$D$1:$D$139),0)+1))

**this one returns the VALUE error**

Ref CPI m+1
=VALUE(INDEX(Sheet4!$E$1:$E$136,MATCH(1,(MONTH(She et5!C3)=Sheet4!$C$1:$C$139)*(YEAR(Sheet5!C4)=Sheet 4!$D$1:$D$139),0)))

**this one returns the correct value**

Sheet4

A B C

3 1997 159.1
4 1997 159.6
5 1997 160
6 1997 160.2
7 1997 160.1
8 1997 160.3
9 1997 160.5
10 1997 160.8
11 1997 161.2
12 1997 161.6
1 1998 161.5
2 1998 161.3
3 1998 161.6
4 1998 161.9
5 1998 162.2
6 1998 162.5
7 1998 162.8
8 1998 163
9 1998 163.2
10 1998 163.4
11 1998 163.6
12 1998 164


"Jim Thomlinson" wrote:

Sounds like your index match is returning text. Try using the Value function
to coerce the returned value to a number (instead of multiplying by 1)...
=value(index(...(match(...)))
--
HTH...

Jim Thomlinson


"JE" wrote:

This may be an obtuse question. I used the INDEX/MATCH function to return a
number from another worksheet. I am using this number in another forumula
and receive #VALUE!. However, when I type over the number returned from the
INDEX/MATCH, the formula is successful. I attempted to multiply 1 times the
end of the INDEX formula but that did not work. Any suggestions?

Many thanks.

 
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
Sorting results from the Index command Anderson Excel Worksheet Functions 1 December 21st 07 04:36 PM
INDEX/MATCH skipping results RS Excel Worksheet Functions 3 August 18th 07 09:38 PM
Obtaining Multiple Results Using Index/Match Functions Teethless mama Excel Worksheet Functions 0 March 3rd 07 03:16 AM
Index and Match results Mick Excel Worksheet Functions 4 December 21st 06 11:51 PM
Integrating results from different pages? (No luck w/ INDEX & LOO randomjohn Excel Discussion (Misc queries) 2 August 2nd 05 07:56 PM


All times are GMT +1. The time now is 02:20 AM.

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"