1
Hello,
I have two dates:
Initial Before
Jan-11 Oct-10
Feb-11 Sep-10
I would like to know how I can have a macro that writes the date between them adding these dates in two new lines and look in the price table, the price for that month. I’m using VLOOKUP for this, but I think there’s a more efficient way:
Initial Before Range Price
Jan-11 Oct-10 Jan-11 0
Dec-10 12
Nov-10 11
Oct-10 10
Feb-11 Sep-10 Feb-11 0
Jan-11 0
Dec-10 12
Nov-10 11
Oct-10 10
Sep-10 9
Thank you.
There are many ways to accomplish this, could you better organize your example? With code
Vlookup
what is used? And with the example of input and output of clearer functions, because I do not know if I understood correctly.– danieltakeshi