Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I’m trying to create an equation that finds the difference between two dates. There are four columns: date, name, text1, text2; they are filtered by date, oldest to newest. I need to find out if name equals text2, then what is the date; then I need to search for the next time that name appears in the column and equals text1, and tell me that date. Then I want to know the difference in those two dates.
Here’s an example: 10/12/2011 Bill C PC 10/20/2011 Jane C NA 12/22/2011 Jane A NA 02/10/2012 Bill A NA So, if row 1 contains Bill’s name in column 2 and PC in column 4, what is the date in column one? Then find the next row that contains Bill’s name and the letter A in column 3, find the date in that row, and give the difference between the two. Ideally it would return the difference as the number of days, so this would return 121. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Getting rid of +/- in date subtraction.. | Excel Worksheet Functions | |||
Date Subtraction | Excel Worksheet Functions | |||
date subtraction | Excel Worksheet Functions | |||
Date subtraction -How to not show negative when 2nd date not entered | New Users to Excel | |||
date subtraction | Excel Programming |