+ Reply to Thread
Results 1 to 3 of 3

Import data from a text file with pattern of rows with label and values

  1. #1
    Registered User
    Join Date
    05-03-2017
    Location
    San Francisco
    MS-Off Ver
    Mac 15.18
    Posts
    6

    Import data from a text file with pattern of rows with label and values

    I have a text file with the following pattern
    *************************** 1. row ***************************
    landlordFirstName: Sam
    landlordLastName: Smith
    rentDueDay: 2
    rentAmount: 100.0000
    tenantFirstName:John
    *************************** 2. row ***************************
    *landlordFirstName: Tom
    landlordLastName: Doe
    rentDueDay: 1
    rentAmount: 200.0000
    tenantFirstName:craig
    *************************** 3. row ***************************
    .... etc

    I'd like to be able to import it into excel and have a table with the lables as columns and the values listed below

    Any kind soul who may be willing to help me?

    Thanks in advance!

  2. #2
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: Import data from a text file with pattern of rows with label and values

    Can you attach a sample text file with enough data to test.

    Also you are using Office Mac?

  3. #3
    Registered User
    Join Date
    05-03-2017
    Location
    San Francisco
    MS-Off Ver
    Mac 15.18
    Posts
    6
    Yes, I use Mac office version 2016.
    Attached a sample file with some test data. Unfortunately the real file has sensitive data that I cannot share.

    Thank you in advance for your help!!
    Attached Files Attached Files

+ 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. Import text file that contains rows into excel as columns
    By cbiz in forum Excel Programming / VBA / Macros
    Replies: 25
    Last Post: 03-14-2017, 01:54 PM
  2. Import multiple text files delete rows between lines with File Name
    By coronakyk in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-10-2014, 09:53 PM
  3. import text file with 2 rows per record into 1 row
    By kblinkhorn in forum Excel General
    Replies: 2
    Last Post: 01-10-2013, 11:42 AM
  4. Delete i Rows in Text File Import
    By cswale in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-21-2011, 06:50 PM
  5. how could I import a text file with comma separated values into ex
    By Xavi in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-15-2005, 07:05 AM
  6. Import only certain rows of a huge text file
    By AriBari in forum Excel General
    Replies: 4
    Last Post: 07-11-2005, 01:54 PM
  7. [SOLVED] How do I import text file, analyze data, export results, open next file
    By Geoffro in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-06-2005, 04:06 PM

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