Excel Use Cases
Explore 6 practical ways func_SMILES2IMG turns Microsoft Excel into a self-contained chemistry workbench—with copy-ready multi-column sheets you can paste straight into cell A1.
| Use Case | What You Can Do | Key Tool |
|---|---|---|
| 1. Synthesis ELN & Stoichiometry | Auto-fill SMILES, structures, MW, and mg weights from names or CAS | =NAME2SMILES, =SMILES2MW |
| 2. Hit-to-Lead SAR Triage | Highlight query scaffolds and screen transparent ADME thresholds live | =SMILES.MATCH, "hl:" |
| 3. Reagent & Library Deduplication | Normalize vendor SMILES variations into InChIKey for COUNTIF & XLOOKUP | =SMILES2INCHIKEY |
| 4. SDF Import & Office Handoff | Convert .sdf files to 11-column live tables and reuse schemes in Word/PPT | [Import SDF], [Batch Style] |
| 5. R-Group Analog Enumeration | Swap R-groups with SUBSTITUTE and preview analog structures & properties offline | =SUBSTITUTE, =SMILES2IMG |
| 6. Dynamic Lead Comparison & FILTER | Compare in-cell structure images dynamically via XLOOKUP and FILTER (365+) | =XLOOKUP, =FILTER |
1. Synthesis ELN & Stoichiometry
Eliminate switching between ChemDraw, PubChem, and manual weight calculators during reaction setup. Sketch your reaction scheme once at the top via [SMILES] ➔ [Insert / Edit (KET)], then type reagent names or CAS numbers in column A to auto-populate SMILES, structures, live numeric MW, and mg weighing values.
- Paste the table below into
A1(append.FLOATto=SMILES2IMGon Excel 2016–2021). - Adjust the scale in
E2(5.0mmol) to recalculate every reagent weight (F2:F4) immediately. - Click
[SMILES]➔[Insert / Edit (KET)]on a header cell to attach a double-click-editable reaction scheme.
| 1 | AReagent / CAS | BSMILES | CStructure | DMW | Emmol | FMass (mg) | Description | Result | Copy |
|---|---|---|---|---|---|---|---|---|---|
| 2 | Salicylic Acid | =NAME2SMILES(A2) | =SMILES2IMG(B2) | =SMILES2MW(B2) | 5.0 | =ROUND(D2*E2, 1) | Limiting reagent (1.0 eq) | 690.6 mg | |
| 3 | Acetic Anhydride | =NAME2SMILES(A3) | =SMILES2IMG(B3) | =SMILES2MW(B3) | =E2*1.5 | =ROUND(D3*E3, 1) | Excess reagent (1.5 eq) | 765.7 mg | |
| 4 | 50-78-2 | =NAME2SMILES(A4) | =SMILES2IMG(B4) | =SMILES2MW(B4) | =E2 | =ROUND(D4*E4, 1) | Theoretical Aspirin product | 900.8 mg |
- Next: Formula, MW, Exact Mass · Reaction Schemes (KET) · Playbook Tab 6 & Tab 7
2. Hit-to-Lead SAR Triage
Point every analog row to a single query scaffold cell ($B$2) so editing one SMARTS pattern updates substructure flags, color-highlighted 2D structures, and MW/LogP triage tiers across your entire screening table simultaneously.
- Paste the sheet below at
A1($B$2holds the editable query SMARTSc1ccncc1). - Edit
$B$2(e.g., change toc1ccccc1) to watch columnsC:Ere-flag and re-highlight automatically. - Use Excel Sort & Filter—native in-cell structures stay locked to their rows on Microsoft 365 / Excel 2024+.
| 1 | ATarget SMILES | BQuery ($B$2) | CMatch | DHighlighted 2D | EPriority Tier | Description | Result | Copy |
|---|---|---|---|---|---|---|---|---|
| 2 | CC(=O)Oc1ccccc1C(=O)O | c1ccncc1 | =SMILES.MATCH(A2, $B$2) | =SMILES2IMG(A2, "", "hl:"&$B$2) | =IF(AND(SMILES2MW(A2)<=500, SMILES2LOGP(A2)<=4, SMILES.MATCH(A2, $B$2)), "Priority", "Monitor") | Aspirin vs. pyridine query | Monitor | |
| 3 | CN1CCCC1c2cccnc2 | =SMILES.MATCH(A3, $B$2) | =SMILES2IMG(A3, "", "hl:"&$B$2) | =IF(AND(SMILES2MW(A3)<=500, SMILES2LOGP(A3)<=4, SMILES.MATCH(A3, $B$2)), "Priority", "Monitor") | Nicotine matches $B$2 scaffold | Priority |
- Next: Substructure Search · LogP, TPSA & 3D · Playbook Tab 2 & Tab 3
3. Reagent & Library Deduplication
Chemical vendors and papers often write the exact same molecule with different SMILES atom orderings (c1ccccc1C(=O)O vs. O=C(O)c1ccccc1). Generating the invariant 27-character InChIKey lets Excel detect duplicates via COUNTIF, merge tables via XLOOKUP, and clean master lists with Remove Duplicates.
- Paste the sheet below at
A1to compare two different SMILES writings of Benzoic acid alongside Aspirin. - Expand
COUNTIF($C$2:$C$4, C2)>1across all rows to flag chemically identical entries live. - Cross-join vendor pricing or assay data across sheets by matching the
InChIKeycolumn withXLOOKUP.
| 1 | AInput SMILES / Name | BCanonical SMILES | CInChIKey | DDuplicate Flag | Description | Result | Copy |
|---|---|---|---|---|---|---|---|
| 2 | c1ccccc1C(=O)O | =INCHI2SMILES(SMILES2INCHI(A2)) | =SMILES2INCHIKEY(A2) | =IF(COUNTIF($C$2:$C$4, C2)>1, "Duplicate", "Unique") | Benzoic acid (ring-first SMILES) | Duplicate | |
| 3 | O=C(O)c1ccccc1 | =INCHI2SMILES(SMILES2INCHI(A3)) | =SMILES2INCHIKEY(A3) | =IF(COUNTIF($C$2:$C$4, C3)>1, "Duplicate", "Unique") | Same molecule (carboxyl-first) | Duplicate | |
| 4 | Aspirin | =NAME2SMILES(A4) | =SMILES2INCHIKEY(B4) | =IF(COUNTIF($C$2:$C$4, C4)>1, "Duplicate", "Unique") | Resolved from name | Unique |
- Next: Names, Solvents, CAS · Identifier Conversion · Playbook Tab 4
4. SDF Import & Office Handoff
Import .sdf screening libraries exported from RDKit, KNIME, DataWarrior, or PubChem into a live formula sheet, triage hits, and transfer publication-ready structures directly to Word and PowerPoint without redrawing.
- 11-Column Import: Click
[SMILES]➔[Import SDF]to generate formatted rows withName,Structure,SMILES,Formula,MW (g/mol),Exact Mass,LogP,TPSA,Rings,Aromatic Rings, andFsp3. - Batch Restyle: Filter down to top hits and run
[SMILES]➔[Batch Style]➔[Publication B&W](orDark Mode). - Hand Off Without Redrawing:
- To Word: Copy filtered table rows into Word, or click
[Copy SMILES]/[Copy KET]and run[Paste Structure](Word Use Cases). - To PowerPoint: Paste hits onto slides with
[Paste Structure], then apply[Batch Style]➔[Dark Mode](PowerPoint Use Cases).
- To Word: Copy filtered table rows into Word, or click
- Next: SDF Import · Batch Style, TSV, 3D · Playbook Tab 9
5. R-Group Analog Enumeration
Simulate entire analog series inside Excel using native SUBSTITUTE—no Python or RDKit scripts required. Adding a single substituent SMILES fragment renders the analog and updates MW, Formula, LogP, and TPSA locally.
- Paste the enumeration table below at
A1($B$2holds the[R]scaffold template). - Add more SMILES fragments down column
A(Cl,OC,C#N) and fill columnsC:Fdownward. - Combine with
=SMILES2LOGP(C2)or=SMILES2TPSA(C2)to spot ADME trade-offs before synthesis.
| 1 | AR-Group | BTemplate ($B$2) | CAnalog SMILES | D2D Structure | EMW | FFormula | Description | Result | Copy |
|---|---|---|---|---|---|---|---|---|---|
| 2 | O | CC(=O)Nc1ccc([R])cc1 | =SUBSTITUTE($B$2, "[R]", A2) | =SMILES2IMG(C2) | =SMILES2MW(C2) | =SMILES2FORMULA(C2) | 4-OH analog (Paracetamol) | 151.16 · C8H9NO2 | |
| 3 | F | =SUBSTITUTE($B$2, "[R]", A3) | =SMILES2IMG(C3) | =SMILES2MW(C3) | =SMILES2FORMULA(C3) | 4-Fluoro analog | 153.16 · C8H8FNO | ||
| 4 | C(F)(F)F | =SUBSTITUTE($B$2, "[R]", A4) | =SMILES2IMG(C4) | =SMILES2MW(C4) | =SMILES2FORMULA(C4) | 4-CF3 analog | 203.16 · C9H8F3NO |
- Next: SMILES, InChI · LogP, TPSA & 3D
6. Dynamic Lead Comparison & FILTER
Because =SMILES2IMG returns a native in-cell CellImage on Microsoft 365 / Excel 2024+, native lookup and dynamic array formulas move the rendered structures themselves alongside numbers.
- Dropdown Lead Comparator: Use Excel Data Validation dropdowns in
B2andC2pointing to compound names on aLibrarysheet, then pull each live structure cell with=XLOOKUP(B2, Library!$A:$A, Library!$C:$C)paired with=SMILES.MATCH(B3, Library!$B$1)andΔMW/ΔLogProws. - Live Spilling
FILTERShortlist: Combine property cutoffs into a dynamic shortlist whose images update automatically whenever thresholds change:text=FILTER(Library!A2:F200, (Library!E2:E200<=4.0)*(Library!F2:F200<=90))
Microsoft 365 / Excel 2024+ Only
Moving rendered structure images through XLOOKUP or FILTER requires native in-cell pictures (=SMILES2IMG), not Excel 2016–2021 .FLOAT shapes.
Next Steps
- Practice in the 10-Tab Excel Playbook (.xlsx) — Open live workbooks pre-loaded with all formulas above.
- Installation Guide — Install across Excel, Word, and PowerPoint with one PowerShell command.