Date look-up and dynamic fill numbers.


New Member
Apr 26, 2017
My workbook contains an 'inputs tab' where i will have 3 inputs: "date", "amount" and "number of months."

In my 'output tab' i have row 1 filled with all the month end dates. I.e Jan 31, 2020, Feb 28, 2020....etc

I want to have a dynamic formula in row 2 that will match the "date" from 'assumptions tab' and put in the "amount" for specified "number of months".

Its kinda like an =if(sequence) formula. But that doesn't work. So need something else.

Any help on this is appreciated

Some videos you may like

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.


Well-known Member
Dec 30, 2008
Office Version
Its kinda like an =if(sequence) formula. But that doesn't work. So need something else.
That could kinda mean a lot of things, you might need to be a bit more specific with the data layout with a sample showing some input data and the expected results.

One specific point that you will need to make clear is how the 'number of months' should affect the results, if it is of no relevance to the results then please do not include it in the sample.

Please keep your sample sensible (10~20 rows, not 100), also, please post it using XL2BB, not screen captures.


Watch MrExcel Video

Forum statistics

Latest member

This Week's Hot Topics

  • Timer in VBA - Stop, Start, Pause and Reset
    [CODE=vba][/CODE] Option Explicit Dim CmdStop As Boolean Dim Paused As Boolean Dim Start Dim TimerValue As Date Dim pausedTime As Date Sub...
  • how to updates multiple rows in muliselect listbox
    Hello everyone. I need help with below code. code is only chaning 1st row in mulitiselect list box. i know issue with code...
  • Delete Row from Table
    I am trying to delete a row from a table using VBA using a named range to find what I need to delete. My Range is finding the right cell. In the...
  • Assigning to a variable
    I have a for each block where I want to assign the value in column 5 of the found row to the variable Serv. [CODE=vba] For Each ws In...
  • Way to verify information
    Hi All, I don't know what to call this formula, and therefore can't search. I have a spreadsheet with information I want to reference...
  • Active Cell Address – Inactive Sheet
    How to use VBA to get the cell address of the active cell in an inactive worksheet and then place that cell address in a location on the current...