Identifier Conversions & InChIKey Deduplication
Standardize and deduplicate chemical identifiers across Name, CAS Registry Number, Canonical SMILES, IUPAC InChI, and 27-character InChIKey hashes—enabling exact XLOOKUP joins and duplicate removal across merged vendor or literature tables.
| 1 | AInput (SMILES / InChI) | BFormula | Description | Result | Copy |
|---|---|---|---|---|---|
| 2 | =NAME2SMILES("50-78-2") | Standalone CAS # or Name to canonical SMILES | CC(=O)Oc1ccccc1C(=O)O | ||
| 3 | CC(=O)Oc1ccccc1C(=O)O | =SMILES2INCHI(A3) | SMILES or KET cell to IUPAC InChI | InChI=1S/... | |
| 4 | CC(=O)Oc1ccccc1C(=O)O | =SMILES2INCHIKEY(A4) | Canonical 27-char InChIKey hash | BSYNRYMUTXBXSQ-... | |
| 5 | InChI=1S/C2H6O/c1-2-3/h3H,2H2,1H3 | =INCHI2SMILES(A5) | IUPAC InChI back to canonical SMILES | CCO |
1. Cross-Notation Conversion Functions
Every identifier conversion returns a native Excel text String (*2NAME resolves via offline catalog + cached PubChem lookup; SMILES/InChI/KET structural conversions compute offline):
| Conversion Direction | Excel Formula | Example Output (Aspirin) |
|---|---|---|
| Name or CAS # ➔ Canonical SMILES | =NAME2SMILES("50-78-2") / =NAME2SMILES("Aspirin") | CC(=O)Oc1ccccc1C(=O)O |
| SMILES / InChI / KET ➔ Name | =SMILES2NAME(A2) · =INCHI2NAME(A2) · =KET2NAME(A2) | Aspirin |
| SMILES / KET ➔ IUPAC InChI | =SMILES2INCHI(A2) · =KET2INCHI(A2) | InChI=1S/C9H8O4/c1-6(10)... |
| InChI ➔ Canonical SMILES | =INCHI2SMILES(A2) | CC(=O)Oc1ccccc1C(=O)O |
| KET ➔ Canonical SMILES | =KET2SMILES(A2) | CC(=O)Oc1ccccc1C(=O)O |
| SMILES / InChI / KET ➔ InChIKey | =SMILES2INCHIKEY(A2) · =INCHI2INCHIKEY(A2) · =KET2INCHIKEY(A2) | BSYNRYMUTXBXSQ-UHFFFAOYSA-N |
2. Deduplicating Multi-Vendor Tables with InChIKey
Different chemical suppliers and papers often serialize atom order differently in SMILES strings for the exact same molecule (e.g., c1ccccc1C(=O)O vs. O=C(O)c1ccccc1), making plain text matching miss duplicates.
Add a canonical helper column using =SMILES2INCHIKEY(B2)—because the 27-character InChIKey is an invariant hash independent of SMILES atom numbering:
| Task | Copy-Ready Excel Recipe (D = =SMILES2INCHIKEY(B2)) | Result |
|---|---|---|
| Flag Duplicates Live | =IF(COUNTIF($D$2:$D$500, D2)>1, "Duplicate", "Unique") | Highlights overlapping compounds automatically across sheets |
| Exact Vendor Cross-Lookup | =XLOOKUP(D2, VendorB!$D:$D, VendorB!$E:$E, "Not Found") | Joins assay data or pricing reliably even when SMILES strings differ |
| Clean Master Table | Select your table ➔ Excel [Data] ➔ [Remove Duplicates] on the InChIKey column | Removes chemically identical duplicate rows consistently |
Related Guides
- Substructure Search — Screen scaffolds with
=SMILES.MATCH,=INCHI.MATCH, and=KET.MATCH(TRUE/FALSE) - SDF Import — Import external
.sdf/.mollibraries into an 11-column live worksheet - All 49 Functions — Full parameter catalog across all 49 Excel functions