0% found this document useful (0 votes)
24 views3 pages

Example of Using HSC Chemistry Add-Inn Functions To Create A Table of Minerals

The document demonstrates how to use functions in the HSC Chemistry Add-in to create a table of minerals with their properties. It shows examples of functions like =MineralCode(), =MineralFormula(), and =MineralProperty() that retrieve mineral codes, formulas, names, elemental compositions, density, hardness, color, luster, and group from the HSC mineral database. The functions allow populating a table with standard mineral property data based on the mineral's name or code.

Uploaded by

FedericoHC
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views3 pages

Example of Using HSC Chemistry Add-Inn Functions To Create A Table of Minerals

The document demonstrates how to use functions in the HSC Chemistry Add-in to create a table of minerals with their properties. It shows examples of functions like =MineralCode(), =MineralFormula(), and =MineralProperty() that retrieve mineral codes, formulas, names, elemental compositions, density, hardness, color, luster, and group from the HSC mineral database. The functions allow populating a table with standard mineral property data based on the mineral's name or code.

Uploaded by

FedericoHC
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
You are on page 1/ 3

Example of using HSC Chemistry Add-inn functions to create a table of minerals

Pertti Lamberg, 14.6.2007, HSC Chemistry 6.1


Mineral 1 Mineral 2 Mineral 3 Mineral 3
Mineral Chalcopyrite Pyrite Sphalerite Sphalerite
Code #NAME? #NAME? #NAME? Sp
Formula #NAME? #NAME? #NAME? (Zn,Fe)S
Name #NAME? #NAME? #NAME? Sphalerite
Cu #NAME? #NAME? #NAME? 0.00
Zn #NAME? #NAME? #NAME? 67.10
Fe #NAME? #NAME? #NAME? 0.00
S #NAME? #NAME? #NAME? 32.90
Density #NAME? #NAME? #NAME? 4.05
Hardness #NAME? #NAME? #NAME? 3.5-4
Color #NAME? #NAME? #NAME? brown
Luster #NAME? #NAME? #NAME? Resinous - Greasy
Group #NAME? #NAME? #NAME? Sphalerite
This column is
copy paste-special-
values from the
D-column to check
the commands
Example of using HSC Chemistry Add-inn functions to create a table of minerals
HSC Command Code example
=MineralCode(B4) =MineralCode("Pyrite")
=MineralFormula(B5) =MineralFormula("Galena")
=MineralName(B7) =MineralName("Cc")
=MineralC(B4;A8) =MineralC("Pyrite";"S")
=MineralC(B$6;$A11) =MineralC("Galena";"S")
=MineralC(B$6;$A12) =MineralC("Py";"S")
=MineralC(B$6;$A13) =MineralC("Kfs";"Al")
=MineralProperty(B$6,$A14)
General HSC Command MineralProperty(MineralName,Property)
returns the property of given mineral
Property can be any of the following
-Code
-Formula
-Density
-Hardness
-Color
-Luster
-Group
- and any of the chemical elements (e.g. Cu, Zn, Pb, Si, O)
but in elemental form, not in oxide form (e.g. Si, NOT SiO2)
Explanation
Gives standard HSC mineral code for a mineral (1-3 letters)
Gives general formula of mineral
Gives mineral name according to mineral code
Gives wt% of element in mineral
Gives wt% of element in mineral
Gives wt% of element in mineral
Gives wt% of element in mineral
General HSC Command MineralProperty(MineralName,Property)

You might also like