Re: $$Excel-Macros$$ Sum downtime for equipment with overlap periods

2014-11-26 Thread son nguyen
Dear Ganesh

Thank for your advise but i found out there are some mistake in your
formula.Please you refer enclosed file and I hope you might give new
solution.

Son

2014-11-26 13:26 GMT+07:00 Ganesh N ganeshg...@gmail.com:

 Dear son nguyen,

 PFA

 Regards,
 Ganesh N

 On Wed, Nov 26, 2014 at 10:03 AM, Ganesh N ganeshg...@gmail.com wrote:

 Dear son nguyen,

 Before putting the my formula just have sort in start time.

 Regards,
 Ganesh N

 On Wed, Nov 26, 2014 at 10:01 AM, Ganesh N ganeshg...@gmail.com wrote:

 Dear son nguyen,

 Try this formula... Let me know if you have any concern.

 Thanks  Regards,
 Ganesh N

 On Tue, Nov 25, 2014 at 7:07 PM, Paul Schreiner schreiner_p...@att.net
 wrote:

 Can you send me a sample file?

 Otherwise, I'll probably spend far too much time trying to recreate
 something that doesn't apply to your situation.

 *Paul*
 -







 *“Do all the good you can,By all the means you can,In all the ways you
 can,In all the places you can,At all the times you can,To all the people
 you can,As long as ever you can.” - John Wesley*
 -

*From:* son nguyen sonnguye...@gmail.com
 *To:* excel-macros@googlegroups.com
 *Sent:* Monday, November 24, 2014 11:22 PM
 *Subject:* Re: $$Excel-Macros$$ Sum downtime for equipment with
 overlap periods

 Mr Paul,

 Thank for your consider.Let me explain more :
 There are lots of parts within machine so i would like to list detail
 of their working stop time ,however when calculating downtime i only
 calculate actual stop time and eliminate overlap time.

 Son

 2014-11-24 20:47 GMT+07:00 Paul Schreiner schreiner_p...@att.net:


 What do these times represent?
 Why would the equipment be recorded as down 9:00-12:00 AND 10:00-11:30?

 Is there a minimum recording increment?
 as in: 5 minute minimum or is it (1) minute increments?

 I'm considering setting up an array of increments for 24 hours and
 flagging the increment to avoid duplications.
 But would prefer NOT to have 1440 increments (24 hrs * 60min/hr)


 *Paul*
 -







 *“Do all the good you can,By all the means you can,In all the ways you
 can,In all the places you can,At all the times you can,To all the people
 you can,As long as ever you can.” - John Wesley*
 -

*From:* son nguyen sonnguye...@gmail.com
 *To:* excel-macros@googlegroups.com
 *Sent:* Saturday, November 22, 2014 11:55 PM
 *Subject:* $$Excel-Macros$$ Sum downtime for equipment with overlap
 periods

 Dear all,
 I have problem when calculate total equipment downtime as there are
 overlap periods.
 For example :
 start time   Finish time
 8:00   8:20
 9:00   12:00
 10:00  11:30
 ...  
 start time,finish time are flexible.
 all of you might give me formula to total hours but exclude overlap.

 --
 Best Regards
 Son
  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 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) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners
 and members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google
 Groups MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/d/optout.


   --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 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) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners

Re: $$Excel-Macros$$ Sum downtime for equipment with overlap periods

2014-11-25 Thread son nguyen
Hi Paul,

I'm sorry as my past explain isn't clear for you.Please see enclosed file
and hope that i'll receive excellent solution of all of you.

Thanks a lot

Son

2014-11-25 20:37 GMT+07:00 Paul Schreiner schreiner_p...@att.net:

 Can you send me a sample file?

 Otherwise, I'll probably spend far too much time trying to recreate
 something that doesn't apply to your situation.

 *Paul*
 -







 *“Do all the good you can,By all the means you can,In all the ways you
 can,In all the places you can,At all the times you can,To all the people
 you can,As long as ever you can.” - John Wesley*
 -

