Thread: [Solved] IF Statement
View Single Post
 
Old 12-16-2015, 02:47 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Where are the two dates you want to compare stored? One is apparently in I3, but where is the other (or is it calculated from the value in I3)?

As for inserting a 0, simply change:
IF(F4>I3,H4,"")
to:
IF(F4>I3,H4,0)

Note: This is all very basic Excel stuff. I suggest you read a book on using Excel.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote