Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi
I have this formula and I want the answer to come back as TOTAL - $98,104. I also want the text to wrap as it takes up too much space, that is why I could not use Custom Format. This is my formula ="TOTAL"&" - "&"$"&SUM(AA4:AA78) This is my answer TOTAL - 98103.9666666667 This is what I would like to happen TOTAL $98,104 I am using Excel 2007 Thanking you Anne |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Use
="TOTAL"&" - "&"$"& Text(SUM(AA4:AA78),"0.00") adjust 0.00 to the format you want. you may want a space after $ or include that as part of format within TEXT function. "enna49" wrote: Hi I have this formula and I want the answer to come back as TOTAL - $98,104. I also want the text to wrap as it takes up too much space, that is why I could not use Custom Format. This is my formula ="TOTAL"&" - "&"$"&SUM(AA4:AA78) This is my answer TOTAL - 98103.9666666667 This is what I would like to happen TOTAL $98,104 I am using Excel 2007 Thanking you Anne |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Format the formula cell to wrap text, then try something like this:
="TOTAL"&CHAR(10)&TEXT(SUM(AA4:AA78),"$#,##0") -- Max Singapore http://savefile.com/projects/236895 Downloads:25,000 Files:300 Subscribers:70 xdemechanik --- "enna49" wrote: I have this formula and I want the answer to come back as TOTAL - $98,104. I also want the text to wrap as it takes up too much space, that is why I could not use Custom Format. This is my formula ="TOTAL"&" - "&"$"&SUM(AA4:AA78) This is my answer TOTAL - 98103.9666666667 This is what I would like to happen TOTAL $98,104 I am using Excel 2007 Thanking you Anne |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Works perfectly thanks for the quick response. What is the CHAR(10) Thanks
Anne "Max" wrote: Format the formula cell to wrap text, then try something like this: ="TOTAL"&CHAR(10)&TEXT(SUM(AA4:AA78),"$#,##0") -- Max Singapore http://savefile.com/projects/236895 Downloads:25,000 Files:300 Subscribers:70 xdemechanik --- "enna49" wrote: I have this formula and I want the answer to come back as TOTAL - $98,104. I also want the text to wrap as it takes up too much space, that is why I could not use Custom Format. This is my formula ="TOTAL"&" - "&"$"&SUM(AA4:AA78) This is my answer TOTAL - 98103.9666666667 This is what I would like to happen TOTAL $98,104 I am using Excel 2007 Thanking you Anne |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
CHAR(10) is the new line char, equiv. to pressing Alt+ENTER when you break
for a new line within a cell. (the wrap text formatting is still required for it to work) -- Max Singapore http://savefile.com/projects/236895 Downloads:25,000 Files:300 Subscribers:70 xdemechanik --- "enna49" wrote: Works perfectly thanks for the quick response. What is the CHAR(10) Anne |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You could try a custom format:
Rightclick on the cell. Format Cells|Number Tab|Custom category "Total"(ctrl-j)$#,##0 Don't type the (ctrl-j) Instead hit and hold the control key while hitting the j key. Then Rightclick on the cell. Format Cells|Alignment tab Check the "shrink to fit" box first Then check Wrap text You can autofit the columnwidth--then shrink it a little more (manually). And you'll have to adjust the rowheight manually, too. enna49 wrote: Hi I have this formula and I want the answer to come back as TOTAL - $98,104. I also want the text to wrap as it takes up too much space, that is why I could not use Custom Format. This is my formula ="TOTAL"&" - "&"$"&SUM(AA4:AA78) This is my answer TOTAL - 98103.9666666667 This is what I would like to happen TOTAL $98,104 I am using Excel 2007 Thanking you Anne -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
formula to format | Excel Discussion (Misc queries) | |||
sum format in formula bar | Excel Discussion (Misc queries) | |||
Formula or Format Error?? | New Users to Excel | |||
Format\Formula Help | Excel Worksheet Functions | |||
format cell formula | New Users to Excel |