*From:* son nguyen sonnguye...@gmail.com
 *To:* excel-macros@googlegroups.com
 *Sent:* Monday, November 24, 2014 11:22 PM
 *Subject:* Re: $$Excel-Macros$$ Sum downtime for equipment with overlap
 periods

 Mr Paul,

 Thank for your consider.Let me explain more :
 There are lots of parts within machine so i would like to list detail of
 their working stop time ,however when calculating downtime i only calculate
 actual stop time and eliminate overlap time.

 Son

 2014-11-24 20:47 GMT+07:00 Paul Schreiner schreiner_p...@att.net:


 What do these times represent?
 Why would the equipment be recorded as down 9:00-12:00 AND 10:00-11:30?

 Is there a minimum recording increment?
 as in: 5 minute minimum or is it (1) minute increments?

 I'm considering setting up an array of increments for 24 hours and
 flagging the increment to avoid duplications.
 But would prefer NOT to have 1440 increments (24 hrs * 60min/hr)


 *Paul*
 -







 *“Do all the good you can,By all the means you can,In all the ways you
 can,In all the places you can,At all the times you can,To all the people
 you can,As long as ever you can.” - John Wesley*
 -

*From:* son nguyen sonnguye...@gmail.com
 *To:* excel-macros@googlegroups.com
 *Sent:* Saturday, November 22, 2014 11:55 PM
 *Subject:* $$Excel-Macros$$ Sum downtime for equipment with overlap
 periods

 Dear all,
 I have problem when calculate total equipment downtime as there are
 overlap periods.
 For example :
 start time   Finish time
 8:00   8:20
 9:00   12:00
 10:00  11:30
 ...  
 start time,finish time are flexible.
 all of you might give me formula to total hours but exclude overlap.

 --
 Best Regards
 Son
  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 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) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/d/optout.


   --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 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) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/d/optout

Re: $$Excel-Macros$$ Sum downtime for equipment with overlap periods

2014-11-24 Thread son nguyen
Mr Paul,

Thank for your consider.Let me explain more :
There are lots of parts within machine so i would like to list detail of
their working stop time ,however when calculating downtime i only calculate
actual stop time and eliminate overlap time.

Son

2014-11-24 20:47 GMT+07:00 Paul Schreiner schreiner_p...@att.net:

 What do these times represent?
 Why would the equipment be recorded as down 9:00-12:00 AND 10:00-11:30?

 Is there a minimum recording increment?
 as in: 5 minute minimum or is it (1) minute increments?

 I'm considering setting up an array of increments for 24 hours and
 flagging the increment to avoid duplications.
 But would prefer NOT to have 1440 increments (24 hrs * 60min/hr)


 *Paul*
 -







 *“Do all the good you can,By all the means you can,In all the ways you
 can,In all the places you can,At all the times you can,To all the people
 you can,As long as ever you can.” - John Wesley*
 -

*From:* son nguyen sonnguye...@gmail.com
 *To:* excel-macros@googlegroups.com
 *Sent:* Saturday, November 22, 2014 11:55 PM
 *Subject:* $$Excel-Macros$$ Sum downtime for equipment with overlap
 periods

 Dear all,
 I have problem when calculate total equipment downtime as there are
 overlap periods.
 For example :
 start time   Finish time
 8:00   8:20
 9:00   12:00
 10:00  11:30
 ...  
 start time,finish time are flexible.
 all of you might give me formula to total hours but exclude overlap.

 --
 Best Regards
 Son
  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 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) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/d/optout.


--
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 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) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/d/optout.




-- 
Best Regards
Son

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

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) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google

$$Excel-Macros$$ Sum downtime for equipment with overlap periods

2014-11-22 Thread son nguyen
Dear all,

I have problem when calculate total equipment downtime as there are overlap
periods.
For example :
start time   Finish time
8:00   8:20
9:00   12:00
10:00  11:30
...  
start time,finish time are flexible.
all of you might give me formula to total hours but exclude overlap.

