Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default If & Index & Match

what is wrong with the below function:

=IF(I161500000,(INDEX(C10:H11,MATCH(I17,B10:B11,0 ),MATCH(I18,C5:H5,1),1))),IF(I161000000&I1615000 00,INDEX(C8:H9,MATCH(I17,B8:B9,1),MATCH(I18,C5:H5, 1),1)),IF(I16650000&I161000000,INDEX(C6:H7,MATCH (I17,B6:B7,1),MATCH(I18,C5:H5,1),1))

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

would it be better to get the value by running it in VBA? if so, how do
you write it?
Please help :*(

wrote:
what is wrong with the below function:

=IF(I161500000,(INDEX(C10:H11,MATCH(I17,B10:B11,0 ),MATCH(I18,C5:H5,1),1))),IF(I161000000&I1615000 00,INDEX(C8:H9,MATCH(I17,B8:B9,1),MATCH(I18,C5:H5, 1),1)),IF(I16650000&I161000000,INDEX(C6:H7,MATCH (I17,B6:B7,1),MATCH(I18,C5:H5,1),1))


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default If & Index & Match

Hazarding some thoughts. It's tough to figure out what you're trying to do,
as it stands ..

=IF(I161500000,(INDEX(C10:H11,MATCH(I17,B10:B11,0 ),MATCH(I18,C5:H5,1),1))),IF(I161000000&I1615000 00,INDEX(C8:H9,MATCH(I17,B8:B9,1),MATCH(I18,C5:H5, 1),1)),IF(I16650000&I161000000,INDEX(C6:H7,MATCH (I17,B6:B7,1),MATCH(I18,C5:H5,1),1))


The first IF part
=IF(I161500000,(INDEX(C10:H11,MATCH(I17,B10:B11,0 ),MATCH(I18,C5:H5,1),1))),IF..


should perhaps read as:
=IF(I161500000,INDEX(C10:H11,MATCH(I17,B10:B11,0) ,MATCH(I18,C5:H5,1)),IF..

and the 2nd IF (it stumps me <g):
... IF(I161000000&I161500000,

As it stands the above would either simplify to:
... IF(I161000000

or perhaps you were trying to do something like:
... IF(AND(I161000000,I16<=1500000), ..

--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
orig. post:
wrote:
what is wrong with the below function:

=IF(I161500000,(INDEX(C10:H11,MATCH(I17,B10:B11,0 ),MATCH(I18,C5:H5,1),1))),IF(I161000000&I1615000 00,INDEX(C8:H9,MATCH(I17,B8:B9,1),MATCH(I18,C5:H5, 1),1)),IF(I16650000&I161000000,INDEX(C6:H7,MATCH (I17,B6:B7,1),MATCH(I18,C5:H5,1),1))




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

Hi

From the layout of the data you posted when you raised this question
under a separate thread, I posted the following solution to you. It
returned the value of 3, which is what I thought you were seeking.

Did it not work for you?

I'm not sure that I understand what you want, but maybe

=INDEX(D2:I7,MIN(MATCH(B9,A3:A7,1),MATCH(B10,B3:B7 ,1))+1,MATCH(B11,D2:I2,1))



--
Regards

Roger Govier


wrote in message
oups.com...
what is wrong with the below function:

=IF(I161500000,(INDEX(C10:H11,MATCH(I17,B10:B11,0 ),MATCH(I18,C5:H5,1),1))),IF(I161000000&I1615000 00,INDEX(C8:H9,MATCH(I17,B8:B9,1),MATCH(I18,C5:H5, 1),1)),IF(I16650000&I161000000,INDEX(C6:H7,MATCH (I17,B6:B7,1),MATCH(I18,C5:H5,1),1))



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

Hi,

Also you shouldn't have used "&" in your formula as this must be used
for CONCATENATION and not as "and" operator.

Thanks,

Shail


wrote:
what is wrong with the below function:

=IF(I161500000,(INDEX(C10:H11,MATCH(I17,B10:B11,0 ),MATCH(I18,C5:H5,1),1))),IF(I161000000&I1615000 00,INDEX(C8:H9,MATCH(I17,B8:B9,1),MATCH(I18,C5:H5, 1),1)),IF(I16650000&I161000000,INDEX(C6:H7,MATCH (I17,B6:B7,1),MATCH(I18,C5:H5,1),1))




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
Index, Match and filters Steve M Excel Discussion (Misc queries) 4 August 22nd 06 09:12 PM
Match Index cjjoo Excel Worksheet Functions 3 October 25th 05 09:33 AM
Match or Index Question carl Excel Worksheet Functions 2 October 4th 05 09:11 PM
Match & Index Phyllis B. Excel Worksheet Functions 2 November 27th 04 03:26 PM
Vlookup, Index & Match Phyllis Excel Worksheet Functions 1 November 8th 04 06:11 PM


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