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

I have two worksbooks connected via a VLOOKUP. The primary table gets data
from a read-only Access table on the LAN. It 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 fine.
However, if the Refresh button is activated in the primary workbook a #N/A
error results in the secondary workbook with the VLOOKUP. The data being read
into and thru the primary workbook is numeric. How is this fixed?
  #2   Report Post  
Posted to microsoft.public.excel.links
external usenet poster
 
Posts: 18
Default Refresh produces #N/A error

Problem fixed! The data in the primary table contains numbers formatted as
text but they are formatted as numbers in the secondary table with the
vlookup. The workaround in the primary/source table is to insert a column (B)
next to the original and put the formula =VALUE(A1) in it and copy down. Back
in the secondary table, edit the array to start in the new inserted column.
The VALUE function converts text strings with numbers to a number format.

"RhysPieces" wrote:

I have two worksbooks connected via a VLOOKUP. The primary table gets data
from a read-only Access table on the LAN. It 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 fine.
However, if the Refresh button is activated in the primary workbook a #N/A
error results in the secondary workbook with the VLOOKUP. The data being read
into and thru the primary workbook is numeric. 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
Problems using autosum when VLOOKUP produces #N/A Lele Excel Discussion (Misc queries) 2 February 26th 07 06:12 AM
Adding more than 3 cells (2003)produces "0" but no error message garden girl Excel Worksheet Functions 4 August 30th 06 02:11 PM
Result of Formula produces Picture? sharkman Excel Worksheet Functions 3 May 30th 06 09:50 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:58 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"