Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() Hi all, Anyone knows of a formula or combination of formulas to display a number with different decimals depending on a condition? for example; If condition A is met, display number with no decimals if condition B is met, display number with 2 decimals and if condition c is met, display number with 4 decimals help will be greatly appreciated Thanks ---- Juan Garces -- JGarces ------------------------------------------------------------------------ JGarces's Profile: http://www.excelforum.com/member.php...o&userid=30406 View this thread: http://www.excelforum.com/showthread...hreadid=572268 |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
you can do this with a custom number format. Here is a sample format. It is
somewhat limited (I don't think you can have more than three options). [<=100]0.0000;[<=200]0.00;0 "JGarces" wrote: Hi all, Anyone knows of a formula or combination of formulas to display a number with different decimals depending on a condition? for example; If condition A is met, display number with no decimals if condition B is met, display number with 2 decimals and if condition c is met, display number with 4 decimals help will be greatly appreciated Thanks ---- Juan Garces -- JGarces ------------------------------------------------------------------------ JGarces's Profile: http://www.excelforum.com/member.php...o&userid=30406 View this thread: http://www.excelforum.com/showthread...hreadid=572268 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Displaying decimals that go in to a given number | Excel Discussion (Misc queries) | |||
Display number of day of month depending on the year | Excel Discussion (Misc queries) | |||
Merging Excel data to word, keeps including all decimals on number | Excel Discussion (Misc queries) | |||
How do i stop automatic decimals after number ex 5280.? | Excel Discussion (Misc queries) | |||
GET.CELL | Excel Worksheet Functions |