#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 47
Default Index and #NA

From another post, I adapted a similar formula to my needs as follows:
=INDEX($P$2:$P$35000,MATCH(1,INDEX(($L$2:$L$35000= $A5)*($D5=$I$1)*($O$2:$O$35000=$D5),),)).
Since the data in column D varies but is unique to that row, I repeat the
formula (with the variations) in a few columns. Basically, I am matching 3
criteria to get a text result from column P.
What I am now trying to do is prefix the formula with the "If(ISNA: function
to eliminate the no match. However, I can't figure out where the ,0 or " "
after the first formula should go. Depending on where I have tried to place
the 'blank' I get either: Too many arguments, Too few arguments or missing
parenthesis error.

Thanks in advance,

Ron Rosenberg

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Index and #NA

That formula would be very inefficient (and long) with a "standard" error
trap:

=IF(ISNA(MATCH(1,INDEX(($L$2:$L$35000=$A5)*($D5=$I $1)*($O$2:$O$35000=$D5),),)),"",INDEX($P$2:$P$3500 0,MATCH(1,INDEX(($L$2:$L$35000=$A5)*($D5=$I$1)*($O $2:$O$35000=$D5),),)))

Try it like this:

=LOOKUP("zzzzz",CHOOSE({1,2},"",INDEX($P$2:$P$3500 0,MATCH(1,INDEX(($L$2:$L$35000=$A5)*($D5=$I$1)*($O $2:$O$35000=$D5),),))))

--
Biff
Microsoft Excel MVP


"ronnomad" wrote in message
...
From another post, I adapted a similar formula to my needs as follows:
=INDEX($P$2:$P$35000,MATCH(1,INDEX(($L$2:$L$35000= $A5)*($D5=$I$1)*($O$2:$O$35000=$D5),),)).
Since the data in column D varies but is unique to that row, I repeat the
formula (with the variations) in a few columns. Basically, I am matching
3
criteria to get a text result from column P.
What I am now trying to do is prefix the formula with the "If(ISNA:
function
to eliminate the no match. However, I can't figure out where the ,0 or "
"
after the first formula should go. Depending on where I have tried to
place
the 'blank' I get either: Too many arguments, Too few arguments or missing
parenthesis error.

Thanks in advance,

Ron Rosenberg



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 47
Default Index and #NA

As always, you guys rock. Works like a charm. The only problem, with the
size of the file, after 6 or 7 minutes it's only 10% done. I'm cobbling this
because the data is not available off our main data files.

This is going to same someone hours of work

Thanks,

Ron

"T. Valko" wrote:

That formula would be very inefficient (and long) with a "standard" error
trap:

=IF(ISNA(MATCH(1,INDEX(($L$2:$L$35000=$A5)*($D5=$I $1)*($O$2:$O$35000=$D5),),)),"",INDEX($P$2:$P$3500 0,MATCH(1,INDEX(($L$2:$L$35000=$A5)*($D5=$I$1)*($O $2:$O$35000=$D5),),)))

Try it like this:

=LOOKUP("zzzzz",CHOOSE({1,2},"",INDEX($P$2:$P$3500 0,MATCH(1,INDEX(($L$2:$L$35000=$A5)*($D5=$I$1)*($O $2:$O$35000=$D5),),))))

--
Biff
Microsoft Excel MVP


"ronnomad" wrote in message
...
From another post, I adapted a similar formula to my needs as follows:
=INDEX($P$2:$P$35000,MATCH(1,INDEX(($L$2:$L$35000= $A5)*($D5=$I$1)*($O$2:$O$35000=$D5),),)).
Since the data in column D varies but is unique to that row, I repeat the
formula (with the variations) in a few columns. Basically, I am matching
3
criteria to get a text result from column P.
What I am now trying to do is prefix the formula with the "If(ISNA:
function
to eliminate the no match. However, I can't figure out where the ,0 or "
"
after the first formula should go. Depending on where I have tried to
place
the 'blank' I get either: Too many arguments, Too few arguments or missing
parenthesis error.

Thanks in advance,

Ron Rosenberg




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Index and #NA

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"ronnomad" wrote in message
...
As always, you guys rock. Works like a charm. The only problem, with the
size of the file, after 6 or 7 minutes it's only 10% done. I'm cobbling
this
because the data is not available off our main data files.

This is going to same someone hours of work

Thanks,

Ron

"T. Valko" wrote:

That formula would be very inefficient (and long) with a "standard" error
trap:

=IF(ISNA(MATCH(1,INDEX(($L$2:$L$35000=$A5)*($D5=$I $1)*($O$2:$O$35000=$D5),),)),"",INDEX($P$2:$P$3500 0,MATCH(1,INDEX(($L$2:$L$35000=$A5)*($D5=$I$1)*($O $2:$O$35000=$D5),),)))

Try it like this:

=LOOKUP("zzzzz",CHOOSE({1,2},"",INDEX($P$2:$P$3500 0,MATCH(1,INDEX(($L$2:$L$35000=$A5)*($D5=$I$1)*($O $2:$O$35000=$D5),),))))

--
Biff
Microsoft Excel MVP


"ronnomad" wrote in message
...
From another post, I adapted a similar formula to my needs as follows:
=INDEX($P$2:$P$35000,MATCH(1,INDEX(($L$2:$L$35000= $A5)*($D5=$I$1)*($O$2:$O$35000=$D5),),)).
Since the data in column D varies but is unique to that row, I repeat
the
formula (with the variations) in a few columns. Basically, I am
matching
3
criteria to get a text result from column P.
What I am now trying to do is prefix the formula with the "If(ISNA:
function
to eliminate the no match. However, I can't figure out where the ,0 or
"
"
after the first formula should go. Depending on where I have tried to
place
the 'blank' I get either: Too many arguments, Too few arguments or
missing
parenthesis error.

Thanks in advance,

Ron Rosenberg






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
How to use INDEX? Eric Excel Discussion (Misc queries) 1 July 16th 07 04:46 PM
Chart axes color index vs font color index [email protected] Charts and Charting in Excel 4 December 7th 06 04:05 PM
How do I pull the col. index value as well as row index value Vikram Dhemare Excel Discussion (Misc queries) 1 March 29th 06 07:48 AM
Using Index(A:A,.........) Biff Excel Worksheet Functions 2 December 15th 05 10:14 PM
Using INDEX & AND Joe Gieder Excel Worksheet Functions 0 February 24th 05 02:43 PM


All times are GMT +1. The time now is 08:15 PM.

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

About Us

"It's about Microsoft Excel"