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 Need help with INDEX lookup

This formula works, but of course it only gives the first instance:
=INDEX($A$2:$A$100,MATCH(1,($L$2:$L$100<"")*($L$2 :$L$100<"Resolved"),0)).

So I tried created this formula as an array:
=INDEX($A$2:$A$100, SMALL(AND(IF(($L$2:$L$100<""),(
$L$2:$L$100<"Resolved")), ROW($A$2:$A$100)),ROW(1:1)))
I receive #N/A. Any suggestions on how to fix the formula? Column A has the
information I'd like returned if the conditions are met in column L. Column L
is the result of a VLOOKUP you all helped me with previously. Eventually I'll
evolve the formula to do the look up from another worksheet. Is this enough
information or do you need more?

Thank in advance.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Need help with INDEX lookup

Try it like this:

=INDEX($A$2:$A$100,SMALL(IF(($L$2:$L$100<"")*(
$L$2:$L$100<"Resolved"),ROW($A$2:$A$100)),ROWS(A$ 1:A1))-ROW(A$2)+1)

Don't forget: array entered!

--
Biff
Microsoft Excel MVP


"Vegas Sara" wrote in message
...
This formula works, but of course it only gives the first instance:
=INDEX($A$2:$A$100,MATCH(1,($L$2:$L$100<"")*($L$2 :$L$100<"Resolved"),0)).

So I tried created this formula as an array:
=INDEX($A$2:$A$100, SMALL(AND(IF(($L$2:$L$100<""),(
$L$2:$L$100<"Resolved")), ROW($A$2:$A$100)),ROW(1:1)))
I receive #N/A. Any suggestions on how to fix the formula? Column A has
the
information I'd like returned if the conditions are met in column L.
Column L
is the result of a VLOOKUP you all helped me with previously. Eventually
I'll
evolve the formula to do the look up from another worksheet. Is this
enough
information or do you need more?

Thank in advance.




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default Need help with INDEX lookup

Thank you, but I still get #N/A. I copied the formula exactly. was I supposed
to make some customizations?

"T. Valko" wrote:

Try it like this:

=INDEX($A$2:$A$100,SMALL(IF(($L$2:$L$100<"")*(
$L$2:$L$100<"Resolved"),ROW($A$2:$A$100)),ROWS(A$ 1:A1))-ROW(A$2)+1)

Don't forget: array entered!

--
Biff
Microsoft Excel MVP


"Vegas Sara" wrote in message
...
This formula works, but of course it only gives the first instance:
=INDEX($A$2:$A$100,MATCH(1,($L$2:$L$100<"")*($L$2 :$L$100<"Resolved"),0)).

So I tried created this formula as an array:
=INDEX($A$2:$A$100, SMALL(AND(IF(($L$2:$L$100<""),(
$L$2:$L$100<"Resolved")), ROW($A$2:$A$100)),ROW(1:1)))
I receive #N/A. Any suggestions on how to fix the formula? Column A has
the
information I'd like returned if the conditions are met in column L.
Column L
is the result of a VLOOKUP you all helped me with previously. Eventually
I'll
evolve the formula to do the look up from another worksheet. Is this
enough
information or do you need more?

Thank in advance.





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Need help with INDEX lookup

I still get #N/A.
Column L is the result of a VLOOKUP


Are there any #N/A errors already in col L?

If so, you need to fix them.

--
Biff
Microsoft Excel MVP


"Vegas Sara" wrote in message
...
Thank you, but I still get #N/A. I copied the formula exactly. was I
supposed
to make some customizations?

"T. Valko" wrote:

Try it like this:

=INDEX($A$2:$A$100,SMALL(IF(($L$2:$L$100<"")*(
$L$2:$L$100<"Resolved"),ROW($A$2:$A$100)),ROWS(A$ 1:A1))-ROW(A$2)+1)

Don't forget: array entered!

--
Biff
Microsoft Excel MVP


"Vegas Sara" wrote in message
...
This formula works, but of course it only gives the first instance:
=INDEX($A$2:$A$100,MATCH(1,($L$2:$L$100<"")*($L$2 :$L$100<"Resolved"),0)).

So I tried created this formula as an array:
=INDEX($A$2:$A$100, SMALL(AND(IF(($L$2:$L$100<""),(
$L$2:$L$100<"Resolved")), ROW($A$2:$A$100)),ROW(1:1)))
I receive #N/A. Any suggestions on how to fix the formula? Column A has
the
information I'd like returned if the conditions are met in column L.
Column L
is the result of a VLOOKUP you all helped me with previously.
Eventually
I'll
evolve the formula to do the look up from another worksheet. Is this
enough
information or do you need more?

Thank in advance.







  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default Need help with INDEX lookup

