How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask Lindie-mod Your Own Question

Lindie-mod
Lindie-mod,
Category: Microsoft Office
Satisfied Customers: 5
6610965
Type Your Microsoft Office Question Here...
Lindie-mod is online now
A new question is answered every 9 seconds

I need to write an Excel Macro to calculate interests on several

Customer Question

I need to write an Excel Macro to calculate interests on several principal amts. My interest period is different for each principal amt. In most cases, there are multiple interest rates within an int period.

I have a list of principal amts and the int periods (start_date, end_date) in my 1st worksheet.

I have a table of Int Rates in my 2nd wksheet.

Now, i need to write a macro to calculate the interest....I am having a difficult time on how to go to my interest rate table and select the correct interest rates that falls within my interest period.

Can someone help. Thanks.
Submitted: 1 year ago.
Category: Microsoft Office
Expert:  Richard replied 1 year ago.
Thank you for your question, my name is Richard.

You will want to use a VLookup to return the Interest Rate.

So in your example, you would want a formula similar to this

=VLOOKUP(PERIOD HERE,RANGE FOR INTEREST RATES AND PERIOD,COLUMN IN RANGE THAT HAS THE VALUE)


So if the Interest sheet is Interest, and A and B have the Period and Rate, then your forumla is.

=vlookup(PERIOD YOU SEARCH,interest!a:interest!b ,2)

If you have any difficulties at all, please do not hesitate to let me know so I can assist you further

Thank you
Customer: replied 1 year ago.
Im not sure how this will work. Can i send u my spreadsheet. Also, please note i need a macro to calc since i will have to di this multiple times. Thanks
Expert:  Richard replied 1 year ago.
yes, please upload it and tell me the columns being used.

- Click the following link: http://www.wikisend.com
- Upload the file to that website
- Once it is uploaded, the resulting page will display a "File ID" number.
- Please, give me that "File ID Number"
Customer: replied 1 year ago.
Ok great will send this evening. Thanks.
Expert:  Richard replied 1 year ago.
ok thanks

Customer: replied 1 year ago.
I just sent u the link..hope u got it....couldnt find the reply to expert box on my cmp..
Expert:  Richard replied 1 year ago.
You need to tell me the File ID please in this message

- Click the following link: http://www.wikisend.com
- Upload the file to that website
- Once it is uploaded, the resulting page will display a "File ID" number.
- Please, give me that "File ID Number"
Customer: replied 1 year ago.
Its 903494...for some reason my phone allows me to reply but not my computer..the reply box doesnt show up.
Expert:  Richard replied 1 year ago.
Thanks

So which date in sheet1 do I use to show the rate to use?

Customer: replied 1 year ago.


ok..in sheet1, the 1st amountt is $1,000 and I need to calculate the int from 1/1/2010 to 4/30/2013.


 


the 2nd is $2,000.00..int from 5/1/2001 to 12/31/2011..and so on.


 


I need the macro to be able to go to the rates sheet and pick up the correct rates for each period so for instance, the rates for the 1st period will be the base on int interval l 1/1/2010 - 1/4/2012 @ 3.25%


1/5/2012- 9/13/2012 @ 3.25%


9/14/2012 - 4/30/2013 @ 3.25%


Now these happen to be the same rate for all the intervals, but in the 2nd amt for $2,000, it is more complicated.


THanks.


 

Expert:  Richard replied 1 year ago.
ok, I need to log off now, as when I initially took this question it was a much earlier on.

Another Expert will pick this up and look at completing it for you.

You do not need to do anything, and they can review everything here.
Customer: replied 1 year ago.


ok..thank you

Customer: replied 1 year ago.

hi Richard..i just sent the link with the wiki id..hope u got it. thanks.

Expert:  Richard replied 1 year ago.
received for the next expert.
Customer: replied 1 year ago.
Hi richard..please know that no one has followed up with my question. Please let me know if u need more info. Thanks
Expert:  Lindie-mod replied 1 year ago.
Hi, I’m a moderator for this topic. It seems the professional has left this conversation. This happens occasionally, and it's usually because the professional thinks that someone else might be a better match for your question. I've been working hard to find a new professional to assist you right away with your Excel issue, but sometimes finding the right professional can take a little longer than expected.

