Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I don't think you can do that will simple formatting but you coul convert with a formula in another column... =LEFT(A1,LEN(A1)-2)*IF(LEFT(RIGHT(A1,2))="D",-1,1 -- daddylongleg ----------------------------------------------------------------------- daddylonglegs's Profile: http://www.excelforum.com/member.php...fo&userid=3048 View this thread: http://www.excelforum.com/showthread.php?threadid=55535 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 FormatCells, 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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 FormatCells, 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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
round up (ends with...) | Excel Worksheet Functions | |||
filter using "ends with" and 3 choices? Ex: ends with 1,2 or3 | Excel Worksheet Functions | |||
Loop never ends | Excel Programming | |||
Loop never ends | Excel Programming | |||
Loop never ends | Excel Programming |