+ Reply to Thread
Results 1 to 4 of 4

Keep correct values after doing Text to Columns

  1. #1
    Registered User
    Join Date
    05-13-2022
    Location
    Lübeck, Germany
    MS-Off Ver
    365
    Posts
    2

    Keep correct values after doing Text to Columns

    I am downloading a CSV from Stripe (credit card payment processor). All values are in the first column. I am using the Text to Column to move each value in to its own column.

    The column "Fee" allows some values to stay the same, but changes other values to a date format.

    What I have tried:
    • Change the cell format to Number, but that causes those cells with the date format to be a completely different number
    • When doing Text to Columns, make that column text. That does not allow me to use the SUM function
    • Type "1" as a number format in another cell, and "Paste Special" to multiply all values by 1. That gives me the result like the first...change the number completely

    Can someone please let me know how to change the text to column, but keep the values in the "Fee" column the correct value? There are several screenshots attached to help bring clarity

    Thank you very much!

    Showing No Sum Function:
    No Sum Function.png

    Setting Column as General
    column as general.png

    Showing the Fee is showing up as a date. (not in screenshot, all values under $1.00 fee show up as the appropriate decimal value)
    fee as date.png

    Changed value to number (after it showed up as a date) and now the value is way way off!
    changed to number.png

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,594

    Re: Keep correct values after doing Text to Columns

    It looks like you are trying to handle data that is coming from the US and it's getting into a pickle because your system in Germany is set up to see a decimal point as a separator.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    05-13-2022
    Location
    Lübeck, Germany
    MS-Off Ver
    365
    Posts
    2

    Re: Keep correct values after doing Text to Columns

    Ah, I think you might be right!! I have definitely run into issues with that before. I didn't even think to check for that. I can not remember what I need to do about that. Could you let me know what I need to do to have my excel set up correctly for it?

    Thank you very much!!

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,876

    Re: Keep correct values after doing Text to Columns

    Is it in Excel or your operating system (windows, I presume)? Excel normally uses the settings in your operating system to interpret strings as dates. Check in your operating system region and language settings and see what it is using for date formats. If you can make the global change, change these settings to something more useful.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ 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. Problem looking up text data from 2 columns to return a correct value
    By ylbarnes in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-18-2019, 05:27 PM
  2. [SOLVED] Count duplicate text values in columns whilst ignoring/excluding certain values
    By adamwestwell in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-02-2017, 05:34 AM
  3. Replies: 12
    Last Post: 01-30-2014, 01:33 AM
  4. [SOLVED] Compare columns and insert values in correct place
    By HugoRibeiro in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 07-20-2013, 07:41 AM
  5. [SOLVED] Range Address Is Correct Columns Count Is Not Correct
    By goss in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-09-2013, 12:47 PM
  6. Need Excel to automatically select correct columns to sum their values by currency
    By gerhardmiener in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-14-2013, 03:16 PM
  7. Replies: 0
    Last Post: 04-13-2011, 05:14 PM

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