+ Reply to Thread
Results 1 to 2 of 2

importing a text file with negative numbers into excel?

  1. #1
    Registered User
    Join Date
    08-29-2006
    Posts
    32

    importing a text file with negative numbers into excel?

    When you have a text file and the numbers have the minus sign after the number, how do you import it to excel and get the numbers recognized as a negative?
    The Outdoor Accessory People

  2. #2
    Forum Contributor
    Join Date
    03-14-2006
    Location
    Pakistan
    Posts
    1,791

    Lightbulb

    Quote Originally Posted by jstnvndn
    When you have a text file and the numbers have the minus sign after the number, how do you import it to excel and get the numbers recognized as a negative?
    you need to change numbers to negative values by using a formula
    if you have numbers imported in col A starting from cell A1 put in B1,

    =IF(RIGHT(A1,1)="-","-"&MID(A1,1,LEN(A1)-1),"")*1
    and copy this formula down to the extent you have data in col A
    to remove formula and to keep just result of formulas (i-e negative numbers)
    copy col B right click on col B select paste special and select values, Ok

    hope this would help.

    Regards.

+ 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