How do I re write this formula to incorporate iserror function to show "" when a value of false or N/A is found.
=IF(K8<>"",VLOOKUP(F8,'My Sheet'!$F$2:$I$489,4,FALSE))
Thanks
How do I re write this formula to incorporate iserror function to show "" when a value of false or N/A is found.
=IF(K8<>"",VLOOKUP(F8,'My Sheet'!$F$2:$I$489,4,FALSE))
Thanks
Last edited by NBVC; 09-17-2009 at 08:05 AM.
Try
=IF(K8<>"",IF(Isna(VLOOKUP(F8,'My Sheet'!$F$2:$I$489,4,FALSE)),"",VLOOKUP(F8,'My Sheet'!$F$2:$I$489,4,FALSE))
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Does this work for you?Please Login or Register to view this content.
ChemistB
My 2?
substitute commas with semi-colons if your region settings requires
Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)
Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble
the first code worked except it returned false also, the 2nd got an error message.
first code will get the job done.
thanks to both of you - appreciate you're help
Try:
=IF(K8<>"",IF(Isna(VLOOKUP(F8,'My Sheet'!$F$2:$I$489,4,FALSE)),"",VLOOKUP(F8,'My Sheet'!$F$2:$I$489,4,FALSE),"")
Hi NBVC,
Getting...you've entered too many arguments for this funciton.
okay, it seems like
=IF(K8<>"",IF(Isna(VLOOKUP(F8,'My Sheet'!$F$2:$I$489,4,FALSE)),"",VLOOKUP(F8,'My Sheet'!$F$2:$I$489,4,FALSE),""))) works but still returning false. Basically i want a blank cell when error or false found.
Last edited by VegasL; 09-16-2009 at 04:44 PM.
Forgot a closing parenthesis:
=IF(K8<>"",IF(ISNA(VLOOKUP(F8,'My Sheet'!$F$2:$I$489,4,FALSE)),"",VLOOKUP(F8,'My Sheet'!$F$2:$I$489,4,FALSE)),"")
Wow, You Da Man!. Thanks Bud!
Hi
Sorry to add to this thread.
What is the VBA equivalent for a macro?
I've got below but not able to get it to work.
Sub Replace()
Sheet2.Activate
Range("E2:E8") = "=VLOOKUP(A2,$A$2:$B$5,2,FALSE)"
IF(ISERROR(VLOOKUP(A2,$A$2:$B$5,2,FALSE)),"",VLOOKUP(A2,$A$2:$B$5,2,FALSE))
End Sub
basically, what im trying to do is, populate a column from a table for a particular range. If the range has missing data, 'NA' will show and therefore needs to be coverted to blank cells.
How do i convert 'N/A' it to a blank cell?
thanks
Phil
philster1, welcome to the board, however, please note:
Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread.
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks