Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default eliminate N/A error when using Vlookup

How does this macro look? Will it give me a return of an "empty cell"?

ActiveCell.FormulaR1C1 = "=IF(ISNA(VLOOKUP(RC[-5],'Fall 2006 Cohort'!
R2C1:R65536C28,13,FALSE)=TRUE),"", VLOOKUP(RC[-5],'Fall 2006 Cohort'!
R2C1:R65536C28,13,FALSE))"
ActiveCell.Offset(0, 1).Select

THANKS!

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default eliminate N/A error when using Vlookup

Surely, you can test it just as easily as we can.

One thing to note, quotes within quotes should be doubled up, so it is

ActiveCell.FormulaR1C1 = "=<<tes,"""",<<test"

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Nena" wrote in message
oups.com...
How does this macro look? Will it give me a return of an "empty cell"?

ActiveCell.FormulaR1C1 = "=IF(ISNA(VLOOKUP(RC[-5],'Fall 2006 Cohort'!
R2C1:R65536C28,13,FALSE)=TRUE),"", VLOOKUP(RC[-5],'Fall 2006 Cohort'!
R2C1:R65536C28,13,FALSE))"
ActiveCell.Offset(0, 1).Select

THANKS!



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
Modify to eliminate #NUM! error Gotroots Excel Worksheet Functions 6 December 9th 09 05:16 PM
Eliminate #N/A in Vlookup formulas kkeim Excel Worksheet Functions 4 June 1st 09 05:30 PM
when copying from one spreadsheet to another I get "#VALUE!" error,how can I eliminate it? Joe Excel Discussion (Misc queries) 3 March 21st 08 09:53 PM
How do I eliminate, in Excel XP, "too many cell formats" error? Dennis Excel Discussion (Misc queries) 2 March 24th 05 06:44 PM
DIV/0 ERROR - How eliminate them in many cells contemporaneously Metallo[_2_] Excel Programming 11 May 18th 04 04:25 PM


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