Thread: If statement
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Toppers Toppers is offline
external usenet poster
 
Posts: 4,339
Default If statement

Assuming data is in columns A, B and C then in (for example) column D:

=if(A2<C2+B2,"Attention","")

Using your figures (assuming US date format) I calculate first payment is
12/09/2006 i.e 9th December 2006 i.e. 180 days from 12th June 2006.

Or have I misunderstood?

"rojobrown" wrote:

Is there a formula that can calculate if an incorrect date is keyed into a
cell?

Example
This is what was keyed

First Payment Days to Maturity Note Date
10/10/2006 180 06/12/2006

They should have placed 01/10/2007 in the field "First Payment". I have a
data table set up on a seperate sheet with the Days to maturity. I'm using
the VLOOKUP to reference this table for all other worksheets.

I would like to add an additional column that says "Attention" if the date
they key in First Payment is not equal to days to maturity from the note
date? I'll be glad to send the file to someone if that would help. I'm not
very good at explaining this kind of thing.

-- Thanks a bunch!
rojobrown