Dr Bartels Excel Spreadsheet Model

32
Steps for creating an Excel Spreadsheet to use with petrol 7. Make graphs of the data. See the next worksheet for general instructions. 3C. ETC -->> 2A. Insert name of data set here R1 R3 R4 R6 69.99 73.379 71.734 71.36 FeO MnO MgO CaO 2.287 1.879 0.42 2.183 3.041 2.568 1.503 2.855 S F 1. Figure out what the purpose of your spreadsheet is. For this particular pur compositions of rocks and make graphs so we can classify them. space above that for writing in the name of the data set. I also have a row whe which is which. 3. Enter the data. I will leave this step up to you! 4. Write a formula to add up all the numbers in your chemical composition to ge but it is good to have a formula calculate it so you can check that you entered 5. Since we want to plot this data on a total alkalis vs. silica diagram, we ne 6. Copy the cells with the formulas for the "total" and for "Na2O plus K2O" and values will automatically be calculated for all other compositions, too. 3A. insert compos- itional data for first specimen here 3B. Insert compos- itional data for the second specimen in this column 2B. Type in your specimen or sample numbers or names in this row in wt. % oxides SiO2 TiO2 Al2O3 Fe2O3 Na2O K2O P2O5 CO2 SO3

Transcript of Dr Bartels Excel Spreadsheet Model

Page 1: Dr Bartels Excel Spreadsheet Model

Steps for creating an Excel Spreadsheet to use with petrologic data

7. Make graphs of the data. See the next worksheet for general instructions.

3C. ETC -->>

2A. Insert name of data set hereR1 R3 R4 R6 R7

69.99 73.379 71.734 71.36 67.262

FeOMnOMgOCaO

2.287 1.879 0.42 2.183 2.177

3.041 2.568 1.503 2.855 3.338

SF

1. Figure out what the purpose of your spreadsheet is. For this particular purpose, we want to create a spreadsheet to make it easier for use to take chemical compositions of rocks and make graphs so we can classify them.

2. Design the spreadsheet. I decided to enter data in columns, so I typed in the individual components of the chemical composition (SiO2, etc) in a column. I have a space above that for writing in the name of the data set. I also have a row where I can enter the specimen number or sample number of my rock, so I can keep track of which is which.

3. Enter the data. I will leave this step up to you!

4. Write a formula to add up all the numbers in your chemical composition to get a value for total wt %. The original data you are looking at might have this number, but it is good to have a formula calculate it so you can check that you entered the numbers correctly or that the original data set is correct and complete.

5. Since we want to plot this data on a total alkalis vs. silica diagram, we need to write a formula to calculate Na2O plus K2O.

6. Copy the cells with the formulas for the "total" and for "Na2O plus K2O" and then paste them into the other columns that contain data. Then "total" and "Na2O plus K2O" values will automatically be calculated for all other compositions, too.

3A. insert compos-itional data for first specimen here

3B. Insert compos-itional data for the second specimen in this column

2B. Type in your specimen or sample numbers or names in this row

Composition in wt. % oxides

SiO2

TiO2

Al2O3

Fe2O3

Na2O

K2O

P2O5

CO2

SO3

Page 2: Dr Bartels Excel Spreadsheet Model

Cl

BaO

NiO

Total #VALUE! #VALUE! #VALUE! #VALUE! #VALUE!

5.328 4.447 1.923 5.038 5.515

H2O+

H2O-

Zr3O2

Cr2O3

4. Write formula to calculate "Total" here

Na2O plus K2O

5. write excel formula for addition of "Na2O plus K2O" here

6A. Copy cell E44 and paste it into F44, G44, H44, etc. 6B. Copy cell E46 and paste it into F46, G46, H46, etc.

An content in normative plagioclase

Page 3: Dr Bartels Excel Spreadsheet Model

Steps for creating an Excel Spreadsheet to use with petrologic data

7. Make graphs of the data. See the next worksheet for general instructions.

2A. Insert name of data set hereR8 R10 R12 R13 R14 R15 R18 R19 R20

76.32 69.809 73.551 73.413 73.186 77.825 74.355 72.097 74.015

