Solved

Formula referencing the results of a multi-column Vlookup

Posted on 2014-03-11
1
122 Views
Last Modified: 2014-09-30
I have a data range along the lines of:-

               A                 B                   C                  D               E                
                               Jan-14        Feb 14       Mar 14       Apr 14
 1         AAA                1%              2%             1.5%             2%
 2        BBB                2%              1%              1%                2%
 3        CCC                3%              2%              1.5%             3%
 4        DDD               1%              2%              1%               1.5%

I need to calculate the compounded return for various periods for each row. Eg to calculate the return for BBB between Feb-14 and Apr 14 (inclusive) I could use the formula =FVSCHEDULE(1,C2:E2)-1 manually  - However I need the formula to look up the value in column B within the range along the lines of a vlookup function

For example:-

The following vlookup calculates the sum for the selected period:-

={=SUM(VLOOKUP(A2,A1:E4,{3,4,5},FALSE))}

How do I do exactly the same but instead of the sum calculate the compounded return of the selected period?

Thanks !
0
Comment
Question by:doolinn
1 Comment
 
LVL 39

Accepted Solution

by:
nutsch earned 400 total points
ID: 39920967
How about using an offset function?

=FVSCHEDULE(1,offset($C$1:$E1,match("BBB",$A$1:$A$4,0)-1,0,,))-1
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now