+ Reply to Thread
Results 1 to 4 of 4

+(-)ve values ends in Dr(Cr)

  1. #1
    sasikumar
    Guest

    +(-)ve values ends in Dr(Cr)

    hi
    from accounts report i get +ve values ends with Dr & -ve values ends with
    Cr.
    Can i number format the column so that +ve values display as numbers (
    without end Dr ) & -ve values as -numbers ( without end Cr )

    TIA

    Sasikumar



  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,697
    I don't think you can do that will simple formatting but you could convert with a formula in another column...

    =LEFT(A1,LEN(A1)-2)*IF(LEFT(RIGHT(A1,2))="D",-1,1)

  3. #3
    Paul Mathews
    Guest

    RE: +(-)ve values ends in Dr(Cr)

    Sasikumar, if I understand correctly, you'd like positive-valued entries to
    be suffixed by "Dr" and negative-valued entries to be suffixed by "Cr". You
    can accomplish this by creating a "Custom" cell number format as follows:

    - On one or all of the affected cells, click Format>Cells, then click the
    "Number" tab
    - Select "Custom" from the "Category" list.
    - Paste the following into the "Type" text box:
    [>=0]#,##0.00"Dr";[<0]##,##0.00"Cr";General

    "sasikumar" wrote:

    > hi
    > from accounts report i get +ve values ends with Dr & -ve values ends with
    > Cr.
    > Can i number format the column so that +ve values display as numbers (
    > without end Dr ) & -ve values as -numbers ( without end Cr )
    >
    > TIA
    >
    > Sasikumar
    >
    >
    >


  4. #4
    Paul Mathews
    Guest

    RE: +(-)ve values ends in Dr(Cr)

    Whoops, sorry, it looks like I provided a solution to give you numbers in the
    format you already have. You should apply the solution given by
    DaddyLongLegs.

    "Paul Mathews" wrote:

    > Sasikumar, if I understand correctly, you'd like positive-valued entries to
    > be suffixed by "Dr" and negative-valued entries to be suffixed by "Cr". You
    > can accomplish this by creating a "Custom" cell number format as follows:
    >
    > - On one or all of the affected cells, click Format>Cells, then click the
    > "Number" tab
    > - Select "Custom" from the "Category" list.
    > - Paste the following into the "Type" text box:
    > [>=0]#,##0.00"Dr";[<0]##,##0.00"Cr";General
    >
    > "sasikumar" wrote:
    >
    > > hi
    > > from accounts report i get +ve values ends with Dr & -ve values ends with
    > > Cr.
    > > Can i number format the column so that +ve values display as numbers (
    > > without end Dr ) & -ve values as -numbers ( without end Cr )
    > >
    > > TIA
    > >
    > > Sasikumar
    > >
    > >
    > >


+ 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