2.318 2.994 3.65 3.576 3.056 2.026 3.859 2.079 3.585

2.625 3.983 4.575 4.789 5.513 3.339 5.495 2.623 4.487

Figure out what the purpose of your spreadsheet is. For this particular purpose, we want to create a spreadsheet to make it easier for use to take chemical compositions of rocks and make graphs so we can

Design the spreadsheet. I decided to enter data in columns, so I typed in the individual components of the chemical composition (SiO2, etc) in a column. I have a space above that for writing in the name of the data set. I also have a row where I can enter the specimen number or sample number of my rock, so I can keep track of which is which.

Write a formula to add up all the numbers in your chemical composition to get a value for total wt %. The original data you are looking at might have this number, but it is good to have a formula calculate it so you can check that you entered the numbers correctly or that the original data set is correct and complete.

Since we want to plot this data on a total alkalis vs. silica diagram, we need to write a formula to calculate Na2O plus K2O.

O" and then paste them into the other columns that contain data. Then "total" and "Na2O plus K2O" values will automatically be calculated for

Page 4: Dr Bartels Excel Spreadsheet Model

#VALUE! #VALUE!

4.943 6.977 8.225 8.365 8.569 5.365 9.354 4.702 8.072

6A. Copy cell E44 and paste it into F44, G44, H44, etc. 6B. Copy cell E46 and paste it into F46, G46, H46, etc.

Page 5: Dr Bartels Excel Spreadsheet Model

2A. Insert name of data set hereR21

74.731

4.09

4.365

Page 6: Dr Bartels Excel Spreadsheet Model

8.455 0 0 0

Page 7: Dr Bartels Excel Spreadsheet Model

Steps for adding data to an existing graph.^

• Click on the tab of the worksheet that contains the graph you want to use.

• Click on the “chart” menu at the top of the excel page.• Then click on “source data”.• Select the “series” tab (there will be two tabs at top left, “data range” and “series”).• Click the “Add” button (lower left).• Click on the right side of the box that says x-values.• Click on the tab of the worksheet (at the bottom of the screen) where your data is. In this case, unless you changed the name, it will be on the “Enter Data on This Page” worksheet.• Use the mouse to highlight the row that contains the data you want to plot as the x-axis values. In this case it will be the row that contains "SiO2" data. Hit the enter key.

• Click on the right side of the box that says y-values• Click on the tab of the worksheet (at the bottom of the screen) where your data is. In this case, unless you changed the name, it will be on the “Enter Data on This Page” worksheet.• Use the mouse to highlight the row that contains the data you want to plot as the y-axis values. In this case it will be the row that contains "Na2O plus K2O" data. Hit the enter key.

• Click the “OK” button (lower right)

Your data should now be plotted on the graph.

You want your data to plot as points, not as a line connecting points. If your data plots as a line, you'll have to select your data series and use "format data series." Put the mouse pointer right over the line of your data. A little yellow box should appear with the name of the data series. Right click the mouse and a little menu should pop up right there. The top choice should be "format data series." Click on that and a box with seven different tabs will pop up. Choose the tab that says "Patterns." If you have a line connecting your points and you want it to go away, under "line" click the circle that says "none." If you don't have any symbols on the graph for your points and you want some, under "Markers" click either "automatic" or "custom." Then click "OK."

CAUTION: Don't move the graph around or resize it, because the field labels might not end up in the right places if you do that.

Here are some instructions for adding data to some graphs that I have already set up**. The two worksheets that follow this one are graphs of Total Alkalis vs. Silica. The first one is the IUGS one, and the second one is the alternative from Cox et al.

Page 8: Dr Bartels Excel Spreadsheet Model

Steps for adding data to an existing graph.^

• Click on the tab of the worksheet that contains the graph you want to use.

• Click on the “chart” menu at the top of the excel page.• Then click on “source data”.• Select the “series” tab (there will be two tabs at top left, “data range” and “series”).• Click the “Add” button (lower left).• Click on the right side of the box that says x-values.• Click on the tab of the worksheet (at the bottom of the screen) where your data is. In this case, unless you changed the name, it will be on the “Enter Data on This Page” worksheet.• Use the mouse to highlight the row that contains the data you want to plot as the x-axis values. In this case it will be the row that contains "SiO2" data. Hit the enter key.

