Hi,
Newbie here. I tried looking in the forum for answers, but couldn't specify my problem in search terms. So any help would be greatly appreciated.
I have a table which outputs net profit on a yearly basis for 25 years.
thread1.JPG
Also on a different worksheet, I have the input cells.
This cell (A10) will contain either of the following values in either a list or manual input: 10, 15, 20, 25 (years).
My query is:
When the user inputs 10 in the first sheet in cell A10,
another cell, B10 should output the sum of 10 cells from sheet NET PROFIT (G13:P13).
But when the user inputs 15 in the same cell (A10), B10 should output the sum of 15 horizontal cells in sheet NET PROFIT (G13:U13). Same for 20 and 25.
Therefore, depending on the value of A10, B10 should calculate the same amount of cells from another sheet and output their sum.
I apologize if I didn't use correct terminology, I usually use excel for much simpler tasks.
Appreciate any help!![]()
Bookmarks