use AND as well
=IF(AND(A1=date1,A1<=date2),amount,"not within date range")
--
Regards,
Peo Sjoblom
(No private emails please)
"Kev270" wrote in message
...
Can the IF Logical formula be used with an argument that asks if a number
falls in a rang between 2 numbers. I am trying to create an A/R Aging
worksheet. I want to use a formula that asks if the age of the invoice
falls
between 31-60 days, if it does I want the dollar amount inserted in that
cell. Same for the other age ranges. I can use the IF formula only if I am
asking is a number or < than 1 number.
|