I have data where the word "for" will appear in cells and if two numbers in the cell are the same, then I'd want to return the word "volume" and if the first number is bigger than the second, then I'd want to return the word "value"

To give a simple example, let's assume that

3 for 3 appeared in cell A1 and

5 for 4 appeared in cell A2.

I'd like a formula which returns the word "volume" in cell B1 (because the numbers 3 and 3 are the same in cell A1) BUT returns the word "value" in cell B2 (because 5 is greater than 4).

Does anyone know how to do this? I've pasted the sample data below:

3 for 3 | |

5 for 4 |

<colgroup><col style="width:48pt" width="64" span="2"> </colgroup><tbody>

</tbody>

Thanks in advance.