+ Reply to Thread
Results 1 to 5 of 5

Data sorting & Arranging

  1. #1
    Registered User
    Join Date
    10-22-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    3

    Data sorting & Arranging

    Dear Friends,

    I have grabbed database from website, generally my grabbed data’s I save in notepad, and datas comes in below format

    1)Company Name:
    2)City/Province:
    3)Country:
    4)Address:
    5)P.O.Box:
    6)International Area Code:
    7)Phone:
    8)Fax:
    9)Mobile:
    10)Email:
    11)Category Activities:
    12)Area:

    And also in same website I am getting datas with few details more OR less

    1)Company Name:
    2)City/Province:
    3)Country:
    4)Address:
    5)P.O.Box:
    6)International Area Code:
    7)Phone:
    8)Fax:
    9)Mobile:
    10)Email:
    11)Category Activities:
    12)Area:
    13)Contact person:
    14)No Of Employee:

    I try to do this by transpose method but I am getting problem in this, because some company having 12 fields, some company 13 fields, and some company having 10, by doing transpose my datas are collapsed and misarranged

    What I need is, I need all the datas in one format, if any company name or its detail available means that field will be filled in specific cell other wise need to be blank.. My final ourput format given in attachment

    Kindly advise me
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    10-02-2014
    Location
    Sylmar, Ca
    MS-Off Ver
    2011
    Posts
    44

    Re: Data sorting & Arranging

    Hi jessi, this is probably along the lines of what you are looking for. You just need to change the ranges. Data is copied starting Q7 to Q something. Then vlookup searches the colum Q7 through Qsomething for the header in Q1 and if it finds a match it pulls from R. Otherwise it leave the cell blank.

    Outpt format.xlsx

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Data sorting & Arranging

    Hi and welcome to the forum

    Could you provide a few samples of what your actual data looks like (adjusted to remove all sensitive info). That way we can see what you are working with, and then structure suggestions that will fit in with what you have
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    10-22-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    3

    Re: Data sorting & Arranging

    Dear Ford,

    Thanks for your reply.

    Kindly check my raw datas extracted, and i need to arrange this raw data

    Samples:

    1)

    Company Name :
    JOY STUDIO & SHOP L L C
    Brief Description :
    JOY STUDIO & SHOP L L C is a United Arab Emirates company, located in Abu Dhabi. Its contact method and company information is as below.
    Business :
    Photography

    Contact Method

    City :
    Abu Dhabi
    Country :
    United Arab Emirates
    PO Box :
    25852
    Telephone :
    02-6343489
    Fax :
    02-6217795
    Email :
    [email protected]

    2)

    UNION COLOUR FILMS - L L C - Abu DhabiBRANCH
    Brief Description :
    UNION COLOUR FILMS - L L C - Abu DhabiBRANCH is a United Arab Emirates company, located in Abu Dhabi. Its contact method and company information is as below.
    Business :
    Photography

    Contact Method

    City :
    Abu Dhabi
    Country :
    United Arab Emirates
    PO Box :
    2984
    Telephone :
    02-6771967
    Fax :
    02-6771447
    Email :
    [email protected]



    3)

    Company Name :
    PHOTOGRAPHYA
    Brief Description :
    PHOTOGRAPHYA is a United Arab Emirates company, located in Abu Dhabi. Its contact method and company information is as below.
    Business :
    Photography

    Contact Method

    City :
    Abu Dhabi
    Country :
    United Arab Emirates
    PO Box :
    42925
    Telephone :
    02-6335550
    Fax :
    02-6351516
    Email :
    [email protected]

    4)

    EMIRATES TECHNO CASTING LLC
    Brief Description :
    EMIRATES TECHNO CASTING LLC is a United Arab Emirates company, located in Ajman. Its contact method and company information is as below.
    Business :
    Cathodic Protection

    Contact Method

    City :
    Ajman
    Country :
    United Arab Emirates
    PO Box :
    2895
    Telephone :
    06-7433669
    Fax :
    06-7437635
    Email :
    [email protected]
    contact person :
    Jaffar

  5. #5
    Registered User
    Join Date
    10-22-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    3

    Re: Data sorting & Arranging

    Dear JDI,

    Let i try by using Vlook & Hlook and i will let you know,thanks for your direction for this

+ 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. arranging data
    By dbogl in forum Excel General
    Replies: 4
    Last Post: 01-23-2013, 05:27 PM
  2. Excel 2007 : arranging/sorting multiple lists
    By bWagner in forum Excel General
    Replies: 1
    Last Post: 10-27-2011, 04:01 PM
  3. Sorting / arranging data onto another sheet
    By twofootgiant in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-05-2011, 07:38 AM
  4. Need help arranging data
    By Bob8964 in forum Excel General
    Replies: 0
    Last Post: 01-04-2010, 12:58 PM
  5. data arranging
    By deepak.kec in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-21-2008, 05:08 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