Col L uses the following formula:
=IF(AND($G4<"Resolved",$C4="SAP-SECURITY"),VLOOKUP($A4,'25'!$A$2:$J$100,7,0),"")
From what I can tell, when the # being looked up on the next worksheet isn't
there, it returns the #N/A error. Which was fine until the INDEX formula
wouldn't work. When I tried putting ISNA in there, I received a blank - which
I don't want. Any suggestions?

"T. Valko" wrote:

I still get #N/A.
Column L is the result of a VLOOKUP


Are there any #N/A errors already in col L?

If so, you need to fix them.

--
Biff
Microsoft Excel MVP


"Vegas Sara" wrote in message
...
Thank you, but I still get #N/A. I copied the formula exactly. was I
supposed
to make some customizations?

"T. Valko" wrote:

Try it like this:

=INDEX($A$2:$A$100,SMALL(IF(($L$2:$L$100<"")*(
$L$2:$L$100<"Resolved"),ROW($A$2:$A$100)),ROWS(A$ 1:A1))-ROW(A$2)+1)

Don't forget: array entered!

--
Biff
Microsoft Excel MVP


"Vegas Sara" wrote in message
...
This formula works, but of course it only gives the first instance:
=INDEX($A$2:$A$100,MATCH(1,($L$2:$L$100<"")*($L$2 :$L$100<"Resolved"),0)).

So I tried created this formula as an array:
=INDEX($A$2:$A$100, SMALL(AND(IF(($L$2:$L$100<""),(
$L$2:$L$100<"Resolved")), ROW($A$2:$A$100)),ROW(1:1)))
I receive #N/A. Any suggestions on how to fix the formula? Column A has
the
information I'd like returned if the conditions are met in column L.
Column L
is the result of a VLOOKUP you all helped me with previously.
Eventually
I'll
evolve the formula to do the look up from another worksheet. Is this
enough
information or do you need more?

Thank in advance.










  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Need help with INDEX lookup

What type of data does the VLOOKUP return? Is it text, numeric or could it
be either? What version of Excel are you using?

--
Biff
Microsoft Excel MVP


"Vegas Sara" wrote in message
...
Col L uses the following formula:
=IF(AND($G4<"Resolved",$C4="SAP-SECURITY"),VLOOKUP($A4,'25'!$A$2:$J$100,7,0),"")
From what I can tell, when the # being looked up on the next worksheet
isn't
there, it returns the #N/A error. Which was fine until the INDEX formula
wouldn't work. When I tried putting ISNA in there, I received a blank -
which
I don't want. Any suggestions?

"T. Valko" wrote:

I still get #N/A.
Column L is the result of a VLOOKUP


Are there any #N/A errors already in col L?

If so, you need to fix them.

--
Biff
Microsoft Excel MVP


"Vegas Sara" wrote in message
...
Thank you, but I still get #N/A. I copied the formula exactly. was I
supposed
to make some customizations?

"T. Valko" wrote:

Try it like this:

=INDEX($A$2:$A$100,SMALL(IF(($L$2:$L$100<"")*(
$L$2:$L$100<"Resolved"),ROW($A$2:$A$100)),ROWS(A$ 1:A1))-ROW(A$2)+1)

Don't forget: array entered!

--
Biff
Microsoft Excel MVP


"Vegas Sara" wrote in message
...
This formula works, but of course it only gives the first instance:
=INDEX($A$2:$A$100,MATCH(1,($L$2:$L$100<"")*($L$2 :$L$100<"Resolved"),0)).

So I tried created this formula as an array:
=INDEX($A$2:$A$100, SMALL(AND(IF(($L$2:$L$100<""),(
$L$2:$L$100<"Resolved")), ROW($A$2:$A$100)),ROW(1:1)))
I receive #N/A. Any suggestions on how to fix the formula? Column A
has
the
information I'd like returned if the conditions are met in column L.
Column L
is the result of a VLOOKUP you all helped me with previously.
Eventually
I'll
evolve the formula to do the look up from another worksheet. Is this
enough
information or do you need more?

Thank in advance.










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
Which is better? LOOKUP or INDEX? PYO1012 Excel Worksheet Functions 1 August 28th 09 04:25 AM
Lookup? Index? or something else? Notify Excel Discussion (Misc queries) 0 May 6th 09 05:53 PM
Either LOOKUP or INDEX Help Bob Walters[_2_] Excel Worksheet Functions 4 September 27th 07 06:35 PM
Lookup/match/index Jules Excel Discussion (Misc queries) 1 July 5th 06 05:02 PM
Lookup or Index/Match Scorpvin Excel Discussion (Misc queries) 1 May 16th 06 07:35 PM


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