# Column: Total Volume Before Highest Price

This example creates a column that returns the total trading volume before the highest price occurs during regular trading hours.

To add this column, open an existing scan and follow the steps below. If you don’t have a scan yet, see this [article](https://help.edgetracker.com/advanced-scanner/readme) to create one first.

Add a new column by clicking on the new column icon as shown below.

<figure><img src="https://1155519678-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fon2dmGeVODO8QCgecDSI%2Fuploads%2FbSYDINfi6c5DQsnDZfAO%2Fnew_column_formula.png?alt=media&#x26;token=0eb345c1-1905-4e2b-8353-d91b8d0558c9" alt=""><figcaption></figcaption></figure>

Use the following formula and click "Add".

{% code overflow="wrap" %}

```
[INTRADAY_SUM_BEFORE_MAX(volume_unadj, price_high_unadj, 0, 9:30, 15:59, 1)]
```

{% endcode %}

<figure><img src="https://1155519678-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fon2dmGeVODO8QCgecDSI%2Fuploads%2FwglYgEfjMZ6vh99lRspf%2Fformula_column_vol_before_max.png?alt=media&#x26;token=9da8e5b6-2349-4c73-a0a3-2d03bc7194ef" alt=""><figcaption></figcaption></figure>
