Re: $$Excel-Macros$$ combined formula required.

2013-09-09 Thread xlstime
still not clear

what is a exact condition for RED,BLUE and yellow

for example

5000-5500 RED
5500-600 GREEN




.

Enjoy
Team XLS



On Sun, Sep 8, 2013 at 5:30 PM, Kenil Gala keni...@yahoo.com wrote:

 Hope this helps,

 Thanks in Adv.

   --
  *From:* xlstime xlst...@gmail.com
 *To:* excel-macros@googlegroups.com
 *Sent:* Sunday, September 8, 2013 3:47 PM
 *Subject:* Re: $$Excel-Macros$$ combined formula required.

 can u please share full condition

 .

 Enjoy
 Team XLS

 On Sun, Sep 8, 2013 at 1:48 PM, Kenil Gala keni...@yahoo.com wrote:

 Hi group,

 I want a combination of IF and AND formula, or any other other
 suitable formula for inserting some indicators between fixed set of values.

 Pls find the file attached.

 Thanks  Regards,
 --

   --
 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/groups/opt_out.


-- 
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/groups/opt_out.


$$Excel-Macros$$ HELP WITH FALSE RESULT IN EXCEL

2013-09-09 Thread Angel Araneta


why do i get a FALSE result with this formula in cell G2?

cell G2 has the formula:
=IF(AND(F2=TIMEVALUE(0:50:00),F2TIMEVALUE(0:30:00)),RV,IF(AND(F2=TIMEVALUE(1:00:00),F2TIMEVALUE(0:51:00)),IE,IF(F2=TIMEVALUE(0:00:00),MV)))


