Welcome to Lockergnome.com!
HomeHome FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Refresh produces #N/A error

 
   Home -> Office -> Links RSS
Next:  Links: Datapoint  
Author Message
RhysPieces

External


Since: May 03, 2006
Posts: 9



(Msg. 1) Posted: Thu Jul 05, 2007 2:20 pm
Post subject: Refresh produces #N/A error
Archived from groups: microsoft>public>excel>links (more info?)

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?
Back to top
Login to vote
RhysPieces

External


Since: May 03, 2006
Posts: 9



(Msg. 2) Posted: Wed Jul 11, 2007 11:42 am
Post subject: RE: Refresh produces #N/A error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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?
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> Links All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 General
 Microsoft Windows XP
 Microsoft Windows Vista
 Microsoft Windows (other)
  Microsoft Office
 Microsoft Office (other)
 Computer Security
 Linux
 Movies


[ Contact us | Terms of Service/Privacy Policy ]