-- 
Best Regards
Son

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

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) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Calculating working hours between 2 days with break time

2014-08-17 Thread son nguyen
Dear Mr Joshi

Thank for your help ,but it isn't to meet my requirement because I only
exclude sunday not weekend.You could give me a other solution.

Thanks a lot.
Son


2014-08-16 23:28 GMT+07:00 Vaibhav Joshi v...@vabs.in:

 Hi

 Check cell in green with formula to calculate net working hours, put
 holiday in cell J so it will exclude 8 hours from total worked hours.

 Cheers!!


 On Wed, Aug 13, 2014 at 1:57 PM, son nguyen sonnguye...@gmail.com wrote:

 Dear Expert.

 I faced on problem while calculating working hours between 2 time (maybe
 there is diff. day).Detail as below :

 A1 : Begin time.
 B1 : Finish time
 C1: Begin time day : 8 AM
 D1 : Finish time day : 4:30 PM
 E1:Begin break time
 F1:Finish break time

 How to use any formula within excel -2003 to get result.

 --
 Best Regards
 Son

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 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) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/d/optout.


  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 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) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/d/optout.




-- 
Best Regards
Son

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

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) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Calculating working hours between 2 days with break time

2014-08-15 Thread son nguyen
Dear Mr Joshi.

Thank for your consider.Enclosed is file to you reference.

Best regards
Son


2014-08-13 16:05 GMT+07:00 Vaibhav Joshi v...@vabs.in:

 hi

 can you share a sample data in excel sheet.

 Thanks


 On Wed, Aug 13, 2014 at 1:57 PM, son nguyen sonnguye...@gmail.com wrote:

 Dear Expert.

 I faced on problem while calculating working hours between 2 time (maybe
 there is diff. day).Detail as below :

 A1 : Begin time.
 B1 : Finish time
 C1: Begin time day : 8 AM
 D1 : Finish time day : 4:30 PM
 E1:Begin break time
 F1:Finish break time

 How to use any formula within excel -2003 to get result.

 --
 Best Regards
 Son

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 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) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/d/optout.


  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 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) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/d/optout.




-- 
Best Regards
Son

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

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) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


WorkingTime.xls
Description: MS-Excel spreadsheet


$$Excel-Macros$$ Calculating working hours between 2 days with break time

2014-08-13 Thread son nguyen
Dear Expert.

I faced on problem while calculating working hours between 2 time (maybe
there is diff. day).Detail as below :

A1 : Begin time.
B1 : Finish time
C1: Begin time day : 8 AM
D1 : Finish time day : 4:30 PM
E1:Begin break time
F1:Finish break time

How to use any formula within excel -2003 to get result.

-- 
Best Regards
Son

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

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) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


$$Excel-Macros$$ Excel dashboards

2012-11-06 Thread son nguyen
Dear all,

I just read article of report by excel dashbordas and like them but I can't
get more its information.Could anyone help me as doccument,examples 

Look forward to hear from all of you

Best Regards
Son

-- 
Join official facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES (1120+ 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. 

6) Jobs posting is not allowed.

7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.




Re: $$Excel-Macros$$ Excel dashboards

2012-11-06 Thread son nguyen
Thank  Mr NOORAIN very much.


Regards
Son

