Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 18
Default Refresh produces #N?A error

This question was originall posted in the Links subsection but no one took
the bait. I have two worksbooks connected via a VLOOKUP. The primary workbook
gets data
from a read-only Access table on the LAN (via an MSQuery I designed) and has
a refresh button that runs a macro to re-read the Access table. The secondary
workbook obtains the part number (far left column) and the value nine columns
to the right via VLOOKUP from the primary. When we originally designed the
VLOOKUP it worked perfectly fine. However, if the Refresh button is activated
in the primary workbook a #N/A error results in the secondary workbook
containing the VLOOKUP. The Part Number coming out of Access in formatted as
text and displays in the primary workbook as General but as Numeric in the
secondary workbook, if that means anything. Originally the primary and
secondary workbooks were in different folders, then in the same folder, and
eventually we added the primary as a separate sheet in the secondary. Still
getting #N/A. How is this fixed?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Refresh produces #N?A error

Well, I cannot help you with the lookups via access, but its obvious that the
formula can`t find the right lookup criteria because of the different fomat
on the search string and the array. I would have used
IF(iserror(vlookup);"";vlookup)). Then you at least don't get the N/A.
G.

"RhysPieces" wrote:

This question was originall posted in the Links subsection but no one took
the bait. I have two worksbooks connected via a VLOOKUP. The primary workbook
gets data
from a read-only Access table on the LAN (via an MSQuery I designed) and has
a refresh button that runs a macro to re-read the Access table. The secondary
workbook obtains the part number (far left column) and the value nine columns
to the right via VLOOKUP from the primary. When we originally designed the
VLOOKUP it worked perfectly fine. However, if the Refresh button is activated
in the primary workbook a #N/A error results in the secondary workbook
containing the VLOOKUP. The Part Number coming out of Access in formatted as
text and displays in the primary workbook as General but as Numeric in the
secondary workbook, if that means anything. Originally the primary and
secondary workbooks were in different folders, then in the same folder, and
eventually we added the primary as a separate sheet in the secondary. Still
getting #N/A. How is this fixed?

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
Refresh produces #N/A error RhysPieces Links and Linking in Excel 1 July 11th 07 07:42 PM
=RAND produces decimals not whole numbers moosegate Excel Discussion (Misc queries) 9 November 20th 06 09:33 PM
Adding more than 3 cells (2003)produces "0" but no error message garden girl Excel Worksheet Functions 4 August 30th 06 02:11 PM
Formula produces picture file...? miwarren Excel Worksheet Functions 2 December 28th 05 03:59 PM
FORMULA PRODUCES WRONG RESULT Wildebeest222 Excel Discussion (Misc queries) 2 October 11th 05 09:27 AM


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