+ Reply to Thread
Results 1 to 5 of 5

Text To Column problem while getting data from access in excel

Hybrid View

  1. #1
    Registered User
    Join Date
    01-06-2014
    Location
    Beirut
    MS-Off Ver
    Excel 2010
    Posts
    21

    Text To Column problem while getting data from access in excel

    Hi all,

    I have 2 sheets in Excel 2010:
    Sheet 1 where I get data from an access query giving me 2 columns (Date and staff numbers)
    Sheet 2 where I have a column of dates entered manually and I am applying Vlookup function to get the staff members from Sheet2 based on the associated date.

    The problem is that Vlookup don't give me results unless if I choose the date column got from the query in Sheet2 and convert it using Text To Column button.

    Is there a way to fix this, I want to be able to refresh data in Sheet2 and getting results in Sheet1 immediately without having to click the mentioned button above.

    sheet1.JPG
    sheet2.JPG

  2. #2
    Registered User
    Join Date
    09-23-2010
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    47

    Re: Text To Column problem while getting data from access in excel

    Hi there,

    Is is possible for you to attach an example workbook for us to be able to look at as the images dont provide enough information.

    In the meantime you could try looking to see if your import data is coming through as TEXT instead of as a DATE, as this would evaluate false in the VLOOKUP.

    hope that helps.

  3. #3
    Registered User
    Join Date
    01-06-2014
    Location
    Beirut
    MS-Off Ver
    Excel 2010
    Posts
    21

    Re: Text To Column problem while getting data from access in excel

    Aussiexile , you are totally right , it is a conversion issue , the problem is now solved after being helped to convert the date/time from access itself.

  4. #4
    Registered User
    Join Date
    09-23-2010
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    47

    Re: Text To Column problem while getting data from access in excel

    Happy to be of service. Happy excelling

  5. #5
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,366

    Re: Text To Column problem while getting data from access in excel

    FORUM MODERATOR'S REQUEST:

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as "SOLVED".
    For the meantime I'll do it for you.

    How?
    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

    Note:
    You can also thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given.
    By doing so you can add to the reputation(s) of those who helped and shared their time in helping you.
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Getting data from Access with Excel - Password Problem
    By rbyrd023 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-27-2012, 06:18 PM
  2. Problem Getting Access data into Excel
    By dkomar24 in forum Excel General
    Replies: 0
    Last Post: 08-22-2011, 06:56 PM
  3. Problem moving data from Access to Excel
    By Jesse Aviles in forum Excel General
    Replies: 5
    Last Post: 08-06-2005, 09:05 PM
  4. Problem exporting access data to excel
    By thorsbew in forum Excel General
    Replies: 0
    Last Post: 05-09-2005, 09:53 AM
  5. [SOLVED] Memory problem getting data from Access into Excel
    By Erik Wel in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-20-2005, 08:06 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1