value of cell D2 is 11:30 AM
value of cell E2 is 12:20 PM
cell F2 has the formula:
=E2-D2 and gives me an answer of 0:50:00, however, in cell G2, instead of 
giving me a result of RV it shows FALSE instead.. :-(

https://lh3.googleusercontent.com/-jHnzQCw1TwQ/Ui1ygSRw4MI/ADE/y67Rk4H7JrU/s1600/FALSE+RESULT.png

-- 
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/groups/opt_out.


Re: $$Excel-Macros$$ HELP WITH FALSE RESULT IN EXCEL

2013-09-09 Thread xlstime
Please add false statement

=IF(AND(F2=TIMEVALUE(0:50:00),F2TIMEVALUE(0:30:00)),RV,IF(AND(F2=TIMEVALUE(1:00:00),F2TIMEVALUE(0:51:00)),IE,IF(F2=TIMEVALUE(0:00:00),MV,
*)*))

.

Enjoy
Team XLS



On Mon, Sep 9, 2013 at 12:33 PM, Angel Araneta gel.aran...@gmail.comwrote:



 why do i get a FALSE result with this formula in cell G2?

 cell G2 has the formula:

 =IF(AND(F2=TIMEVALUE(0:50:00),F2TIMEVALUE(0:30:00)),RV,IF(AND(F2=TIMEVALUE(1:00:00),F2TIMEVALUE(0:51:00)),IE,IF(F2=TIMEVALUE(0:00:00),MV)))


 value of cell D2 is 11:30 AM
 value of cell E2 is 12:20 PM
 cell F2 has the formula:
 =E2-D2 and gives me an answer of 0:50:00, however, in cell G2, instead of
 giving me a result of RV it shows FALSE instead.. :-(


 https://lh3.googleusercontent.com/-jHnzQCw1TwQ/Ui1ygSRw4MI/ADE/y67Rk4H7JrU/s1600/FALSE+RESULT.png

  --
 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/groups/opt_out.


-- 
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/groups/opt_out.


Re: $$Excel-Macros$$ HELP WITH FALSE RESULT IN EXCEL

2013-09-09 Thread Waseem Saifi
Please use ROUND function while subtract.

Because while subtracting answer is (In General Format) = 0.03472223
and when you determine in formula =timevalue(0:50:00), it's value is (In
General Format) = 0.0347

You can use
=ROUND(E2-D2,15) or 14 or 13 in num_digits, But no more than 15.
I think 15 num_digits very precise for your correct output.

Regards,
Waseem Saifi


On Mon, Sep 9, 2013 at 1:02 PM, xlstime xlst...@gmail.com wrote:

 Please add false statement


 =IF(AND(F2=TIMEVALUE(0:50:00),F2TIMEVALUE(0:30:00)),RV,IF(AND(F2=TIMEVALUE(1:00:00),F2TIMEVALUE(0:51:00)),IE,IF(F2=TIMEVALUE(0:00:00),MV,
 *)*))

 .

 Enjoy
 Team XLS



 On Mon, Sep 9, 2013 at 12:33 PM, Angel Araneta gel.aran...@gmail.comwrote:



 why do i get a FALSE result with this formula in cell G2?

 cell G2 has the formula:

 =IF(AND(F2=TIMEVALUE(0:50:00),F2TIMEVALUE(0:30:00)),RV,IF(AND(F2=TIMEVALUE(1:00:00),F2TIMEVALUE(0:51:00)),IE,IF(F2=TIMEVALUE(0:00:00),MV)))


 value of cell D2 is 11:30 AM
 value of cell E2 is 12:20 PM
 cell F2 has the formula:
 =E2-D2 and gives me an answer of 0:50:00, however, in cell G2, instead of
 giving me a result of RV it shows FALSE instead.. :-(


 https://lh3.googleusercontent.com/-jHnzQCw1TwQ/Ui1ygSRw4MI/ADE/y67Rk4H7JrU/s1600/FALSE+RESULT.png

  --
 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/groups/opt_out.


  --
 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/groups/opt_out.


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

Re: $$Excel-Macros$$ combined formula required.

2013-09-09 Thread Kenil Gala


I have explained it from start again,
Hope if i have explain it properly this time.

Thanks in Adv.


 From: xlstime xlst...@gmail.com
To: excel-macros@googlegroups.com 
Sent: Monday, September 9, 2013 10:38 AM
Subject: Re: $$Excel-Macros$$ combined formula required.
 


still not clear


what is a exact condition for RED,BLUE and yellow 


for example 


5000-5500 RED

5500-600 GREEN






.

Enjoy
Team XLS




On Sun, Sep 8, 2013 at 5:30 PM, Kenil Gala keni...@yahoo.com wrote:

Hope this helps,


Thanks in Adv.




 From: xlstime xlst...@gmail.com
To: excel-macros@googlegroups.com 
Sent: Sunday, September 8, 2013 3:47 PM
Subject: Re: $$Excel-Macros$$ combined formula required.
 


can u please share full condition 


.

Enjoy
Team XLS


On Sun, Sep 8, 2013 at 1:48 PM, Kenil Gala keni...@yahoo.com wrote:

Hi group,


I want a combination of IF and AND formula, or any other other suitable 
formula for inserting some indicators between fixed set of values.


Pls find the file attached.


Thanks  Regards,
-- 

 -- 
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/groups/opt_out.


-- 
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/groups/opt_out.

-- 
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/groups/opt_out.


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


$$Excel-Macros$$ EX-QUERY

2013-09-09 Thread sridher sharma
Dear member plz help me

 **

I am calculating compound interest on loan over a period where interest is
compounded either Monthly, Quarterly, Semi- Annually and Annually.

But it is stands valid in case of Non- leap years. Please give me a
formulae for leap years.

** **

*Regards,*

*SRIDHER SHARMA*

-- 
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/groups/opt_out.


RE: $$Excel-Macros$$ EX-QUERY

2013-09-09 Thread Ravi Kumar
Did u try this formula.

 

 

Principle(1+rate/100)^month

 

Like 

 

500(1+5/100)^5

 

 

Warm Regards,

Ravi Kumar.

 

From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com]
On Behalf Of sridher sharma
Sent: Monday, September 09, 2013 4:08 PM
To: excel-macros@googlegroups.com
Subject: $$Excel-Macros$$ EX-QUERY

 

Dear member plz help me

 

I am calculating compound interest on loan over a period where interest is
compounded either Monthly, Quarterly, Semi- Annually and Annually.

But it is stands valid in case of Non- leap years. Please give me a formulae
for leap years.

 

Regards,

SRIDHER SHARMA

-- 
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
mailto:excel-macros+unsubscr...@googlegroups.com .
To post to this group, send email to excel-macros@googlegroups.com
mailto:excel-macros@googlegroups.com .
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
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/groups/opt_out.


Re: $$Excel-Macros$$ EX-QUERY

2013-09-09 Thread sridher sharma
yes i used this formula
but  it is stands valid in case of Non- leap years, Please give me
a formula for leap years.


On 9 September 2013 16:18, Ravi Kumar excellearn2...@gmail.com wrote:

 Did u try this formula…

 ** **

 ** **

 Principle(1+rate/100)^month

 ** **

 Like 

 ** **

 500(1+5/100)^5

 ** **

 * *

 *Warm Regards,*

 *Ravi Kumar.*

 ** **

 *From:* excel-macros@googlegroups.com [mailto:
 excel-macros@googlegroups.com] *On Behalf Of *sridher sharma
 *Sent:* Monday, September 09, 2013 4:08 PM
 *To:* excel-macros@googlegroups.com
 *Subject:* $$Excel-Macros$$ EX-QUERY

 ** **

 Dear member plz help me

  

 I am calculating compound interest on loan over a period where interest is
 compounded either Monthly, Quarterly, Semi- Annually and Annually.

 But it is stands valid in case of Non- leap years. Please give me a
 formulae for leap years.

  

 *Regards,*

 *SRIDHER SHARMA*

 --
 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/groups/opt_out.

 --
 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/groups/opt_out.


-- 
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/groups/opt_out.


Re: $$Excel-Macros$$ EX-QUERY

2013-09-09 Thread Sandeep Kumar Chhajer
Dear sridhar,

I did not get you how leap year or non leap year affecting your result.

Can you send us example.

Sandeep Chhajer. 
Sent on my BlackBerry® from Vodafone

-Original Message-
From: sridher sharma sridher.sha...@gmail.com
Sender: excel-macros@googlegroups.com
Date: Mon, 9 Sep 2013 16:22:16 
To: excel-macros@googlegroups.com
Reply-To: excel-macros@googlegroups.com
Subject: Re: $$Excel-Macros$$ EX-QUERY

yes i used this formula
but  it is stands valid in case of Non- leap years, Please give me
a formula for leap years.


On 9 September 2013 16:18, Ravi Kumar excellearn2...@gmail.com wrote:

 Did u try this formula…

 ** **

 ** **

 Principle(1+rate/100)^month

 ** **

 Like 

 ** **

 500(1+5/100)^5

 ** **

 * *

 *Warm Regards,*

 *Ravi Kumar.*

 ** **

 *From:* excel-macros@googlegroups.com [mailto:
 excel-macros@googlegroups.com] *On Behalf Of *sridher sharma
 *Sent:* Monday, September 09, 2013 4:08 PM
 *To:* excel-macros@googlegroups.com
 *Subject:* $$Excel-Macros$$ EX-QUERY

 ** **

 Dear member plz help me

  

 I am calculating compound interest on loan over a period where interest is
 compounded either Monthly, Quarterly, Semi- Annually and Annually.

 But it is stands valid in case of Non- leap years. Please give me a
 formulae for leap years.

  

 *Regards,*

 *SRIDHER SHARMA*

 --
 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/groups/opt_out.

 --
 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/groups/opt_out.


-- 
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$$ Re: how to crack Excel VBA password

2013-09-09 Thread Brett Campbell
Public Sub AllInternalPasswords()
' Breaks worksheet and workbook structure passwords. Brett Campbell
'  probably originator of base code algorithm modified for coverage
'  of workbook structure / windows passwords and for multiple 
passwords
'
' Brett Campbell IPP Logipal 09-Sept-2013 (Version 1.1)
' Modified 2013-Sept -04 by JEM: All msgs to constants, and
'   eliminate one Exit Sub (Version 1.1.1)
' Reveals hashed passwords NOT original passwords
Const DBLSPACE As String = vbNewLine  vbNewLine
Const AUTHORS As String = DBLSPACE  vbNewLine  _
Adapted from Bob McCormick base code by  _
Norman Harker and JE McGimpsey
Const HEADER As String = AllInternalPasswords User Message
Const VERSION As String = DBLSPACE  Version 1.1.1 2003-Apr-04
Const REPBACK As String = DBLSPACE  Please report failure   _
to the microsoft.public.excel.programming newsgroup.
Const ALLCLEAR As String = DBLSPACE  The workbook should   _
now be free of all password protection, so make sure you: 
 _
DBLSPACE  SAVE IT NOW!  DBLSPACE  and also  _
DBLSPACE  BACKUP!, BACKUP!!, BACKUP!!!  _
DBLSPACE  Also, remember that the password was   _
put there for a reason. Don't stuff up crucial formulas  
 _
or data.  DBLSPACE  Access and use of some data   _
may be an offense. If in doubt, don't.
Const MSGNOPWORDS1 As String = There were no passwords on   _
sheets, or workbook structure or windows.  AUTHORS  
VERSION
Const MSGNOPWORDS2 As String = There was no protection to   _
workbook structure or windows.  DBLSPACE  _
Proceeding to unprotect sheets.  AUTHORS  VERSION
Const MSGTAKETIME As String = After pressing OK button this   _
will take some time.  DBLSPACE  Amount of time   _
depends on how many different passwords, the   _
passwords, and your computer's specification.  DBLSPACE 
 _
Just be patient! Make me a coffee!  AUTHORS  VERSION
Const MSGPWORDFOUND1 As String = You had a Worksheet   _
Structure or Windows Password set.  DBLSPACE  _
The password found was:   DBLSPACE  $$  DBLSPACE  _
Note it down for potential future use in other workbooks 
by   _
the same person who set this password.  DBLSPACE  _
Now to check and clear other passwords.  AUTHORS  
VERSION
Const MSGPWORDFOUND2 As String = You had a Worksheet   _
password set.  DBLSPACE  The password found was:   _
DBLSPACE  $$  DBLSPACE  Note it down for potential  
 _
future use in other workbooks by same person who   _
set this password.  DBLSPACE  Now to check and clear  
 _
other passwords.  AUTHORS  VERSION
Const MSGONLYONE As String = Only structure / windows   _
 protected with the password that was just found.  _
 ALLCLEAR  AUTHORS  VERSION  REPBACK
Dim w1 As Worksheet, w2 As Worksheet
Dim i As Integer, j As Integer, k As Integer, l As Integer
Dim m As Integer, n As Integer, i1 As Integer, i2 As Integer
Dim i3 As Integer, i4 As Integer, i5 As Integer, i6 As Integer
Dim PWord1 As String
Dim ShTag As Boolean, WinTag As Boolean

Application.ScreenUpdating = False
With ActiveWorkbook
WinTag = .ProtectStructure Or .ProtectWindows
End With
ShTag = False
For Each w1 In Worksheets
ShTag = ShTag Or w1.ProtectContents
Next w1
If Not ShTag And Not WinTag Then
MsgBox MSGNOPWORDS1, vbInformation, HEADER
Exit Sub
End If
MsgBox MSGTAKETIME, vbInformation, HEADER
If Not WinTag Then
MsgBox MSGNOPWORDS2, vbInformation, HEADER
Else
  On Error Resume Next
  Do  'dummy do loop
For i = 65 To 66: For j = 65 To 66: For k = 65 To 66
For l = 65 To 66: For m = 65 To 66: For i1 = 65 To 66
For i2 = 65 To 66: For i3 = 65 To 66: For i4 = 65 To 66
For i5 = 65 To 66: For i6 = 65 To 66: For n = 32 To 126
With ActiveWorkbook
  .Unprotect Chr(i)  Chr(j)  Chr(k)  _
 Chr(l)  Chr(m)  Chr(i1)  Chr(i2)  _
 Chr(i3)  Chr(i4)  Chr(i5)  Chr(i6)  Chr(n)
  If .ProtectStructure = False And _
  .ProtectWindows = False Then
  PWord1 = Chr(i)  Chr(j)  Chr(k)  Chr(l)  _
Chr(m)  Chr(i1)  Chr(i2)  Chr(i3)  _
Chr(i4)  Chr(i5)  Chr(i6)  Chr(n)
  MsgBox Application.Substitute(MSGPWORDFOUND1, _
 

Re: $$Excel-Macros$$ EX-QUERY

2013-09-09 Thread sridher sharma
Thanks for your response.

I have a spreadsheet where there is a date range say 01-01-10 to 01-01-13.
Now, I need the difference in the date range expressed in terms of years.
So, leap year should also be taken in to account for the same.

Can you please refer me a function or a formulae for this?


On 9 September 2013 17:11, Sandeep Kumar Chhajer
chhajersand...@gmail.comwrote:

 **
 Dear sridhar,

 I did not get you how leap year or non leap year affecting your result.

 Can you send us example.

 Sandeep Chhajer.
 Sent on my BlackBerry® from Vodafone
 --
 *From: * sridher sharma sridher.sha...@gmail.com
 *Sender: * excel-macros@googlegroups.com
 *Date: *Mon, 9 Sep 2013 16:22:16 +0530
 *To: *excel-macros@googlegroups.com
 *ReplyTo: * excel-macros@googlegroups.com
 *Subject: *Re: $$Excel-Macros$$ EX-QUERY

 yes i used this formula
 but  it is stands valid in case of Non- leap years, Please give me
 a formula for leap years.


 On 9 September 2013 16:18, Ravi Kumar excellearn2...@gmail.com wrote:

 Did u try this formula…

 ** **

 ** **

 Principle(1+rate/100)^month

 ** **

 Like 

 ** **

 500(1+5/100)^5

 ** **

 * *

 *Warm Regards,*

 *Ravi Kumar.*

 ** **

 *From:* excel-macros@googlegroups.com [mailto:
 excel-macros@googlegroups.com] *On Behalf Of *sridher sharma
 *Sent:* Monday, September 09, 2013 4:08 PM
 *To:* excel-macros@googlegroups.com
 *Subject:* $$Excel-Macros$$ EX-QUERY

 ** **

 Dear member plz help me

  

 I am calculating compound interest on loan over a period where interest
 is compounded either Monthly, Quarterly, Semi- Annually and Annually.

 But it is stands valid in case of Non- leap years. Please give me a
 formulae for leap years.

  

 *Regards,*

 *SRIDHER SHARMA*

 --
 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/groups/opt_out.

 --
 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/groups/opt_out.


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

Re: $$Excel-Macros$$ HELP WITH FALSE RESULT IN EXCEL

2013-09-09 Thread Angel Araneta
everything works out fine with my original formula except for time-in is on
or about 11:15 AM and time-out is 12:00 PM, this is the only range where i
get a FALSE result..


On Mon, Sep 9, 2013 at 2:46 AM, Waseem Saifi waseemsa...@gmail.com wrote:

 Please use ROUND function while subtract.

 Because while subtracting answer is (In General Format) =
 0.03472223
 and when you determine in formula =timevalue(0:50:00), it's value is (In
 General Format) = 0.0347

 You can use
 =ROUND(E2-D2,15) or 14 or 13 in num_digits, But no more than 15.
 I think 15 num_digits very precise for your correct output.

 Regards,
 Waseem Saifi


 On Mon, Sep 9, 2013 at 1:02 PM, xlstime xlst...@gmail.com wrote:

 Please add false statement


 =IF(AND(F2=TIMEVALUE(0:50:00),F2TIMEVALUE(0:30:00)),RV,IF(AND(F2=TIMEVALUE(1:00:00),F2TIMEVALUE(0:51:00)),IE,IF(F2=TIMEVALUE(0:00:00),MV,
 *)*))

 .

 Enjoy
 Team XLS



 On Mon, Sep 9, 2013 at 12:33 PM, Angel Araneta gel.aran...@gmail.comwrote:



 why do i get a FALSE result with this formula in cell G2?

 cell G2 has the formula:

 =IF(AND(F2=TIMEVALUE(0:50:00),F2TIMEVALUE(0:30:00)),RV,IF(AND(F2=TIMEVALUE(1:00:00),F2TIMEVALUE(0:51:00)),IE,IF(F2=TIMEVALUE(0:00:00),MV)))


 value of cell D2 is 11:30 AM
 value of cell E2 is 12:20 PM
 cell F2 has the formula:
 =E2-D2 and gives me an answer of 0:50:00, however, in cell G2, instead
 of giving me a result of RV it shows FALSE instead.. :-(


 https://lh3.googleusercontent.com/-jHnzQCw1TwQ/Ui1ygSRw4MI/ADE/y67Rk4H7JrU/s1600/FALSE+RESULT.png

  --
 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/groups/opt_out.


  --
 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/groups/opt_out.


  --
 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 a topic in the
 Google Groups MS 

Re: $$Excel-Macros$$ EX-QUERY

2013-09-09 Thread sridher sharma
No One there to resolve my problem ???



On 9 September 2013 17:25, sridher sharma sridher.sha...@gmail.com wrote:

 Thanks for your response.

 I have a spreadsheet where there is a date range say 01-01-10 to 01-01-13.
 Now, I need the difference in the date range expressed in terms of years.
 So, leap year should also be taken in to account for the same.

 Can you please refer me a function or a formulae for this?


 On 9 September 2013 17:11, Sandeep Kumar Chhajer chhajersand...@gmail.com
  wrote:

 **
 Dear sridhar,

 I did not get you how leap year or non leap year affecting your result.

 Can you send us example.

 Sandeep Chhajer.
 Sent on my BlackBerry® from Vodafone
 --
 *From: * sridher sharma sridher.sha...@gmail.com
 *Sender: * excel-macros@googlegroups.com
 *Date: *Mon, 9 Sep 2013 16:22:16 +0530
 *To: *excel-macros@googlegroups.com
 *ReplyTo: * excel-macros@googlegroups.com
 *Subject: *Re: $$Excel-Macros$$ EX-QUERY

 yes i used this formula
 but  it is stands valid in case of Non- leap years, Please give me
 a formula for leap years.


 On 9 September 2013 16:18, Ravi Kumar excellearn2...@gmail.com wrote:

 Did u try this formula…

 ** **

 ** **

 Principle(1+rate/100)^month

 ** **

 Like 

 ** **

 500(1+5/100)^5

 ** **

 * *

 *Warm Regards,*

 *Ravi Kumar.*

 ** **

 *From:* excel-macros@googlegroups.com [mailto:
 excel-macros@googlegroups.com] *On Behalf Of *sridher sharma
 *Sent:* Monday, September 09, 2013 4:08 PM
 *To:* excel-macros@googlegroups.com
 *Subject:* $$Excel-Macros$$ EX-QUERY

 ** **

 Dear member plz help me

  

 I am calculating compound interest on loan over a period where interest
 is compounded either Monthly, Quarterly, Semi- Annually and Annually.***
 *

 But it is stands valid in case of Non- leap years. Please give me a
 formulae for leap years.

  

 *Regards,*

 *SRIDHER SHARMA*

 --
 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/groups/opt_out.

 --
 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/groups/opt_out.


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

$$Excel-Macros$$ Macro needed to add worksheet

2013-09-09 Thread SG


Hi Experts,

Once again I neeed your help.I have one excel worksheet which is common for 
all workbooks. However, that worksheet is not added in the workbooks. I 
have atleast 50 excel workbooks in a folder in which i have to add that 
single worksheet manually.The name of all worbooks are same only the week 
number is different in filenames like report wk-1,report wk-2  so 
on.Please help me with a macro which would add that single sheet in all 
workbooks of that folder one by one.

Thanks in advance

-- 
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/groups/opt_out.


Re: $$Excel-Macros$$ EX-QUERY

2013-09-09 Thread ashish koul
have you tried datedif  function
http://www.techonthenet.com/excel/formulas/datedif.php


On Mon, Sep 9, 2013 at 6:58 PM, sridher sharma sridher.sha...@gmail.comwrote:

 No One there to resolve my problem ???



 On 9 September 2013 17:25, sridher sharma sridher.sha...@gmail.comwrote:

 Thanks for your response.

 I have a spreadsheet where there is a date range say 01-01-10 to 01-01-13.
 Now, I need the difference in the date range expressed in terms of years.
 So, leap year should also be taken in to account for the same.

 Can you please refer me a function or a formulae for this?


 On 9 September 2013 17:11, Sandeep Kumar Chhajer 
 chhajersand...@gmail.com wrote:

 **
 Dear sridhar,

 I did not get you how leap year or non leap year affecting your result.

 Can you send us example.

 Sandeep Chhajer.
 Sent on my BlackBerry® from Vodafone
 --
 *From: * sridher sharma sridher.sha...@gmail.com
 *Sender: * excel-macros@googlegroups.com
 *Date: *Mon, 9 Sep 2013 16:22:16 +0530
 *To: *excel-macros@googlegroups.com
 *ReplyTo: * excel-macros@googlegroups.com
 *Subject: *Re: $$Excel-Macros$$ EX-QUERY

 yes i used this formula
 but  it is stands valid in case of Non- leap years, Please give me
 a formula for leap years.


 On 9 September 2013 16:18, Ravi Kumar excellearn2...@gmail.com wrote:

 Did u try this formula…

 ** **

 ** **

 Principle(1+rate/100)^month

 ** **

 Like 

 ** **

 500(1+5/100)^5

 ** **

 * *

 *Warm Regards,*

 *Ravi Kumar.*

 ** **

 *From:* excel-macros@googlegroups.com [mailto:
 excel-macros@googlegroups.com] *On Behalf Of *sridher sharma
 *Sent:* Monday, September 09, 2013 4:08 PM
 *To:* excel-macros@googlegroups.com
 *Subject:* $$Excel-Macros$$ EX-QUERY

 ** **

 Dear member plz help me

  

 I am calculating compound interest on loan over a period where interest
 is compounded either Monthly, Quarterly, Semi- Annually and Annually.**
 **

 But it is stands valid in case of Non- leap years. Please give me a
 formulae for leap years.

  

 *Regards,*

 *SRIDHER SHARMA*

 --
 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/groups/opt_out.

 --
 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/groups/opt_out.


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

Re: $$Excel-Macros$$ Macro needed to add worksheet

2013-09-09 Thread ashish koul
Sub copy_sheet()

Application.ScreenUpdating = False
Application.DisplayAlerts = False


Dim fld As Object, fil As Object, fso As Object
Dim wkb As Workbook

Set fso = CreateObject(scripting.filesystemobject)
Set fld = fso.getfolder(C:\Users\admin\Desktop\test) ' folder having files

For Each fil In fld.Files
Set wkb = Workbooks.Open(fil.Path)
ThisWorkbook.Sheets(sample).Copy After:=wkb.Sheets(wkb.Sheets.Count)
wkb.Save
wkb.Close
Set wkb = Nothing
Next

Application.ScreenUpdating = True
Application.DisplayAlerts = True



End Sub


see if it helps



On Mon, Sep 9, 2013 at 7:45 PM, SG sonal...@gmail.com wrote:

 Hi Experts,

 Once again I neeed your help.I have one excel worksheet which is common
 for all workbooks. However, that worksheet is not added in the workbooks. I
 have atleast 50 excel workbooks in a folder in which i have to add that
 single worksheet manually.The name of all worbooks are same only the week
 number is different in filenames like report wk-1,report wk-2  so
 on.Please help me with a macro which would add that single sheet in all
 workbooks of that folder one by one.

 Thanks in advance

 --
 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/groups/opt_out.




-- 
*Regards*
* *
*Ashish Koul*


*Visit*
*My Excel Blog http://www.excelvbamacros.com/*
Like Us on 
Facebookhttp://www.facebook.com/pages/Excel-VBA-Codes-Macros/15180389897
Join Us on Facebook http://www.facebook.com/groups/163491717053198/


P Before printing, think about the environment.

-- 
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/groups/opt_out.


$$Excel-Macros$$ VBA to copy data to a template file then save it as a new file

2013-09-09 Thread Chih Hung Choo


Hi, I'm hoping to get some help here to automate the work that I have to do 
every 2 weeks.  The work is repetitive and hopefully a VBA script will help 
shorten sometimes a day's work to minutes.

I'm using Excel 2007. There are 2 files. 

File A: This file is generated every 2 weeks. The data I want from this 
file is in Col B. Number of rows depending on transaction volume of that 
week. So minimum row could be 1, but so far never exceed 300 rows. It could 
be more in the future.

File B: It's a template file, many fixed data in this file. Only 3 cells 
need changes. The 3 cells are Row 2 of Col B, C and F. All 3 cells will 
have the same data/value I copy from File A.

This is what I want to do:

1. Open File A, copy data/value in Col B, Row 2.
2. Open File B (template), paste the data to Row 2 of Col B, C and F.
3. Save File B as new file, in a designated folder e.g. Books. New 
filename to use the exact value I copy from File A. E.g., if the value is 
Books - ANA, then the filename will be Books - ANA.xls.
4. Repeat step 1. Copy data in Col B, Row 3 in File A. 
5. Repeat step 2.
6. Repeat step 3. 
7. Repeat step 1. If there's no data in Col B, Row 4 in File A, stop the 
process.

Thank you.

-- 
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/groups/opt_out.


Re: $$Excel-Macros$$ Excel VBA Project in Google Docs

2013-09-09 Thread Abhishek Jain
Friends,...any update?


On Sat, Sep 7, 2013 at 11:21 AM, Abhishek Jain abhishek@gmail.comwrote:

 Hello friends,

 Let's say I have an Excel File with VBA and an a Form that is used to make
 entries in sheet. Is there a way I can make a Google Doc of it keeping the
 Form and all the VBA? I searched and found that Google docs do not support
 VBA but Java Scripts. Can someone share a way forward?

 On a separate note, my requirement is to let the Excel file used by
 several users across the internet (they are in multiple countries and we
 only have regular internet). Is there a place where the file can be placed
 and used by multiple people at once through the internet? (Don't want them
 to open a read only version).

 Hope my requirements are clear. Any and all help will be highly
 appreciated.

 Thanks in advance.

 Abhi

 --
 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/groups/opt_out.


-- 
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/groups/opt_out.