+ Reply to Thread
Results 1 to 3 of 3

Data Import - formatting

  1. #1
    sjs
    Guest

    Data Import - formatting

    I'm exporting accounting data fm a business system into Excel. Negative
    dollar amounts come into Excel in this format "12,345.67-". The trailing "-"
    is formatting at text and not currency thus my numbers aren't adding up.

    Is there a way I can convert "12,345.67-" to "-12,345.67"?

    tks,
    steve

  2. #2
    Miguel Zapico
    Guest

    RE: Data Import - formatting

    You can use a formula like this, to convert the negative ammounts and leave
    the possitive the same:
    =IF(RIGHT(A2,1)="-",--("-" & LEFT(A2,LEN(A2)-1)),A2)

    Hope this helps,
    Miguel.

    "sjs" wrote:

    > I'm exporting accounting data fm a business system into Excel. Negative
    > dollar amounts come into Excel in this format "12,345.67-". The trailing "-"
    > is formatting at text and not currency thus my numbers aren't adding up.
    >
    > Is there a way I can convert "12,345.67-" to "-12,345.67"?
    >
    > tks,
    > steve


  3. #3
    sjs
    Guest

    RE: Data Import - formatting

    Miguel,

    That's awesome, thanks!!

    "Miguel Zapico" wrote:

    > You can use a formula like this, to convert the negative ammounts and leave
    > the possitive the same:
    > =IF(RIGHT(A2,1)="-",--("-" & LEFT(A2,LEN(A2)-1)),A2)
    >
    > Hope this helps,
    > Miguel.
    >
    > "sjs" wrote:
    >
    > > I'm exporting accounting data fm a business system into Excel. Negative
    > > dollar amounts come into Excel in this format "12,345.67-". The trailing "-"
    > > is formatting at text and not currency thus my numbers aren't adding up.
    > >
    > > Is there a way I can convert "12,345.67-" to "-12,345.67"?
    > >
    > > tks,
    > > steve


+ 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