Thread: =If Function
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SteveG
 
Posts: n/a
Default =If Function


Calum,

This should work. A1 =A, B1=B and A4=D.

=IF(A1=B1,SUM(A4*0.2+20),IF(AND(A1<B1,A40),SUM(A 4*0.1+20),""))

Cheers,

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=490132