+ Reply to Thread
Results 1 to 2 of 2

auto populating comma seperated data in one cell to multiple cells

  1. #1
    Registered User
    Join Date
    06-30-2006
    Posts
    8

    Question auto populating comma seperated data in one cell to multiple cells

    I want to be able to paste a csv file into a single cell in an excel spreadsheet and by applying a formula, selected cells will be auto populated with data from the csv file. The formula needs to take into account that fields in the csv file could be empty or could have 1+ chars.

    The reason I want to do this is that in the future when I run data extracts, I can check the contents of the csv file by pasting it into a spreadsheet I have set up with all the database tables and column names in it.

    I hope this makes sense. Your help will be much appreciated.
    Last edited by guyvanzyl; 07-04-2006 at 04:21 AM. Reason: spelling error

  2. #2
    Dave Peterson
    Guest

    Re: auto populating comma seperated data in one cell to multiple cells

    Rename your .csv file to .txt.

    Then do File|Open and point at that .txt file.

    Instead of going through the wizard, hit and hold the shift key while clicking
    ok.

    This'll put all the data in a single column -- not a single cell.

    Then you can copy|paste that data to its real home.

    And you may have to modify your formulas so that they check the length of that
    value in that cell in the column.

    =if(len(a1)=0,"",yourformulahere)

    But that's just a sample. It'll depend on what your formulas are.

    guyvanzyl wrote:
    >
    > I want to be able to copy a csv file into a single cell in an excel
    > spreadsheet. I then want to apply a formula to various cells which
    > result those cells being automatically populated with relevant data
    > from the csv file when I paste it. The formula needs to take into
    > account that the relevant field in the csv file could be empty or could
    > have 1+ chars.
    >
    > The reason I want to do this is that in the future when I run data
    > extracts, I can check the contents of the csv file by pasting it into a
    > spreadsheet I have set up with all the database tables and column names
    > in it.
    >
    > I hope this makes sense. Your help will be much appreciated.
    >
    > --
    > guyvanzyl
    > ------------------------------------------------------------------------
    > guyvanzyl's Profile: http://www.excelforum.com/member.php...o&userid=35927
    > View this thread: http://www.excelforum.com/showthread...hreadid=558063


    --

    Dave Peterson

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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