VLOOKUP & IF together

Hi
I want to get some figures from sheet1 to sheet2 using VLOOKUP. (I am ok with this). Then if this figure is less than 25, I want to print "25" in the cell (in sheet 2)and if it is over 25 then the same figure. How can I do this in sheet 2 on the values I get from sheet 1.
Tks/ulsk

Almir's picture

Nest VLOOKUP within IF

=IF(Your_VLOOKUP_formula < 25,25,Your_VLOOKUP_formula)

Thanks a lot. It works.

Thanks a lot. It works.

Almir's picture

Glad being able to help you.

Glad being able to help you.