↑ Return to Guides

How To: Convert to Cardinal Wind Directions

A wind rose diagram groups wind direction into cardinal wind directions and their intermediates points to produce spokes. Therefore, wind direction in your raw data needs to grouped into N, NNE, NE, ENE, E and so on.

In order to transform wind direction in degrees into cardinal wind directions and their intermediate directions you will need to use the VLOOKUP function. In this case VLOOKUP is used to take a wind direction in degrees and return the cardinal wind direction that this fall under. For example 3 degrees would return “North”.

This requires that you have a database (known as a table_array) which is used as a reference table to return the correct wind direction. For example you may have a prevailing wind of 333 degrees, the VLOOKUP needs to be able to look this value up in the table_array (the index value), it will then take a corresponding cardinal wind direction on the same row as the index value and return it to the cell where you originally created the VLOOKUP function.

This means that your table_array in this case needs to contain every possible wind directions in degrees (0 – 360), and then next to each of the wind cardinal wind directions or intermediate points that should be returned.

Step by Step Process:

1. Create a table_array

The first thing you will neeDatabase exampled to do is create your database.This must list – in ascending order – each possible wind directions in degrees and the corresponding cardinal wind speed direction that this should be replaced by. See example:

2. Create a VLOOKUP Formula

Next you will need to arrange your wind speed data as shown below and and open the VLOOKUP function.

To open the VLOOKUP function click Insert Function on the Formulas tab, in the Insert Function window, search for  VLOOKUP, and then click OK.

3. Enter your Function Arguments


The value to search in the first column of your database. In the example given, the value that needs to be looked up and converted into a cardinal wind direction is contained within cell C3. (The VLOOKUP formula can be dragged down for the rest of the data once the formula has been created)


The range of cells that contains the data within the database that you have created.


The column number in the table_array  argument (your database) from which the matching value must be returned. For example you will col_index_num argument of 2 as the number you want to return is in the second column of your database table.

4. Creating Absolute References for your table_array

In order to be a able to drag the VLOOKUP so that it applies to all of your data,  you need to apply absolute references to your table_array.

Dollar signs need to be inserted the letter that refers to the row and the number that refers to the column in the Table see diagram xx

Once you set the absolute cell references for you VLOOKUP formula, click OK and drag this formula down over every row of your raw wind speed table.

5. WRE v1.4 + Data Sorter

Please be aware that the Data Sorter (free with WRE 1.4) will carry out all of the above automatically.