IMAGINARY

Returns the imaginary coefficient of a complex number.

Sample usage

IMAGINARY("4+5i")

IMAGINARY("2j")

Syntax

IMAGINARY(complex_number)

  • complex_number - The complex number, in the a+bi or a+bj format.

See also

  • COMPLEX: The COMPLEX function creates a complex number, given real and imaginary coefficients.
  • IMREAL: Returns the real coefficient of a complex number.

Examples

1 A B
2 Formula Result
3 =IMAGINARY("3+5i") 5
4 =IMAGINARY("4j") 4
5 =IMAGINARY("45") 0
true
Visit the Learning Center

Using Google products, like Google Docs, at work or school? Try powerful tips, tutorials, and templates. Learn to work on Office files without installing Office, create dynamic project plans and team calendars, auto-organize your inbox, and more.

5812063614105199669
true
Search Help Centre
true
true
true
true
true
35
Search
Clear search
Close search
Main menu
false
false
false
false