View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Muhammed Rafeek M Muhammed Rafeek M is offline
external usenet poster
 
Posts: 179
Default Compare two values

use IF function

Eg: Cell A1: 25, Cell B1: 30
Cell C1: =IF(A1B1,A1+10,B1+10)

Please do rate
Thanks in advance

"Graham" wrote:

Hi, I need to compare two values (in adjacent cells), and select the higher
of the two to perform an additional function on ?
Many Thanks Graham