2012/11/7 NOORAIN ANSARI noorain.ans...@gmail.com

 You can also visit

 *chandoo*.*org*/wp/excel-*dashboards*/
 www.*excel*charts.com/blog/how-to-create-an-*excel*-*dashboard

 *

 On Wed, Nov 7, 2012 at 9:52 AM, son nguyen sonnguye...@gmail.com wrote:

 Dear all,

 I just read article of report by excel dashbordas and like them but I
 can't get more its information.Could anyone help me as doccument,examples
 

 Look forward to hear from all of you

 Best Regards
 Son

  --
 Join official facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES (1120+ 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.

 6) Jobs posting is not allowed.

 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.

 NOTE : Don't ever post personal or confidential data in a workbook. Forum
 owners and members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To post to this group, send email to excel-macros@googlegroups.com.
 To unsubscribe from this group, send email to
 excel-macros+unsubscr...@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.






 --
 With Regards,
 Noorain Ansari
 http:// 
 http://www.noorainansari.comnoorainansari.comhttp://www.noorainansari.com
 http:// 
 http://www.excelvbaclinic.blogspot.comexcelvbaclinic.comhttp://www.excelvbaclinic.blogspot.comhttp://accesssqclinic.blogspot.in/


  --
 Join official facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES (1120+ 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.

 6) Jobs posting is not allowed.

 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.

 NOTE : Don't ever post personal or confidential data in a workbook. Forum
 owners and members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To post to this group, send email to excel-macros@googlegroups.com.
 To unsubscribe from this group, send email to
 excel-macros+unsubscr...@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.






-- 
Best Regards
Son

-- 
Join official facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES (1120+ 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. 

6) Jobs posting is not allowed.

7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.




Re: $$Excel-Macros$$ MACRO

2012-05-31 Thread son nguyen
Dear Mr Ansari

Please send it to me .
(My email : sonnguye...@gmail.com)


Thanks a lot
Son
2012/5/31 NOORAIN ANSARI noorain.ans...@gmail.com

 Dear Tarun,

 I have send Excel macro Ebook.

 Pls check


 On Thu, May 31, 2012 at 2:57 PM, Tarun Mondal 
 tarunmondal1...@gmail.comwrote:


 Sir ,
 Please sir send the ebook to my email id also...my email id is ---
 systemassistant2...@gmail.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

 To unsubscribe, send a blank email to
 excel-macros+unsubscr...@googlegroups.com




 --
 Thanks  regards,
 Noorain Ansari
 www.noorainansari.com
 www.excelmacroworld.blogspot.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

 To unsubscribe, send a blank email to
 excel-macros+unsubscr...@googlegroups.com




-- 
Best Regards
Son

-- 
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

To unsubscribe, send a blank email to excel-macros+unsubscr...@googlegroups.com

Re: $$Excel-Macros$$ Help me with a macro

2011-11-29 Thread son nguyen
Hello Mr Sam,

Thank you very much of your help.


Regards
Son

