ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   how do I display $1,243,597 as $1,244 and $(324,567) as $(325)? (https://www.excelbanter.com/excel-worksheet-functions/38551-how-do-i-display-%241-243-597-%241-244-%24-324-567-%24-325-a.html)

clnickson

how do I display $1,243,597 as $1,244 and $(324,567) as $(325)?
 
I've created a work around by creating a positvie and a negative custom
number format under format cells but I haven't been able to create one custom
format that works for both positive and negative numbers that can be applied
to a range of cells. There must be an easier way. I want to be able to
highlight a number of cells and have it automatically round those cells to
the nearest thousand and drop the ,000 from $989,000 so it displays as $989.

Bernie Deitrick

cl,

Use a custom format of

$#,###,

HTH,
Bernie
MS Excel MVP


"clnickson" wrote in message
...
I've created a work around by creating a positvie and a negative custom
number format under format cells but I haven't been able to create one custom
format that works for both positive and negative numbers that can be applied
to a range of cells. There must be an easier way. I want to be able to
highlight a number of cells and have it automatically round those cells to
the nearest thousand and drop the ,000 from $989,000 so it displays as $989.




Bernie Deitrick

Oops, missed your negative requirement. Use a custom format of

$#,###,;($#,###,)

HTH,
Bernie
MS Excel MVP


"clnickson" wrote in message
...
I've created a work around by creating a positvie and a negative custom
number format under format cells but I haven't been able to create one custom
format that works for both positive and negative numbers that can be applied
to a range of cells. There must be an easier way. I want to be able to
highlight a number of cells and have it automatically round those cells to
the nearest thousand and drop the ,000 from $989,000 so it displays as $989.




Bernie Deitrick

Make that:

$#,###,;$(#,###,)

I'm just not paying attention today <g

HTH,
Bernie
MS Excel MVP


"clnickson" wrote in message
...
I've created a work around by creating a positvie and a negative custom
number format under format cells but I haven't been able to create one custom
format that works for both positive and negative numbers that can be applied
to a range of cells. There must be an easier way. I want to be able to
highlight a number of cells and have it automatically round those cells to
the nearest thousand and drop the ,000 from $989,000 so it displays as $989.




clnickson



"Bernie Deitrick" wrote:

Make that:

$#,###,;$(#,###,)

I'm just not paying attention today <g

HTH,
Bernie
MS Excel MVP


"clnickson" wrote in message
...
I've created a work around by creating a positvie and a negative custom
number format under format cells but I haven't been able to create one custom
format that works for both positive and negative numbers that can be applied
to a range of cells. There must be an easier way. I want to be able to
highlight a number of cells and have it automatically round those cells to
the nearest thousand and drop the ,000 from $989,000 so it displays as $989.





clnickson

Thank you...I don't know why I couldn't figure out how to do pos & neg. -
this makes sense now that I see it here. Do you know how to save custom
number formats so when you open a new worksheet you can find the same format
again? I've found that in every worksheet I have to add the custom number
format.

"Bernie Deitrick" wrote:

Make that:

$#,###,;$(#,###,)

I'm just not paying attention today <g

HTH,
Bernie
MS Excel MVP


"clnickson" wrote in message
...
I've created a work around by creating a positvie and a negative custom
number format under format cells but I haven't been able to create one custom
format that works for both positive and negative numbers that can be applied
to a range of cells. There must be an easier way. I want to be able to
highlight a number of cells and have it automatically round those cells to
the nearest thousand and drop the ,000 from $989,000 so it displays as $989.





Bernie Deitrick

I think if you add that format to a cell in your workbook template file (Book.xlt, in your startup
folder), it should be available when you open a new workbook. Same should hold for Sheet.xlt.

HTH,
Bernie
MS Excel MVP


"clnickson" wrote in message
...
Thank you...I don't know why I couldn't figure out how to do pos & neg. -
this makes sense now that I see it here. Do you know how to save custom
number formats so when you open a new worksheet you can find the same format
again? I've found that in every worksheet I have to add the custom number
format.

"Bernie Deitrick" wrote:

Make that:

$#,###,;$(#,###,)

I'm just not paying attention today <g

HTH,
Bernie
MS Excel MVP


"clnickson" wrote in message
...
I've created a work around by creating a positvie and a negative custom
number format under format cells but I haven't been able to create one custom
format that works for both positive and negative numbers that can be applied
to a range of cells. There must be an easier way. I want to be able to
highlight a number of cells and have it automatically round those cells to
the nearest thousand and drop the ,000 from $989,000 so it displays as $989.








All times are GMT +1. The time now is 11:13 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com