+ Reply to Thread
Results 1 to 7 of 7

Badly sorted data exported from access

  1. #1
    Registered User
    Join Date
    07-21-2015
    Location
    Newcastle UK
    MS-Off Ver
    2013
    Posts
    6

    Badly sorted data exported from access

    I pull off reports from access and export them to excel, they appear in the format (not the data i pull off, just an example) below and i have to manually fill in all the blanks, does anyone have an idea on how to automate this?

    How it looks;

    Month Date
    Jan 1
    2
    3
    4
    5
    Feb 1
    2
    3
    4
    5

    How it should look;

    Month Date
    Jan 1
    Jan 2
    Jan 3
    Jan 4
    Jan 5
    Feb 1
    Feb 2
    Feb 3
    Feb 4
    Feb 5
    Last edited by Josephwat13; 07-28-2015 at 10:50 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    03-24-2014
    Location
    England
    MS-Off Ver
    Excel 2003 - 2016
    Posts
    575

    Re: Badly sorted data exported from access

    Please Login or Register  to view this content.
    This is assuming column "A" contains your data and that it starts in row 1. Change to whatever the column/row actually is.

  3. #3
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: Badly sorted data exported from access

    Try:-
    Please Login or Register  to view this content.
    Regards Mick

  4. #4
    Registered User
    Join Date
    07-21-2015
    Location
    Newcastle UK
    MS-Off Ver
    2013
    Posts
    6

    Re: Badly sorted data exported from access

    Thanks guys!

    Mick - I got yours working but I was wondering if i could do it for multiple columns, I have tried moving it around and copying it so it will just repeat the process but I just get errors. any chance you could help with this?

  5. #5
    Registered User
    Join Date
    07-21-2015
    Location
    Newcastle UK
    MS-Off Ver
    2013
    Posts
    6

    Re: Badly sorted data exported from access

    BTW the button is on a different sheet to the data i am sorting

  6. #6
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: Badly sorted data exported from access

    You don't need a macro for that, if you're happier with a macro then by all means, but I do it like this:

    Select the full range > f5 (goto) > Alt + S > Enter > Alt + K > Enter

    Then in the formula box, =A1 > Control + Enter

    Copy, paste special values
    Last edited by Kyle123; 07-29-2015 at 04:03 AM.

  7. #7
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: Badly sorted data exported from access

    Do you want it Hard coded to ranges on another sheet .????

+ 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. [SOLVED] I badly need help please: Get data across multiple sheet
    By lati2008 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-23-2014, 07:03 PM
  2. [SOLVED] Can you use a Macro to auto format a MS Access Report (exported to Excel)?
    By Castillb in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-07-2013, 12:43 PM
  3. Access database exported to excel is not updating
    By sathaha in forum Excel General
    Replies: 2
    Last Post: 11-07-2008, 01:36 AM
  4. Yes/No fields exported from Access
    By debbycatz in forum Excel General
    Replies: 2
    Last Post: 09-01-2008, 08:48 AM
  5. Data Exported from Access to Excel
    By bigitch in forum Excel General
    Replies: 3
    Last Post: 05-04-2006, 08:45 AM
  6. Conditional Formatting not applied to data exported from Access
    By Mark A in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-24-2005, 08:05 AM
  7. Date Format exported from Access
    By Nuttychick in forum Excel General
    Replies: 0
    Last Post: 05-09-2005, 06:54 AM

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