2011/11/28 Sam Mathai Chacko samde...@gmail.com

 Great, so no modifications required for Excel 2010

 The code below works for both 2003 and 2010


 Sub Consolidator()

 Dim rngStart As Range
 Dim varArray As Range


 Application.ScreenUpdating = 0
 Range(F1).CurrentRegion.Clear
 With Cells.Find(What:=Machine, Lookat:=xlWhole,
 searchDirection:=xlNext, After:=Cells(1))
 Set rngStart = Range(.Offset(1), .Offset(, 1).End(xlDown).Offset(, -1))
 End With
 On Error Resume Next
 rngStart.SpecialCells(xlCellTypeBlanks).FormulaR1C1 = =r[-1]c
 Err.Clear: On Error GoTo -1: On Error GoTo 0
 With Range(F1)
 .Resize(rngStart.Rows.Count + 1, 2).Value =
 rngStart(0).Resize(rngStart.Rows.Count + 1, 2).Value
 If Val(Application.Version) = 11 Then
 .CurrentRegion.AdvancedFilter Action:=xlFilterInPlace,
 Unique:=True
 .CurrentRegion.SpecialCells(xlCellTypeVisible).Copy
 rngStart.Offset(rngStart.Rows.Count + 1)(1)
 .AutoFilter: .Parent.AutoFilterMode = 0
 .CurrentRegion.Clear
 With rngStart.Offset(rngStart.Rows.Count + 1)(1).CurrentRegion
 .Copy Range(F1): .ClearContents
 End With
 Else

 .CurrentRegion.RemoveDuplicates Columns:=Array(1, 2),
 Header:=xlYes
 End If

 .Offset(, 2).Resize(1, 2).Value = rngStart(0).Offset(,
 2).Resize(1, 2).Value
 With .Offset(1, 2).Resize(.CurrentRegion.Rows.Count - 1, 2)
 .Formula = =SUMPRODUCT(--(  rngStart.Address  =$F2),--(
  rngStart.Offset(, 1).Address  =$G2),  rngStart.Offset(, 2).Address(1,
 0)  )
 .Value = .Value
 End With
 End With
 On Error Resume Next
 rngStart.SpecialCells(xlCellTypeFormulas).ClearContents
 Err.Clear: On Error GoTo -1: On Error GoTo 0
 Application.ScreenUpdating = 1

 End Sub

 Regards,
 Sam Mathai Chacko

   On Mon, Nov 28, 2011 at 6:33 PM, Bé Trần Văn 
 betnmtdongna...@gmail.comwrote:



  2011/11/28 Sam Mathai Chacko samde...@gmail.com

 Son, the macro is written for 2007-10. Will send a modified version,
 but before that, can you confirm the result is correct in 2007-10? If
 not, what is the issue?

 Sam

 On 28/11/2011, son nguyen sonnguye...@gmail.com wrote:
  Hi Mr Sam.
  I wonder this code used for which office as 2003,2007,2010.Because my
  office is 2003 and result  is not to like my desirement.
 
  Hope that you can feed back more to me
 
  Regards
  son
 
  2011/11/27 Sam Mathai Chacko samde...@gmail.com
 
  Here's a macro to get this done
 
  Sub Consolidator()
 
  Dim rngStart As Range
 
  Application.ScreenUpdating = 0
  Range(F1).CurrentRegion.Clear
  With Cells.Find(What:=Machine, Lookat:=xlWhole,
  searchDirection:=xlNext, After:=Cells(1))
  Set rngStart = Range(.Offset(1), .Offset(, 1).End(xlDown).Offset(,
  -1))
  End With
  On Error Resume Next
  rngStart.SpecialCells(xlCellTypeBlanks).FormulaR1C1 = =r[-1]c
  Err.Clear: On Error GoTo -1: On Error GoTo 0
  With Range(F1)
  .Resize(rngStart.Rows.Count + 1, 2).Value =
  rngStart(0).Resize(rngStart.Rows.Count + 1, 2).Value
  .CurrentRegion.RemoveDuplicates Columns:=Array(1, 2),
  Header:=xlYes
  .Offset(, 2).Resize(1, 2).Value = rngStart(0).Offset(,
  2).Resize(1, 2).Value
  With .Offset(1, 2).Resize(.CurrentRegion.Rows.Count - 1, 2)
  .Formula = =SUMPRODUCT(--(  rngStart.Address 
 =$F2),--(
   rngStart.Offset(, 1).Address  =$G2),  rngStart.Offset(,
  2).Address(1,
  0)  )
  .Value = .Value
  End With
  End With
  On Error Resume Next
  rngStart.SpecialCells(xlCellTypeFormulas).ClearContents
  Err.Clear: On Error GoTo -1: On Error GoTo 0
  Application.ScreenUpdating = 1
 
  End Sub
 
  Regards,
 
  Sam Mathai Chacko
 
 
  On Sun, Nov 27, 2011 at 6:40 PM, rajan verma
  rajanverma1...@gmail.comwrote:
 
   Hi
  Please see the attached file.. Pivot table can be used for this ..
 
  Regards
  Rajan
 
   On Sat, Nov 26, 2011 at 8:23 PM, son nguyen
  sonnguye...@gmail.comwrote:
 
  Dear all,
 
 
  I have problem of calculating sheet.Detail as sheet attached.
  I want to have a macro to sum value within qty, and downtime column
 then
  delete products are duplicated within each machine.
 
  I look foward to hear your help asap
 
 
  Best Regards
  Son
 
  --
  FORUM RULES (934+ 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

Re: $$Excel-Macros$$ Help me with a macro

2011-11-28 Thread son nguyen
Hi Rajan,

Thank you very much but i like macro better because it is really fast.As
you known my sheet is large with lots of rows.

Hope that  your experience'll help everyone .

Regards
Son

2011/11/27 rajan verma rajanverma1...@gmail.com

  Hi
 Please see the attached file.. Pivot table can be used for this ..

 Regards
 Rajan

  On Sat, Nov 26, 2011 at 8:23 PM, son nguyen sonnguye...@gmail.comwrote:

 Dear all,


 I have problem of calculating sheet.Detail as sheet attached.
 I want to have a macro to sum value within qty, and downtime column then
 delete products are duplicated within each machine.

 I look foward to hear your help asap


 Best Regards
 Son

 --
 FORUM RULES (934+ 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




 --
 Regards
 Rajan verma
 +91 9158998701

 --
 FORUM RULES (934+ 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




-- 
Best Regards
Son

-- 
FORUM RULES (934+ 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


Re: $$Excel-Macros$$ Help me with a macro

2011-11-28 Thread son nguyen
Hi Mr Sam.
I wonder this code used for which office as 2003,2007,2010.Because my
office is 2003 and result  is not to like my desirement.

Hope that you can feed back more to me

Regards
son

2011/11/27 Sam Mathai Chacko samde...@gmail.com

 Here's a macro to get this done

 Sub Consolidator()

 Dim rngStart As Range

 Application.ScreenUpdating = 0
 Range(F1).CurrentRegion.Clear
 With Cells.Find(What:=Machine, Lookat:=xlWhole,
 searchDirection:=xlNext, After:=Cells(1))
 Set rngStart = Range(.Offset(1), .Offset(, 1).End(xlDown).Offset(, -1))
 End With
 On Error Resume Next
 rngStart.SpecialCells(xlCellTypeBlanks).FormulaR1C1 = =r[-1]c
 Err.Clear: On Error GoTo -1: On Error GoTo 0
 With Range(F1)
 .Resize(rngStart.Rows.Count + 1, 2).Value =
 rngStart(0).Resize(rngStart.Rows.Count + 1, 2).Value
 .CurrentRegion.RemoveDuplicates Columns:=Array(1, 2), Header:=xlYes
 .Offset(, 2).Resize(1, 2).Value = rngStart(0).Offset(,
 2).Resize(1, 2).Value
 With .Offset(1, 2).Resize(.CurrentRegion.Rows.Count - 1, 2)
 .Formula = =SUMPRODUCT(--(  rngStart.Address  =$F2),--(
  rngStart.Offset(, 1).Address  =$G2),  rngStart.Offset(, 2).Address(1,
 0)  )
 .Value = .Value
 End With
 End With
 On Error Resume Next
 rngStart.SpecialCells(xlCellTypeFormulas).ClearContents
 Err.Clear: On Error GoTo -1: On Error GoTo 0
 Application.ScreenUpdating = 1

 End Sub

 Regards,

 Sam Mathai Chacko


 On Sun, Nov 27, 2011 at 6:40 PM, rajan verma rajanverma1...@gmail.comwrote:

  Hi
 Please see the attached file.. Pivot table can be used for this ..

 Regards
 Rajan

  On Sat, Nov 26, 2011 at 8:23 PM, son nguyen sonnguye...@gmail.comwrote:

 Dear all,


 I have problem of calculating sheet.Detail as sheet attached.
 I want to have a macro to sum value within qty, and downtime column then
 delete products are duplicated within each machine.

 I look foward to hear your help asap


 Best Regards
 Son

 --
 FORUM RULES (934+ 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




 --
 Regards
 Rajan verma
 +91 9158998701

 --
 FORUM RULES (934+ 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




 --
 Sam Mathai Chacko

 --
 FORUM RULES (934+ 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




-- 
Best Regards
Son

-- 
FORUM RULES (934+ 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

Re: $$Excel-Macros$$ Help me with a macro

2011-11-28 Thread son nguyen
Hi Sam
 I tried on office 2010 ,result is ok.Could you send me a modified version
2003 and explain for me a bit of this code as i am a beginer of VB.

Thanks a lot
Son

2011/11/28 Sam Mathai Chacko samde...@gmail.com

 Son, the macro is written for 2007-10. Will send a modified version,
 but before that, can you confirm the result is correct in 2007-10? If
 not, what is the issue?

 Sam

 On 28/11/2011, son nguyen sonnguye...@gmail.com wrote:
  Hi Mr Sam.
  I wonder this code used for which office as 2003,2007,2010.Because my
  office is 2003 and result  is not to like my desirement.
 
  Hope that you can feed back more to me
 
  Regards
  son
 
  2011/11/27 Sam Mathai Chacko samde...@gmail.com
 
  Here's a macro to get this done
 
  Sub Consolidator()
 
  Dim rngStart As Range
 
  Application.ScreenUpdating = 0
  Range(F1).CurrentRegion.Clear
  With Cells.Find(What:=Machine, Lookat:=xlWhole,
  searchDirection:=xlNext, After:=Cells(1))
  Set rngStart = Range(.Offset(1), .Offset(, 1).End(xlDown).Offset(,
  -1))
  End With
  On Error Resume Next
  rngStart.SpecialCells(xlCellTypeBlanks).FormulaR1C1 = =r[-1]c
  Err.Clear: On Error GoTo -1: On Error GoTo 0
  With Range(F1)
  .Resize(rngStart.Rows.Count + 1, 2).Value =
  rngStart(0).Resize(rngStart.Rows.Count + 1, 2).Value
  .CurrentRegion.RemoveDuplicates Columns:=Array(1, 2),
  Header:=xlYes
  .Offset(, 2).Resize(1, 2).Value = rngStart(0).Offset(,
  2).Resize(1, 2).Value
  With .Offset(1, 2).Resize(.CurrentRegion.Rows.Count - 1, 2)
  .Formula = =SUMPRODUCT(--(  rngStart.Address 
 =$F2),--(
   rngStart.Offset(, 1).Address  =$G2),  rngStart.Offset(,
  2).Address(1,
  0)  )
  .Value = .Value
  End With
  End With
  On Error Resume Next
  rngStart.SpecialCells(xlCellTypeFormulas).ClearContents
  Err.Clear: On Error GoTo -1: On Error GoTo 0
  Application.ScreenUpdating = 1
 
  End Sub
 
  Regards,
 
  Sam Mathai Chacko
 
 
  On Sun, Nov 27, 2011 at 6:40 PM, rajan verma
  rajanverma1...@gmail.comwrote:
 
   Hi
  Please see the attached file.. Pivot table can be used for this ..
 
  Regards
  Rajan
 
   On Sat, Nov 26, 2011 at 8:23 PM, son nguyen
  sonnguye...@gmail.comwrote:
 
  Dear all,
 
 
  I have problem of calculating sheet.Detail as sheet attached.
  I want to have a macro to sum value within qty, and downtime column
 then
  delete products are duplicated within each machine.
 
  I look foward to hear your help asap
 
 
  Best Regards
  Son
 
  --
  FORUM RULES (934+ 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
 
 
 
 
  --
  Regards
  Rajan verma
  +91 9158998701
 
  --
  FORUM RULES (934+ 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
 
 
 
 
  --
  Sam Mathai Chacko
 
  --
  FORUM RULES (934+ 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

$$Excel-Macros$$ Help me with a macro

2011-11-27 Thread son nguyen
Dear all,


I have problem of calculating sheet.Detail as sheet attached.
I want to have a macro to sum value within qty, and downtime column then
delete products are duplicated within each machine.

I look foward to hear your help asap


Best Regards
Son

-- 
FORUM RULES (934+ 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


example.xlsx
Description: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet