I have two Excel books, source-book.xlsx and destination-book.xlsx. On the first I have B4 cell with a drop down menu (January to March) and C4 cell to input a value.
On the destination-book I have three columns:
-B4 to B6 to collect the values from source-book C4 with the formula =IF('[source-book.xlsx]source '!$B$4="January ";'[source-book.xlsx]source '!$C$4*10%;F4)
The space after January on the formula is because I did this on the phone and did not realized about the trailing space mobile keyboards places automatically after each word.
-C4 to C6 with the three months (January to March)
-and D4 to D6 to get the values from B4 to B6 with the formula =B4 =B5 =B6.
-Then I have D7 to calculate the accumulated value for the three months with the formula =(D4+D5+D6)*35%
What´s the problem?
Well, as in source-book the value of B4 is on a month it reflects on the corresponding cell on the destination-book, the value for January on B4, for February on B5, and for March on B6; but what I need to calculate on D7 is the sum-up of the the three months. Then I need a way, with a formula or a Macro, to keep the value of each month on D4, D5 and D6, even when the user changes month on source-book.
For example, in the picture, January has 500,000.00, then user changes to February and inputs 700,000.00 and in March 800,000.00, then it should, in D4 keep the 500,000.00 when changes to February, keep in D4 the 500,000.00 and in D5 the 700,000.00 when changes to March, so the calculation on D7 would really be the three months accumulated amount. Just like in this picture below.
I have deeply search on the web, also here on stackoverflow, but found nothing to solve this using just Excel. Can anyone help me with this one?
Here is the link from where the example with the above Excel files can be downloaded download the example files