I wonder whether you're OK with continuing to wait for an answer. If you are, please let me know and I will continue my search. If not, feel free to let me know and I will cancel this question for you. Thank you!

Lindie
Customer: replied 1 year ago.
I can wait. Thanks
Expert:  Lindie-mod replied 1 year ago.
Hi

Thank you for your continued patience. We will continue the search for a professional for you.

Lindie
Customer: replied 1 year ago.
Expert:  Rachel-Mod replied 1 year ago.

Hello,

I apologize as we have not yet been able to find another professional to assist you. Would you like me to continue to search for someone to assist you or would you like for me to close your question at this time?

Thank you for your patience,

Customer: replied 1 year ago.
Please continue to look..i still have time. Thanks.
Expert:  Rachel-Mod replied 1 year ago.
Hello,
Please understand it is rare for us not to be able to find the right professionals to assist our customers. We can either return your good faith deposit to the original funding source, or we can keep your deposit on your account here for future questions.
Please let me know how you wish to proceed and again I apologize for any inconvenience this may have caused.
I hope you will give JustAnswer a try again in the future,
Rachel
Customer: replied 1 year ago.
Thanks for all ur help. I will like to get a refund please.

JustAnswer in the News:

 
 
 
Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.
 
 
 

What Customers are Saying:

 
 
 
  • My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer New York
< Last | Next >
  • My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer New York
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
  • This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
  • Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA
  • I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin Kernersville, NC
  • Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther Woodstock, NY
  • Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know. Robin Elkton, Maryland
 
 
 

Meet The Experts:

 
 
 
  • jstinehelfer

    Information Systems Manager

    Satisfied Customers:

    36
    A+ Comptia Certified computer repair
< Last | Next >
  • http://ww2.justanswer.com/uploads/JS/jstinehelfer/2012-6-6_215146_Pictureofme1.64x64.png jstinehelfer's Avatar

    jstinehelfer

    Information Systems Manager

    Satisfied Customers:

    36
    A+ Comptia Certified computer repair
  • http://ww2.justanswer.com/uploads/JA/JasonJames122/2011-12-16_135647_jasonjamesheadshotweb.64x64.jpg JasonJames122's Avatar

    JasonJames122

    Computer Enthusiast

    Satisfied Customers:

    0
    I manage all information systems (network of Windows PC's and servers with Microsoft Office products) for a small business
  • http://ww2.justanswer.com/uploads/JE/jessmagz/2012-6-6_18129_jm.64x64.jpg Jess M.'s Avatar

    Jess M.

    Computer Support Specialist

    Satisfied Customers:

    301
    Computer Software Specialist for more than 10 years
  • http://ww2.justanswer.com/uploads/CH/chutz747/2011-11-6_14231_me.64x64.jpg The-PC-Guy's Avatar

    The-PC-Guy

    Computer Manager

    Satisfied Customers:

    274
    20 years experience providing remote computer support
  • http://ww2.justanswer.com/uploads/SP/spherrod/2012-6-6_174244_1000852.64x64.JPG Steve Herrod's Avatar

    Steve Herrod

    Computer Support Specialist

    Satisfied Customers:

    125
    Trained in Microsoft Office from 2000 through to latest version 2010.
  • http://ww2.justanswer.com/uploads/SE/Seashore2011/2011-12-6_33418_111205223015.64x64.jpg Chris L.'s Avatar

    Chris L.

    Support Specialist

    Satisfied Customers:

    124
    Certified Expert with over 10 years experience.
  • http://ww2.justanswer.com/uploads/KR/krkljatorm/2012-6-24_153417_ITMiro.64x64.jpg IT Miro's Avatar

    IT Miro

    Computer Scientist

    Satisfied Customers:

    97
    Bachelor's Degree in Information Technology, Microsoft Certified Professional
 
 
 

Related Microsoft Office Questions