• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Formula required

@tul

New Member
Hi All,

I have a 6 different condition between 2 unique date.

Want to create a single formula which satified this all 6 condition.

Please help me out.
 

Attachments

  • Date Formulass.xlsx
    8.7 KB · Views: 4
C2, copy down :

=IF(OR(MOD(INT(A2),7)=1,MOD(A2,1)>19/24,(INT(A2+1)=INT(B2))*(MOD(INT(B2),1)<10/24),INT(A2)=INT(B2),MOD(A2,1)<10/24),INT(A2)+1.41666666666667,A2)

Regards
 
C2, copy down :

=IF(OR(MOD(INT(A2),7)=1,MOD(A2,1)>19/24,(INT(A2+1)=INT(B2))*(MOD(INT(B2),1)<10/24),INT(A2)=INT(B2),MOD(A2,1)<10/24),INT(A2)+1.41666666666667,A2)

Regards


Hi,

Thanks,

But I am attaching again a sheet in which still 3 condition is not matched which is highlighted by red color.
 

Attachments

  • Date Formulass.xlsx
    9.8 KB · Views: 6
Back
Top