Skip to content

Legacy Excel (.FLOAT) ​

Native in-cell picture formulas (=SMILES2IMG, =NAME2IMG, =KET2IMG, =INCHI2IMG) require Microsoft 365 or Excel 2024+. On Excel 2016, 2019, and 2021, append .FLOAT to render cell-anchored floating picture shapes instead.

Excel 2016–2021 (.FLOAT) SheetA1:B3
Paste at A1
1ASMILES / InputBFormulaDescriptionResultCopy
2CCO=SMILES2IMG.FLOAT(A2)Cell-anchored floating PNG from SMILESxlMoveAndSize
3=NAME2IMG.FLOAT("Caffeine")Standalone floating structure from NamexlMoveAndSize
Append .FLOAT to any image formula (=SMILES2IMG.FLOAT, =NAME2IMG.FLOAT) on Excel 2016-2021.

1. .FLOAT Formula Reference ​

Modern Excel (365 / 2024+)Legacy Excel (2016 / 2019 / 2021)Example
=SMILES2IMG(A2, [bg], [style], [transform])=SMILES2IMG.FLOAT(A2, [bg], [style], [transform])=SMILES2IMG.FLOAT(A2)
=NAME2IMG(name, [bg], [style], [transform])=NAME2IMG.FLOAT(name, [bg], [style], [transform])=NAME2IMG.FLOAT("Caffeine")
=KET2IMG(A2, [bg], [style], [transform])=KET2IMG.FLOAT(A2, [bg], [style], [transform])=KET2IMG.FLOAT(A2)
=INCHI2IMG(A2, [bg], [style], [transform])=INCHI2IMG.FLOAT(A2, [bg], [style], [transform])=INCHI2IMG.FLOAT(A2)

2. How .FLOAT Shapes Behave ​

  • Shapes are anchored to their host cell (xlMoveAndSize), so resizing row height or column width scales the structure cleanly while keeping aspect ratio locked.
  • All shared [background], [style], and [transform] keywords ("bw", "white", "hl:...", "num stereo", "ink=#HEX", "rot90") work identically to the in-cell formulas.
  • All 41 scalar property, substructure search, and conversion formulas (=SMILES2MW, =SMILES2LOGP, =SMILES2TPSA, =SMILES.MATCH, =NAME2SMILES, etc.) return standard Excel numbers/text and work on every Excel version (2016–365) without .FLOAT.

Released under the MIT License.