Importing the data into Excel
- Open Excel and select “Open” from the Office Button drop-down menu
- In the “Open” dialog box, select “All files” in the drop-down menu next to the file name box
- 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
- Now, sort your data according to depth:
- Select one of the boxes in the “press” column
- Select Home>Sort and Filter>Custom sort...
- Select the check box by “My data has headers”
- 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 Home>Sort and Filter> Filter
- Click on the arrow next to “PO4”
- In the dialog box, click on “Select All,” then select “-9.99;” click OK
- 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 Row”
- Click on Home>Sort and Filter> Filter


- Next, sort the data by depth:
- Click on Home>Sort and Filter>Custom 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” (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 columns A and B, and paste the data (CTRL+V)
- Rename the new columns “HOT” and “Pressure,” respectively
- 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>Scatter>Scatter with Straight Lines. 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:
- Select Layout>Axes>Primary Vertical Axis>More Primary Vertical Axis Options...
- 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 Design>Select Data
- Under the “Legend Entries (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 “Select Data Source” box open, you can change the name of your HOT data series :
- Under the “Legend Entries (Series)” box, click on the “Pressure” series and click “Edit”
- 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 red BATS line, then right click to bring up the Data Series menu; select “Format data Series...”
- Click the button in front of “Secondary Axis” and click “Close”
- 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

