Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Rob Rob is offline
external usenet poster
 
Posts: 718
Default Hide #N/As with Cell Indexing/Matching

Iwas wondering if anyone knows how I can get the "#N/A" to stop being
displayed for line items that are not found? The first formula is the one I
originally used and the second formula was my attempt at having it display a
"No" instead of "#N/A". The second formula fails... It shows the "Yes" Just
Fine but when it comes to the no part is flops and shows #N/A.

INDEX($K$6:$K$158,MATCH($E6,$K$6:$K$158,0),1)

=IF(INDEX($K$6:$K$158,MATCH($E6,$K$6:$K$158,0),1)= "#N/A","No","Yes")


Thanks in Advance,
Rob
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 896
Default Hide #N/As with Cell Indexing/Matching

tried:

=IF(ISERROR(INDEX($K$6:$K$158,MATCH($E6,$K$6:$K$15 8,0),1)),"No","Yes")

?


On 13 Sty, 12:11, Rob wrote:
Iwas wondering if anyone knows how I can get the "#N/A" to stop being
displayed for line items that are not found? *The first formula is the one I
originally used and the second formula was my attempt at having it display a
"No" instead of "#N/A". *The second formula fails... *It shows the "Yes" Just
Fine but when it comes to the no part is flops and shows #N/A.

INDEX($K$6:$K$158,MATCH($E6,$K$6:$K$158,0),1)

=IF(INDEX($K$6:$K$158,MATCH($E6,$K$6:$K$158,0),1)= "#N/A","No","Yes")

Thanks in Advance,
Rob


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Hide #N/As with Cell Indexing/Matching

Rob,

Maybe this

=IF(ISNA(INDEX($K$6:$K$158,MATCH($E6,$K$6:$K$158,0 ),1)),"No","Yes")

or even this

=IF(ISNA(INDEX($K$6:$K$158,MATCH($E6,$K$6:$K$158,0 ),1)),"No",INDEX($K$6:$K$158,MATCH($E6,$K$6:$K$158 ,0),1))

Mike

"Rob" wrote:

Iwas wondering if anyone knows how I can get the "#N/A" to stop being
displayed for line items that are not found? The first formula is the one I
originally used and the second formula was my attempt at having it display a
"No" instead of "#N/A". The second formula fails... It shows the "Yes" Just
Fine but when it comes to the no part is flops and shows #N/A.

INDEX($K$6:$K$158,MATCH($E6,$K$6:$K$158,0),1)

=IF(INDEX($K$6:$K$158,MATCH($E6,$K$6:$K$158,0),1)= "#N/A","No","Yes")


Thanks in Advance,
Rob

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Hide #N/As with Cell Indexing/Matching

You can use ISNA to trap just the #N/A errors:

=IF(ISNA(MATCH($E6,$K$6:$K$158,0)),"no",INDEX($K$6 :$K$158,MATCH($E6,$K
$6:$K$158,0),1))

Hope this helps.

Pete

On Jan 13, 11:11*am, Rob wrote:
Iwas wondering if anyone knows how I can get the "#N/A" to stop being
displayed for line items that are not found? *The first formula is the one I
originally used and the second formula was my attempt at having it display a
"No" instead of "#N/A". *The second formula fails... *It shows the "Yes" Just
Fine but when it comes to the no part is flops and shows #N/A.

INDEX($K$6:$K$158,MATCH($E6,$K$6:$K$158,0),1)

=IF(INDEX($K$6:$K$158,MATCH($E6,$K$6:$K$158,0),1)= "#N/A","No","Yes")

Thanks in Advance,
Rob


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Rob Rob is offline
external usenet poster
 
Posts: 718
Default Hide #N/As with Cell Indexing/Matching

WOW !! That's Awesome.. They all worked! Thanks You Very Much.

Rob


"Pete_UK" wrote:

You can use ISNA to trap just the #N/A errors:

=IF(ISNA(MATCH($E6,$K$6:$K$158,0)),"no",INDEX($K$6 :$K$158,MATCH($E6,$K
$6:$K$158,0),1))

Hope this helps.

Pete

On Jan 13, 11:11 am, Rob wrote:
Iwas wondering if anyone knows how I can get the "#N/A" to stop being
displayed for line items that are not found? The first formula is the one I
originally used and the second formula was my attempt at having it display a
"No" instead of "#N/A". The second formula fails... It shows the "Yes" Just
Fine but when it comes to the no part is flops and shows #N/A.

INDEX($K$6:$K$158,MATCH($E6,$K$6:$K$158,0),1)

=IF(INDEX($K$6:$K$158,MATCH($E6,$K$6:$K$158,0),1)= "#N/A","No","Yes")

Thanks in Advance,
Rob





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Hide #N/As with Cell Indexing/Matching

You're welcome, Rob - thanks for feeding back.

Pete

On Jan 13, 12:14*pm, Rob wrote:
WOW !! That's Awesome.. They all worked! *Thanks You Very Much. *

Rob



"Pete_UK" wrote:
You can use ISNA to trap just the #N/A errors:


=IF(ISNA(MATCH($E6,$K$6:$K$158,0)),"no",INDEX($K$6 :$K$158,MATCH($E6,$K
$6:$K$158,0),1))


Hope this helps.


Pete


On Jan 13, 11:11 am, Rob wrote:
Iwas wondering if anyone knows how I can get the "#N/A" to stop being
displayed for line items that are not found? *The first formula is the one I
originally used and the second formula was my attempt at having it display a
"No" instead of "#N/A". *The second formula fails... *It shows the "Yes" Just
Fine but when it comes to the no part is flops and shows #N/A.


INDEX($K$6:$K$158,MATCH($E6,$K$6:$K$158,0),1)


=IF(INDEX($K$6:$K$158,MATCH($E6,$K$6:$K$158,0),1)= "#N/A","No","Yes")


Thanks in Advance,
Rob- Hide quoted text -


- Show quoted text -


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
Indexing of Name Charlie Excel Worksheet Functions 1 April 5th 06 01:33 PM
Indexing/Matching True/False results drvortex Excel Worksheet Functions 5 November 29th 05 01:09 AM
Matching data and linking it to the matching cell yvonne a via OfficeKB.com Links and Linking in Excel 0 July 13th 05 07:30 PM
Indexing / Cell Addressing A_n_d_e_r_s Excel Discussion (Misc queries) 1 February 10th 05 11:47 AM
Indexing, matching and vlookups? inthestands Excel Worksheet Functions 2 February 1st 05 03:21 PM


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