• Click on the right side of the box that says y-values• Click on the tab of the worksheet (at the bottom of the screen) where your data is. In this case, unless you changed the name, it will be on the “Enter Data on This Page” worksheet.• Use the mouse to highlight the row that contains the data you want to plot as the y-axis values. In this case it will be the row that contains "Na2O plus K2O" data. Hit the enter key.

• Click the “OK” button (lower right)

Your data should now be plotted on the graph.

You want your data to plot as points, not as a line connecting points. If your data plots as a line, you'll have to select your data series and use "format data series." Put the mouse pointer right over the line of your data. A little yellow box should appear with the name of the data series. Right click the mouse and a little menu should pop up right there. The top choice should be "format data series." Click on that and a box with seven different tabs will pop up. Choose the tab that says "Patterns." If you have a line connecting your points and you want it to go away, under "line" click the circle that says "none." If you don't have any symbols on the graph for your points and you want some, under "Markers" click either "automatic" or "custom." Then click "OK."

CAUTION: Don't move the graph around or resize it, because the field labels might not end up in the right places if you do that.

Page 9: Dr Bartels Excel Spreadsheet Model

**I entered in the x, y points (SiO2, Na2O plus K2O) for all of the intersections of the field lines, and then created a data series to plot the field boundaries as lines.

^ You need to take different steps to create a graph from scratch.

Page 10: Dr Bartels Excel Spreadsheet Model

35 40 45 50 55 60 65 70 75 800

2

4

6

8

10

12

14

16

SiO2 (Wt%)

Na2

O +

K2O

(w

t%)

Monzo diorita Foídica

Monzogabro Foídico

Monzo sienita Foídica

Sienita Foídica

Monzonita

Monzo-dioritaMonzo-gabro

Picro-gabro

GabroGabroDiorita

Diorita

Sienita

Granodiorita

Granito

Monzonita Cuarzosa

Page 11: Dr Bartels Excel Spreadsheet Model

SiO2 40.9 44.9 40.9 40.9 52.5 44.9 44.9Na2O + K2O 3 3 0 6.9 14 0 5

SiO2 39 68 72Na2O + K2O 0 10.5 12

Page 12: Dr Bartels Excel Spreadsheet Model

63 52 52 49.2 44.8 57 57 5314.5 0 5 7.3 9.4 0 5.8 9.4

Page 13: Dr Bartels Excel Spreadsheet Model

48.3 63 63 57.8 52.8 50 69 52 44.911.3 0 7 11.7 14 15.27 8 5 5

Page 14: Dr Bartels Excel Spreadsheet Model

69 69 7613 8 0

Page 15: Dr Bartels Excel Spreadsheet Model

35 40 45 50 55 60 65 70 750

2

4

6

8

10

12

14

16

Total Alkali vs. Silica Diagram of Cox et. al. 1979

SiO2 Wt. %

Na2

O +

K2O

wt

%

Ijolita

Sienita Nefelinica

Gabro

Gabro

Sienodiorita

Sienita

Dioritagranodiorita

Sienita

granito

Page 16: Dr Bartels Excel Spreadsheet Model

35 40 45 50 55 60 65 70 75 800

2

4

6

8

10

12

14

16

Total Alkalis vs. Silica DiagramIUGS classification

SiO2 (Wt%)

Na2

O +

K2O

(w

t%)

FoiditePhono-tephrite

TephriteBasanite

Tephri-phonolite

Phonolite

Trachy-andesite

BasalticTrachy-andesiteTrachy-

basalt

Picro-basalt

Basalt BasalticAndesite

Andesita

Trachyte

Dacita

RiolitaTrachydacite

Page 17: Dr Bartels Excel Spreadsheet Model

35 40 45 50 55 60 65 70 75 800

2

4

6

8

10

12

14

16

Total Alkalis vs. Silica DiagramIUGS classification

SiO2 (Wt%)

Na2

