Skip to content

All 49 Excel Functions ​

Every func_SMILES2IMG formula follows a unified =<INPUT>2<OUTPUT> design: pick a function prefix matching your input (SMILES, NAME, INCHI, or KET) and a suffix matching the cell output you need—with full parity across SMILES, INCHI, and KET inputs.

Two Shared Pipelines Across All 49 Functions

  • Structure Image Output (8 functions): =SMILES2IMG, =NAME2IMG, =INCHI2IMG, and =KET2IMG (plus their .FLOAT equivalents) share the identical 4-argument signature (input, [bg], [style], [transform]) and the same pure EPAM Indigo renderer.
  • Scalar Output (41 functions): Property, 3D complexity, SMARTS substructure match, and identifier conversion functions return native Excel numbers, booleans (TRUE/FALSE), or strings—ready for IF, FILTER, SORT, XLOOKUP, and stoichiometry math (MW × mmol). INCHI2* and KET2* strictly validate their respective format inputs (#VALUE! on mismatch).

⭐ Top 5 Ready-to-Copy Formulas ​

Click Copy All and paste into cell A1 to populate inputs (A2:A5) alongside live formulas (B2:B6), or copy any row individually (on Excel 2016–2021, append .FLOAT to ...2IMG functions):

Top 5 Ready-to-Copy Lab SheetA1:B6
Paste at A1
1ASMILES / InputBFormulaDescriptionResultCopy
2CCO=SMILES2IMG(A2)2D IUPAC color structure from SMILES in A22D Ethanol
3CC(=O)Oc1ccccc1C(=O)O=SMILES2IMG(A3, "", "bw")ACS journal monochrome B&W structure from A3B&W Aspirin
4CC(=O)Oc1ccccc1C(=O)O=SMILES2MW(A4)Molecular weight in g/mol (offline)180.16
5CC(=O)Oc1ccccc1C(=O)O=SMILES2TPSA(A5)Topological Polar Surface Area (offline)63.60
6=NAME2IMG("Aspirin")Standalone 2D structure from name or CAS #2D Aspirin

🗺️ Guide Map by Category ​

Sidebar CategoryIncluded Functions (49 Total)Pages
Structure Images (8)SMILES2IMG, NAME2IMG, INCHI2IMG, KET2IMG (+ 4 .FLOAT)SMILES, InChI · Names, Solvents, CAS · Reaction Schemes (KET) · Styles & Highlights
Core & Name (12)SMILES2*, INCHI2*, KET2* × (NAME, FORMULA, MW, EXACTMASS)Formula, MW, Exact Mass
LogP, TPSA & 3D (18)SMILES2*, INCHI2*, KET2* × (LOGP, TPSA, HEAVY, RINGS, AROMATIC, FSP3)LogP, TPSA & 3D
SAR Search (3)SMILES.MATCH, INCHI.MATCH, KET.MATCHSubstructure Search
Identifier Conversions (8)NAME2SMILES, KET2SMILES, INCHI2SMILES, *2INCHI (×2), *2INCHIKEY (×3)Identifier Conversion

1. Structure Image Functions (8) ​

All 4 input formats share (input, [bg], [style], [transform]) (SMILES, InChI · Names, Solvents, CAS · Reaction Schemes (KET)):

Input Notation (Arg 1)Microsoft 365 / Excel 2024+Excel 2016–2021Example
SMILES (auto-detects KET)=SMILES2IMG(cell, [bg], [style], [transform])=SMILES2IMG.FLOAT(...)=SMILES2IMG(A2)
Name or CAS #=NAME2IMG(name_or_cas, [bg], [style], [transform])=NAME2IMG.FLOAT(...)=NAME2IMG("Aspirin")
IUPAC InChI=INCHI2IMG(cell, [bg], [style], [transform])=INCHI2IMG.FLOAT(...)=INCHI2IMG(A2)
Reaction / Canvas (KET)=KET2IMG(cell, [bg], [style], [transform])=KET2IMG.FLOAT(...)=KET2IMG(A2)

Shorthand Tips

  • Minimal Call: Only the 1st argument is required: =SMILES2IMG(A2).
  • 2-Arg B&W Shortcut: Pass "bw" (or FALSE) in the 2nd argument to render transparent black-and-white art immediately: =SMILES2IMG(A2, "bw").
  • Delimiters: Separate multiple [style] tokens with spaces, commas, pipes (|), semicolons (;), or +.

2. Formula, MW, Exact Mass, Name (12) ​

Except for online common-name lookups (*2NAME, cached locally after 1 query), all property calculations run locally offline (Formula, MW, Exact Mass):

OutputSMILES InputInChI InputKET InputTypeAspirin (A2)
Substance Name=SMILES2NAME(A2)=INCHI2NAME(A2)=KET2NAME(A2)String"Aspirin"
Chemical Formula (Hill)=SMILES2FORMULA(A2)=INCHI2FORMULA(A2)=KET2FORMULA(A2)String"C9H8O4"
Molecular Weight (MW)=SMILES2MW(A2)=INCHI2MW(A2)=KET2MW(A2)Double180.16
Monoisotopic Exact Mass=SMILES2EXACTMASS(A2)=INCHI2EXACTMASS(A2)=KET2EXACTMASS(A2)Double180.0423

3. LogP, TPSA & 3D Structural Complexity (18) ​

Full parity across SMILES, InChI, and KET inputs (LogP, TPSA & 3D):

DescriptorSMILES FormulaInChI FormulaKET FormulaTypeAspirin
LogP (Crippen)=SMILES2LOGP(A2)=INCHI2LOGP(A2)=KET2LOGP(A2)Double1.31
TPSA (Ų)=SMILES2TPSA(A2, [include_sp])=INCHI2TPSA(A2, [include_sp])=KET2TPSA(A2, [include_sp])Double63.60
Heavy Atoms=SMILES2HEAVY(A2)=INCHI2HEAVY(A2)=KET2HEAVY(A2)Integer13
Total Rings (SSSR)=SMILES2RINGS(A2)=INCHI2RINGS(A2)=KET2RINGS(A2)Integer1
Aromatic Rings=SMILES2AROMATIC(A2)=INCHI2AROMATIC(A2)=KET2AROMATIC(A2)Integer1
Fraction Csp³ (Fsp³)=SMILES2FSP3(A2)=INCHI2FSP3(A2)=KET2FSP3(A2)Double0.11

4. Substructure Search (3) ​

All three notations support SMILES and SMARTS substructure queries directly (Substructure Search):

OutputSMILES FormulaInChI / KET ParityTypeResult
Substructure Match=SMILES.MATCH(target, "query")=INCHI.MATCH(inchi, "query") · =KET.MATCH(ket, "query")BooleanTRUE / FALSE

5. Identifier Conversions (8) ​

Standardize Chemical Name, CAS #, Canonical SMILES, KET JSON, IUPAC InChI, and 27-character InChIKey (Identifier Conversion):

ConversionFormulaTypeExample Output
Name or CAS # ➔ SMILES=NAME2SMILES("50-78-2") / =NAME2SMILES("Aspirin")String"CC(=O)Oc1ccccc1C(=O)O"
InChI ➔ Canonical SMILES=INCHI2SMILES(A2)String"CC(=O)Oc1ccccc1C(=O)O"
KET ➔ Canonical SMILES=KET2SMILES(A2)String"CC(=O)Oc1ccccc1C(=O)O"
SMILES / KET ➔ InChI=SMILES2INCHI(A2) · =KET2INCHI(A2)String"InChI=1S/C9H8O4/..."
SMILES / InChI / KET ➔ InChIKey=SMILES2INCHIKEY(A2) · =INCHI2INCHIKEY(A2) · =KET2INCHIKEY(A2)String"BSYNRYMUTXBXSQ-UHFFFAOYSA-N"

6. Shared Background ([bg]) & Style ([style]) Tokens ​

All 8 ...2IMG and ...2IMG.FLOAT functions share these exact styling parameters (Styles & Highlights):

Customize background [bg] and [style] tokens per cell.
ParameterToken / ValueAccepted AliasesEffect
Background [bg]"" / "trans" · "white" · #RRGGBB"transparent", CSS color namesTransparent canvas, opaque white box, or custom background fill
Color / Monochromecolor · bwcpk, mono, black, grayscaleStandard IUPAC element coloring or ACS B&W line art
Custom Inkwhite · ink=#HEXlight, line=#HEX, base=#HEXWhite bonds for dark mode or custom hex/CSS ink color
Highlighthl:<smarts>highlight:<smarts>, hl=<smarts>Colors atoms/bonds matching a SMILES/SMARTS pattern
Labelsnum · stereo · h · all-cidx, chiral, unfoldh, carbonAtom numbers, CIP R/S/E/Z, explicit -H, explicit C labels
Rotationsrot90 · rot180 · rot270(accepted in 3rd or 4th arg)Rigid planar clockwise rotations (preserves stereochemistry)

7. Status & Error Code Quick Reference ​

CodeMeaningResolution
#N/AOffline network, compound name not found on PubChem (*2NAME, NAME2*), or uncomputable property/conversion.Check network connectivity, compound spelling, or input type (e.g., reaction or R-group * passed to single-molecule property). (...2IMG formulas stay briefly blank while queued rendering completes.)
#VALUE!Syntax error, non-InChI passed to INCHI2*, non-KET passed to KET2*, or invalid formula syntax.Open [SMILES] ➔ [Diagnostics] to inspect the exact EPAM Indigo parser message.

Released under the MIT License.