![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Mar 2002
Posts: 7
|
I am using a
=VLOOKUP(D2,Sheet1!A6:B12,2,FALSE) to look up stuff in another worksheet. i only want to see those values that are not equal to "#N/A" Is there a way to hide these cells? MAybe using conditional formatting? Thanks! |
|
|
|
|
|
#2 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
..Or use:
=IF(COUNTIF(A1:B16,D2)=0,"",VLOOKUP(D2,Sheet1!A6:B12,2,FALSE)) |
|
|
|
|
|
#3 |
|
New Member
Join Date: Mar 2002
Posts: 7
|
Hmmm.
I don't think that is exactly what I was looking for. thanks for the suggestion. It's still displaying "#N/A" when it doesn't find something that meets my criteria. These cells are what are showing up. I basically want to hide the entire ROW if a value of #N/A is returned. I think it is proabably beyind the scope of excel, though I could be wrong. |
|
|
|
|
|
#4 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Millbank, London, UK
Posts: 1,790
|
how about auto filter on anything that does not equal "#N/A" ?
_________________ Hope this helps, Chris [ This Message was edited by: Chris Davison on 2002-03-12 15:16 ] [ This Message was edited by: Chris Davison on 2002-03-12 15:16 ] |
|
|
|
|
|
#5 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
=IF(COUNTIF(A6:A12,D2),VLOOKUP(D2,Sheet1!A6:B12,2,0),"") where 0 as the 4th arg of VLOOKUP is the same as FALSE? [ This Message was edited by: Aladin Akyurek on 2002-03-12 15:29 ] |
|
|
|
|
|
|
#6 |
|
New Member
Join Date: Mar 2002
Posts: 7
|
I don't know Aladin. It just did. Either way, it didn't help me with my original problem. I wish I knew why #N/A was showing up.
It is possible I implemented teh formual incorrectly. Who knows. Incidentally, I am looking into the AutoFilter possibility....looks like I may need to use a "Pivot Table" whatever that is. Reading HELP THOGUH! thanks. |
|
|
|
|
|
#7 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
Aladin |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|