# Creating a Value in an Array

EE Pros,

I'm working to produce a data table based on two variables; Time Horizon and Frequency.  Both are time variables.  You can see in the spreadsheet I provided that by selecting a Horizon and a Frequency, it returns a value that then corresponds to a table.  Here's my challenge, how do I use a lookup formula to determine the number to multiply with?  Once the number is determined in the table, it can be multiplied by the Time number (e.g. 3 months) to get a total # of frequency data points to derive (over the given Time Horizon).

Up for the challenge?

Thank you in advance,

Bright01
C--Data-Temp-Finding-the-Frequency.xls
###### Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

DeveloperCommented:
Hi,
Write the following formula in D4

=OFFSET(\$N\$5, E4,E3)

-FA
0
Excel VBA DeveloperCommented:
If you use the following formula, you won't need your "Results" values.  Additionally, this multiplies the found result in your matrix (O6:T11) by the value in D4 to get the correct number of Frequency data points.
=OFFSET(\$N\$5,MATCH(\$C\$4,\$M\$6:\$M\$11,0),MATCH(\$C\$3,\$O\$4:\$T\$4,0))*D3

Additionally, I found several issues with the ratios in the table to the right and have updated all the values where needed.

Regards,
-Glenn
EE-Data-Temp-Finding-the-Frequency.xls
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Author Commented:
Glenn, Perfect.  Thank you very much!

B.
0
Excel VBA DeveloperCommented:
You're welcome.

-Glenn
0
###### It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.