View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
JasonP CCTM LV[_2_] JasonP CCTM LV[_2_] is offline
external usenet poster
 
Posts: 36
Default conditional formulas

=if(I12N12,J12=(N12-D12),J12=(I12-D12))

"Danno" wrote:

Anyone know how to write a formula for this?

IF(I12N12) then J12=(N12-D12) but if(I12<N12) then J12=(I12-D12)

where I12 is derived from another formula (=SUMC12+M12) and C12, M12 and N12
are simply input numbers.