Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
YK YK is offline
external usenet poster
 
Posts: 8
Default displaying complex number in Excel

When one cell contains COMPLEX(1,1), it displays "1+i" nicely.
However, when it is like COMPLEX(1/3,1), it displays "0.3333333333333333+i".
I noticed they are also flushed left, unlike normal numbers.
Is there any format to tell Excel to display complex number with limited
number of digits? Formatting the cell does not seem to do anything on
complex numbers.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,393
Default displaying complex number in Excel

COMPLEX displays a text value
You may want to experiment with formulas such as
=COMPLEX(ROUND(1/3,2),1)
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"YK" wrote in message
...
When one cell contains COMPLEX(1,1), it displays "1+i" nicely.
However, when it is like COMPLEX(1/3,1), it displays
"0.3333333333333333+i".
I noticed they are also flushed left, unlike normal numbers.
Is there any format to tell Excel to display complex number with limited
number of digits? Formatting the cell does not seem to do anything on
complex numbers.



  #3   Report Post  
Posted to microsoft.public.excel.misc
YK YK is offline
external usenet poster
 
Posts: 8
Default displaying complex number in Excel

Thanks,

However rounding inside "COMPLEX" would not maintain the intended value.
I guess we just have to live with it....

It would have been nice if the number formatting could be applied to complex
numbers.

Thanks again.

YK

"Bernard Liengme" wrote:

COMPLEX displays a text value
You may want to experiment with formulas such as
=COMPLEX(ROUND(1/3,2),1)
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"YK" wrote in message
...
When one cell contains COMPLEX(1,1), it displays "1+i" nicely.
However, when it is like COMPLEX(1/3,1), it displays
"0.3333333333333333+i".
I noticed they are also flushed left, unlike normal numbers.
Is there any format to tell Excel to display complex number with limited
number of digits? Formatting the cell does not seem to do anything on
complex numbers.




Reply
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
Displaying large number of pictures in EXCEL [email protected] Excel Discussion (Misc queries) 1 June 8th 07 01:09 PM
Formatting complex number display Lewis Excel Discussion (Misc queries) 1 January 22nd 07 03:32 PM
Display absolute value of complex number GraemeD Excel Discussion (Misc queries) 1 October 31st 06 03:23 AM
Round of a complex number Mathieu_12 Excel Discussion (Misc queries) 0 February 15th 06 01:31 PM
How to do matrix operation with complex number elements in Excel WILSON CHIRAMAL Excel Worksheet Functions 1 August 15th 05 02:26 PM


All times are GMT +1. The time now is 02:21 PM.

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

About Us

"It's about Microsoft Excel"