Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default how do i find any value in a list that is not #NA

I have a row of cells on one sheet, each of which is the result of a vlookup.
I want to retrieve the (hopefully) one value in the row that is NOT #NA.
The value can be anything, so I don't have the lookup_value for hlookup.

Any ideas?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default how do i find any value in a list that is not #NA

So, there will only being a single value that is not #N/A?

=LOOKUP(2,1/NOT(ISNA(A1:E1)),A1:E1)

Biff

"Larry Lessmann" <Larry wrote in message
...
I have a row of cells on one sheet, each of which is the result of a
vlookup.
I want to retrieve the (hopefully) one value in the row that is NOT #NA.
The value can be anything, so I don't have the lookup_value for hlookup.

Any ideas?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,231
Default how do i find any value in a list that is not #NA

Larry Lessmann <Larry wrote...
I have a row of cells on one sheet, each of which is the result of a vlookup.
I want to retrieve the (hopefully) one value in the row that is NOT #NA.
The value can be anything, so I don't have the lookup_value for hlookup.


Try something like

=LOOKUP(2,1/(1-ISNA(A1:J1)),A1:J1)

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default how do i find any value in a list that is not #NA

One way

=INDEX(C3:O3,MATCH(FALSE,ISERROR(C3:O3),0))

entered with ctrl + shift & enter

will return the first cell with non error


--
Regards,

Peo Sjoblom



"Larry Lessmann" <Larry wrote in message
...
I have a row of cells on one sheet, each of which is the result of a
vlookup.
I want to retrieve the (hopefully) one value in the row that is NOT #NA.
The value can be anything, so I don't have the lookup_value for hlookup.

Any ideas?



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
find last value in list IvanM Excel Worksheet Functions 8 October 16th 06 03:46 AM
How to find a find a list of possible inputs to sum a known amt? JimBunch Excel Discussion (Misc queries) 2 February 18th 06 05:17 PM
list 1 has 400 names List 2 has 4000. find manes from list 1 on 2 Ed Excel Worksheet Functions 5 September 12th 05 09:48 AM
Find in a list Dkso Excel Discussion (Misc queries) 8 September 7th 05 02:57 PM
find names on list 1 in list 2. list 1 4000 names list 2 400 name Ed Excel Worksheet Functions 1 September 4th 05 12:48 AM


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