Question : Formatting a TEXT / Numeric String

The text string  that is listed within the code section has several spaces after &"  for formatting purposes..  Not all of the spaces are equal.  This is an attempt to create a "Table-Like" visual with eight rows used.   However, I know that once the data changes the formatting for each line will change, as spaces are used and not Tabs.

Is there a way to insert a Tab character so that the formatting remains constant?

Secondly, the format for each variable is set to display a negative value as RED, but it just displays the common string color.  It just shows the Negative as (Value).  Why is not displaying a RED value or is it possible?

Thanks,

Cook
1:
="Ending Unexpended = "&"                      "&TEXT(([FundTrac_Mo_DB_R3.xlsm]Bishop!$AV$12/120),"$#,##0;[Red]($#,##0)")&"      "&TEXT(([FundTrac_Mo_DB_R3.xlsm]Bishop!$AW$12/120),"$#,##0;[Red]($#,##0)")&"      "&TEXT(([FundTrac_Mo_DB_R3.xlsm]Bishop!$AX$12/120),"$#,##0;[Red]($#,##0)")&"     "&TEXT(([FundTrac_Mo_DB_R3.xlsm]Bishop!$AY$12/120),"$#,##0;[Red]($#,##0)")&"     "&TEXT(([FundTrac_Mo_DB_R3.xlsm]Bishop!$AZ$12/120),"$#,##0;[Red]($#,##0)")&"      "&TEXT(([FundTrac_Mo_DB_R3.xlsm]Bishop!$BA$12/120),"$#,##0;[Red]($#,##0)")&"      "&TEXT(([FundTrac_Mo_DB_R3.xlsm]Bishop!$BB$12/120),"$#,##0;[Red]($#,##0)")

Answer : Formatting a TEXT / Numeric String

Cook,
TEXT function cannot take [Red] as part of the format string.

But you could use [Red] in the middle of a Custom format string like one of:
"Fund balance =        "$#,##0.00;[Red]"Fund balance =        "($#,##0)               Adds a specified number (8) of spaces between Fund balance and the number
"Fund balance ="* $#,##0.00;[Red]"Fund balance ="* ($#,##0)                         Puts Fund balance = on the left and the value on the far right of the cell
"Fund balance ="* $#,##0.00_);[Red]"Fund balance ="* ($#,##0)_._0_0          As above, but lines the dollar amounts up at the decimal point

The result of all of the above format strings is a value that is either all black (positive number) or all red including text (negative number). You would then use a formula like the following to populate the cell:
='Balance(C004)'!P20

Brad
Random Solutions  
 
programming4us programming4us