Prev Previous Post   Next Post Next
  #11   Report Post  
xgunda420x
 
Posts: n/a
Default


PokerZan Wrote:
Ok, I think I have this figured out.

You will need a help column for each date "gap" you are looking to
measure. The first one will be (based on your example) in column K
starting with cell K2. Here is the formula for you.

=IF((C2-D2)1,"GAP",IF((C2-D2)<1,"OVERLAP",""))

This will put "GAP" where there is a gap of more than one day between
the "T1 Valid to" and the "T2 Valid From" fields, as well as return an
"OVERLAP" if the difference in days between the two dates are less than
1 day.

Just copy this column down the page and it should tell you where and
how you need to fix the data.

In Column L you would just change the "(C2-D2)" to "(E2-F2)".

Hope this helps.

PZan



Is there anyway we could use one formula and get the same info for T1,
T2, T3, T4? I tried above formula, which is good.

Thank you so much.


--
xgunda420x
------------------------------------------------------------------------
xgunda420x's Profile: http://www.excelforum.com/member.php...o&userid=25559
View this thread: http://www.excelforum.com/showthread...hreadid=389953

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
referencing named formula using INDIRECT function [email protected] Excel Worksheet Functions 19 May 11th 05 09:48 AM
Simplify formula Luke Excel Worksheet Functions 37 May 6th 05 07:21 AM
put formula results into a different cell if it is empty PutFormula Excel Worksheet Functions 2 February 11th 05 03:31 AM
how do i write a formula and keep in in formula form, so it DOESN. norcalchick2207 Excel Discussion (Misc queries) 2 February 4th 05 08:38 PM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


All times are GMT +1. The time now is 12:27 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"