Skip to content

Reaction Schemes (KET) ​

Embed complete, multi-step organic synthesis pathways—including reaction arrows (➔), + signs, catalysts, solvents, and stereochemical layouts—directly inside Excel cells via =KET2IMG while keeping lossless coordinate editing in Ketcher 2D.

Reaction Scheme (KET) SheetA1:B3
Paste at A1
1AReaction / KETBFormulaDescriptionResultCopy
2CC(=O)O.OCC>>CC(=O)OCC=KET2IMG(A2)Render reaction scheme in standard IUPAC colorColor reaction
3CC(=O)O.OCC>>CC(=O)OCC=KET2IMG(A3, "", "bw")Render monochrome ACS reaction schemeB&W reaction
Launch Ketcher from Excel to draw reaction arrows and persist lossless KET JSON.

1. How to Insert & Re-Edit a Reaction Scheme Cell ​

  1. Select a blank target cell and click [SMILES] ➔ [Insert / Edit (KET)] on the Excel ribbon (note: [Insert / Edit (SMILES)] also automatically saves as =KET2IMG(...) whenever reaction arrows or multiple components are drawn).
  2. Draw reactants, reaction arrows (➔), + symbols, catalysts/temperatures above/below the arrow, and products inside the offline Ketcher 2D editor.
  3. Press Ctrl + Enter to embed the scheme as =KET2IMG("...") (or =KET2IMG.FLOAT("...") on Excel 2016–2021).
  4. Double-click that cell anytime to reopen Ketcher—every arrow angle, reagent layout, stereocenter, and text annotation reloads intact for updating.

Auto-Detection with =SMILES2IMG

Even if a column mixes single-molecule SMILES strings and Ketcher KET strings, =SMILES2IMG(A2) automatically detects KET JSON and routes it through the Ketcher reaction renderer seamlessly.

2. Applying Shared Styles ([bg], [style]) to Reaction Schemes ​

Because =KET2IMG and =KET2IMG.FLOAT use the exact same styling parser as =SMILES2IMG, you can adapt an entire synthesis route for manuscripts or dark slides without redrawing it:

Use CaseExcel FormulaResult
Standard IUPAC Color (Transparent)=KET2IMG(A2)Colored heteroatoms (O red, N blue) with transparent background
ACS Journal Monochrome B&W=KET2IMG(A2, "", "bw") (or =KET2IMG(A2, "bw"))High-contrast black-and-white publication reaction scheme
Dark Slide / Dashboard White Ink=KET2IMG(A2, "#0F172A", "white")Crisp white arrows, bonds, and conditions over dark backgrounds
Legacy Excel (2016–2021)=KET2IMG.FLOAT(A2, "", "bw")Cell-anchored floating reaction image (xlMoveAndSize)

3. Extracting Data from Single-Molecule KET Cells ​

When a cell contains a single molecule stored as KET JSON (e.g., drawn with custom atom positions or explicit stereowedges in Ketcher), you can also query its descriptors directly:

  • Formula / MW / Exact Mass: =KET2FORMULA(A2), =KET2MW(A2), =KET2EXACTMASS(A2)
  • Identifiers & Name: =KET2SMILES(A2), =KET2NAME(A2), =KET2INCHI(A2), =KET2INCHIKEY(A2)
  • LogP, TPSA & 3D Parity: =KET2LOGP(A2), =KET2TPSA(A2), =KET2HEAVY(A2), =KET2RINGS(A2), =KET2AROMATIC(A2), =KET2FSP3(A2), and =KET.MATCH(A2, "smarts") (full 1:1 parity with SMILES2* and SMILES.MATCH)

Released under the MIT License.