*Try this also:*
*
*
*Formula in A1 is =NOW()*
*
*
*Formula in A2 is*
*
*
*=IF(WEEKDAY(IF(WEEKDAY(A1,2)=6,A1+2+TIME(0,5,0),IF(WEEKDAY(A1,2)=7,A1+1+TIME(0,5,0),A1+TIME(0,5,0))),2)
= 6,
IF(WEEKDAY(A1,2)=6,A1+2+TIME(0,5,0),IF(WEEKDAY(A1,2)=7,A1+1+TIME(0,5,0),A1+TIME(0,5,0)))+2,IF(WEEKDAY(IF(WEEKDAY(A1,2)=6,A1+2+TIME(0,5,0),IF(WEEKDAY(A1,2)=7,A1+1+TIME(0,5,0),A1+TIME(0,5,0))),2)
=
7,IF(WEEKDAY(A1,2)=6,A1+2+TIME(0,5,0),IF(WEEKDAY(A1,2)=7,A1+1+TIME(0,5,0),A1+TIME(0,5,0)))+1,IF(WEEKDAY(A1,2)=6,A1+2+TIME(0,5,0),IF(WEEKDAY(A1,2)=7,A1+1+TIME(0,5,0),A1+TIME(0,5,0)))))
*

*Regards,*
*Lalit Mohan*



On Sun, Apr 29, 2012 at 11:19 AM, Maries <talk2mar...@gmail.com> wrote:

> Hi,
>
> Try it,
>
>
> =IF(AND(WEEKDAY(A1,1)=6,A1-INT(A1)>0.705),INT(A1)+3.41666667,IF(WEEKDAY(A1,1)=7,INT(A1)+2.41666667,IF(WEEKDAY(A1,1)=1,INT(A1)+1.41666667,IF(A1-INT(A1)>=0.705,INT(A1)+1.41666667,A1+0.003472222))))
>
> Regards,
>
> MARIES.
>
>
> On Sat, Apr 28, 2012 at 8:44 PM, vivek <vivek.j...@gmail.com> wrote:
>
>> I want to add time to a particular date and time by 5 minutes in every
>> subsequent cell. The time range should be between 10:00 AM to 5:00 PM. I.e.
>> after 5:00 PM the date should be changed to next day 10:00 AM. And the day
>> range will be Monday to Friday. i.e. if it’s a Saturday or Sunday it
>> should be changed to Monday. Is it possible by giving some formula.****
>>
>> ** **
>>
>> Sample****
>>
>> Monday 02/07/2012 10:05****
>>
>> Monday 02/07/2012 10:10****
>>
>> Monday 02/07/2012 10:15****
>>
>> Monday 02/07/2012 10:20****
>>
>> Monday 02/07/2012 10:25****
>>
>> Monday 02/07/2012 10:30****
>>
>> Monday 02/07/2012 10:35****
>>
>> Monday 02/07/2012 10:40****
>>
>> Monday 02/07/2012 10:45****
>>
>> ** **
>>
>> ** **
>>
>> Thanks & Regards...****
>>
>> CA Vivek Jain, FCA, DISA (ICAI)****
>>
>> Vivek Shantilal Jain & Co.****
>>
>> Chartered Accountants****
>>
>> 3010 Ram Kumar Arcade,****
>>
>> Chatribari Road, A T Road,****
>>
>> Guwahati-781001****
>>
>> 0361-2603895,9435019908****
>>
>> [image: save earth]****
>>
>> ** **
>>
>> --
>> FORUM RULES (986+ members already BANNED for violation)
>>
>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>> will not get quick attention or may not be answered.
>>
>> 2) Don't post a question in the thread of another member.
>>
>> 3) Don't post questions regarding breaking or bypassing any security
>> measure.
>>
>> 4) Acknowledge the responses you receive, good or bad.
>>
>> 5) Cross-promotion of, or links to, forums competitive to this forum in
>> signatures are prohibited.
>>
>> NOTE : Don't ever post personal or confidential data in a workbook. Forum
>> owners and members are not responsible for any loss.
>>
>>
>> ------------------------------------------------------------------------------------------------------
>> To post to this group, send email to excel-macros@googlegroups.com
>>
>
>  --
> FORUM RULES (986+ members already BANNED for violation)
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
>
> 2) Don't post a question in the thread of another member.
>
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
>
> 4) Acknowledge the responses you receive, good or bad.
>
> 5) Cross-promotion of, or links to, forums competitive to this forum in
> signatures are prohibited.
>
> NOTE : Don't ever post personal or confidential data in a workbook. Forum
> owners and members are not responsible for any loss.
>
>
> ------------------------------------------------------------------------------------------------------
> To post to this group, send email to excel-macros@googlegroups.com
>

-- 
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

------------------------------------------------------------------------------------------------------
To post to this group, send email to excel-macros@googlegroups.com

<<image001.jpg>>

Reply via email to