# CHANGE: Change in value

Use the CHANGE formula function in a situation to compare the change between the value of the current data sample and the previous sample.

- Change in value
- The CHANGE function takes the amount of change between the sampled value of the attribute and the previous value, then compares it with the value you enter here. If the result meets the comparison, the situation is true. Valid values are numeric integers.
- Example
- In the following example, the situation becomes true if the Virtual
Bytes have increased by at least 100 bytes since the last data sampling.
During the first monitor iteration the value of Virtual Bytes is 200
and during the second iteration the value is 500, which is an increase
of 300 between samples, thus the situation is true.
`CHANGE (Virtual Bytes) >= 100`

- Restrictions
- You can have only one CHANGE function in a situation.
- Hexadecimal numbers
- When entering a hexadecimal value in a cell, prefix the number with zero and the letter “x”, as in 0x123ab for hex value 123ab.