LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 224
Default Formatting in formulas not allowed before commas

If I format a formula with carriage returns and spaces for clarity,
any carriage returns or spaces right before a comma are removed by
Excel. For example, if I do this:
(Yes, I realize this formula doesn't make sense; it's just a simple
example to illustrate the problem.)

=IF(
OR(
TRUE,TRUE
)
,TRUE,TRUE
)

As soon as press Enter, Excel changes it to this:

=IF(
OR(
TRUE,TRUE
),TRUE,TRUE
)

That happens with carriage returns right before commas, spaces right
before commas, and any combination of them right before commas.

Is there any way around that? The best I've been able to do is just do
the formatting after the comma instead of before it:

=IF(
OR(
TRUE,TRUE
),
TRUE,TRUE
)


Thanks,

Greg
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Password Protect Sheet with formatting allowed CER Excel Discussion (Misc queries) 3 November 3rd 09 09:25 PM
commas in formulas Flipper Excel Discussion (Misc queries) 3 December 23rd 08 02:55 PM
Number of "array" Formulas Allowed? Ken Excel Discussion (Misc queries) 0 November 4th 08 01:13 PM
Formatting and seperating commas Help Excel Discussion (Misc queries) 3 May 2nd 07 03:36 AM
delete commas in spreadsheet but not in formulas cynwalker Excel Discussion (Misc queries) 2 January 24th 07 01:05 AM


All times are GMT +1. The time now is 03:20 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"