Thread: Excel Question
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
ilia ilia is offline
external usenet poster
 
Posts: 256
Default Excel Question

On Nov 27, 9:06 am, Roxanne wrote:
I have an excel spreadsheet containing the following sells that are in
questions. I would like to input a formula that will calculate the DOM (Days
on Market) based on

1. Status = Active (Y)

2. If Active, Input Today's Date under the "Current Date" Column

I would only like to manually input the active and the list date cells.

Column T = Active

Column U = List Date

Column V = Current Date

Column W - DOM

ACTIVE

LIST DATE

CURRENT DATE

DOM

Y

10/24/07

N

09/01/07

Hopes this makes sense. What formula would I use in the current date section
for active = Yes and No to remain at the last calculated date? Is it
possible?


In Column V, starting on row 2 (adjust as necessary) use this:

=IF(LOWER(LEFT($T2))="y",TODAY(),0)

In Column W, starting on row 2 and adjust as necessary:

=IF($V2=0,0,$V2-$U2)