Report

Comparing dates in multiple columns and using one that matches [Solved/Closed]

Ask a question Stovvy 1Posts Friday October 7, 2016Registration date October 7, 2016 Last seen - Last answered on Oct 7, 2016 at 01:16 PM by Stovvy
Hello,

I have a table with multiple columns of date values and need to check whether a date in a certain column is less than that date and dependent on this then check against the next column and so on for up to 5 dates. When it finds an answer to match it will calculate a difference in days. Please see example below

Helpful
+1
plus moins
Stovvy, Good afternoon.

Suppose:

A2 --> START DATE
G2 --> STOP DATE

H2 --> =(G2-MAX(A2:F2)) & " days"
Copy it down.

Is this what you want?
I hope it helps.
--
Belo Horizonte, Brasil.
Marcílio Lobão
Was this answer helpful?  
Stovvy- Oct 7, 2016 at 01:16 PM
So simple! And the perfect answer.
Many thanks

Member requests are more likely to be responded to.

Members can monitor the statuses of their requests from their account pages.

A CCM membership gives you access to additional options.

Not a member yet?

Sign up now. It takes less than a minute and is completely free!