Importing the data into Excel
- Open Excel and select File>Open
- In the “Open” dialog box, select “All files” in the “Files of type” field
- Locate your Nitrate document and select it, then click “Open”
- Click on the bubble “Delimited”, then click “Next”
- Add the “Comma” as a delimiter by clicking on the box next to it, then click “Finish”
- Remove the cells with the units in them:
- Select row 2 (click on the row number to the left of the row)
- Click Home>Delete

- You need to remove the label “\par” from the pressure column
- Select Edit>Replace...
- Type “\par” in the “Find what” box
- Leave the “Replace with” box blank
- Click “Replace All,” then click OK, then click “Close”
- Now, sort your data according to depth:
- Select one of the boxes in the “press” column
- Select Data>Sort
- Make sure the button next to “Header Row” is checked
- Under “Sort by,” choose “press” and click OK
- Be sure to save the file as an Excel Workbook by selecting File>Save As...
- Repeat this procedure for Phosphate data; save as an Excel file
- Repeat steps 1–5 for the BATS data
- Before the data can be used, the depths without nutrient data need to be removed.
(When no nutrient data is available, BATS reports it as “-9.99”)- Click on Data>Filter>Auto Filter
- Click on the arrow next to “PO4”
- In the drop-down menu, select “-9.99”
- Delete rows 2 through 149:
- Click on the number 2 on the left-hand side and drag the cursor down to highlight all rows below
- Right click on the row labels (the numbers on the left-hand side)
- Select “Delete Rows”
- Click on Data>Filter>Auto Filter


- Next, sort the data by depth:
- Click on Data>Sort
- In the “Sort by” drop box, click on “Depth;” click on OK


Preparing data for graphing
- Open a new Excel worksheet. Save it as “Nitrate”
- Return to your HOT Nitrate spreadsheet. Copy the following columns: “nit” ( Nitrate+Nitrite) and “press\par” (Depth):
- Select both columns by placing your cursor over the letter at the top of column F, then click and drag to highlight both columns F and G
- Copy the columns (CTRL+C) , then move to your new spreadsheet, select the first two columns, and paste the data (CTRL+V)
- Rename the columns “HOT” and “Pressure”
- Return to your BATS spreadsheet. Copy the following column: “NO3” (Nitrate+Nitrite):
- Select the column by placing your cursor over the letter at the top of column D
- Copy the column (CTRL+C) , then move to your new spreadsheet, select column C, and paste the data (CTRL+V)
- Rename the column “BATS”
- Copy the “Depth” column (column C in your BATS spreadsheet) and paste into column D in your Nitrate spreadsheet
- Open a new Excel worksheet. Save it as “Phosphate”
- Repeat steps 2 through 7 for the phosphate “phos,” “press,” “PO3,” and “depth” columns in your HOT and BATS phosphate files


Creating a graph
- Select columns A and B (the HOT data) and select Insert>Chart...
- In the Chart Wizard, select the Chart Type “XY (Scatter)”
- Choose the Chart sub-type “Scatter with data points connected by lines without markers”
- Click “Next,” then “Finish”
- Your graph should look like this:
- In order for the y-axis to show depth from top to bottom, you’ll need to reverse the order of the values:
- Click on the y-axis and select Format>Selected Axis...
- Check the box in front of “Values in reverse order” and click OK
- Now, you need to add the BATS data to your graph:
- Select Chart>Source Data...
- Under the “Series” box, click “Add”
- In the “Series Name” box, type “BATS”
- In the “Series X Values” box, select the icon with the red arrow, then go to your spreadsheet and click and drag to select cells C2-C59; click on the arrow icon again
- Repeat this procedure for the “Series Y Values” box, selecting cells D2-D59; click OK
- While you have the “Source Data” box open, you can change the name of your HOT data series :
- In the “Series” box, click on the “Pressure” series
- In the “Series Name” box, type “HOT” and click OK; click OK again
- Your graph should now look something like this:
- Now, you have to give the BATS data its own axis:
- Click on the pink BATS line, then right click to bring up the Data Series menu; select “Format data Series...”
- Click on the “Axis” tab
- Click the button in front of “Secondary Axis” and click OK
- Use the procedure in step 3 to reverse the values on the Secondary Vertical Axis
- Your graph should now look like this:
- Finally, use the Chart Layout tools to add chart and axis titles.
- Chart title: Nitrate vs. Depth
- Value (X) Axis: Nitrate (µmol/kg)
- Value (Y) Axis: Pressure (dbar)
- Second value (Y) Axis: Depth (ft)
- Your final graph should look something like this:
- Use these same procedures to create a graph comparing HOT and BATS phosphate data.





Back to top