O +

K2O

(w

t%)

FoiditePhono-tephrite

TephriteBasanite

Tephri-phonolite

Phonolite

Trachy-andesite

BasalticTrachy-andesiteTrachy-

basalt

Picro-basalt

Basalt BasalticAndesite

Andesita

Trachyte

Dacita

RiolitaTrachydacite

Page 18: Dr Bartels Excel Spreadsheet Model

35 40 45 50 55 60 65 70 75 800

2

4

6

8

10

12

14

16

SiO2 (Wt%)

Na2

O +

K2O

(w

t%)

Serie Subalcalina

Serie Alcalina

Page 19: Dr Bartels Excel Spreadsheet Model

35 40 45 50 55 60 65 70 75 800

2

4

6

8

10

12

14

16

SiO2 (Wt%)N

a2O

+ K

2O (

wt%

)

Serie Subalcalina

Serie Alcalina

Page 20: Dr Bartels Excel Spreadsheet Model

35 40 45 50 55 60 65 70 75 800

2

4

6

8

10

12

14

16

SiO2 (Wt%)

Na2

O +

K2O

(w

t%)

Serie Subalcalina

Serie Alcalina

Page 21: Dr Bartels Excel Spreadsheet Model

35 40 45 50 55 60 65 70 75 800

2

4

6

8

10

12

14

16

SiO2 (Wt%)

Na2

O +

K2O

(w

t%)

Serie Subalcalina

Serie Alcalina

Page 22: Dr Bartels Excel Spreadsheet Model

SiO2 39 68 72 80Na2O + K2 0 10.5 12 15

Page 23: Dr Bartels Excel Spreadsheet Model

66 68 70 72 74 76 78 800

1

2

3

4

5

6

7

8

9

10

Column R

Page 24: Dr Bartels Excel Spreadsheet Model

SiO2 CaO Na2O K2O Na2O+K2OR-01 69.99 1.926 2.287 3.041 5.328R-03 73.379 1.968 1.879 2.568 4.447R-04 71.734 5.034 0.42 1.503 1.923R-06 71.36 1.665 2.183 2.855 5.038R-07 67.262 1.84 2.177 3.338 5.515R-08 76.32 1.5 2.318 2.625 4.943R-10 69.809 2.041 2.994 3.983 6.977R-12 73.551 0.766 3.65 4.575 8.225R-13 73.413 0.779 3.576 4.789 8.365R-14 73.186 0.56 3.056 5.513 8.569R-15 77.825 1.094 2.026 3.339 5.365R-18 74.355 0.53 3.859 5.495 9.354R-19 72.097 1.795 2.079 2.623 4.702R-20 74.015 0.555 3.585 4.487 8.072R-21 74.731 0.639 4.09 4.365 8.455

66 68 70 72 74 76 78 800

1

2

3

4

5

6

7

8

9

10

Column R

66 68 70 72 74 76 78 800

1

2

3

4

5

6

7

8

9

10

Column O

Page 25: Dr Bartels Excel Spreadsheet Model

66 68 70 72 74 76 78 800

1

2

3

4

5

6

7

8

9

10

Column O

Page 26: Dr Bartels Excel Spreadsheet Model

SiO2 52 52 53 57.2 61.8 55 55Na2O + K2O 1.7 5.6 7 9.2 10 1.7 5.6

SiO2 39 66 75Na2O + K2O 0 9 12

Page 27: Dr Bartels Excel Spreadsheet Model

44.2 56.2 63 69 63 635.6 5.6 7 11.8 3.5 7

Page 28: Dr Bartels Excel Spreadsheet Model

70 65 58 55 48 41.1 39.5 43.75.5 9 11.4 11.3 8.5 3.2 4.2 8.5

Page 29: Dr Bartels Excel Spreadsheet Model

51.5 43.7 40.8 55 49 4613.3 8.5 9.5 11.3 14.8 7

Page 30: Dr Bartels Excel Spreadsheet Model

53 58 62 50 57.2 487 11.4 14 9.2 9.2 8.5

Page 31: Dr Bartels Excel Spreadsheet Model

45.49.45