Hi Everyone
im a little stuck with something in excel, and was hoping someone might be able to help me.
I have a set of data with the months across the top (Jan to Dec) for the columns and the years for the rows.
i have created the following formula
=INDEX(Profit,MATCH($G$1,INDEX(Profit,,2),0),MATCH ($F$1,INDEX(data,2,),0))
"Profit" is the range name im running the index/match on and "data" is the whole sheet where there is a lot of different information stored.
G1 and F1 are data validation lists that allow the user to pick a month and year and the cell with the index formula will display the profit for that month, for the matching year. This works quite well, however i need to show the profit "year to date".
my question is.. is it possible when the user clicks on say March in the validation list.. i can get the formula to add everything up to and including March (ie Jan feb mar for the selected year) ? Or if they click on December, it adds all 12 months etc...
This has me absolutly stumped how to do it.
any help would greatly be appreciated.
thank you
im a little stuck with something in excel, and was hoping someone might be able to help me.
I have a set of data with the months across the top (Jan to Dec) for the columns and the years for the rows.
i have created the following formula
=INDEX(Profit,MATCH($G$1,INDEX(Profit,,2),0),MATCH ($F$1,INDEX(data,2,),0))
"Profit" is the range name im running the index/match on and "data" is the whole sheet where there is a lot of different information stored.
G1 and F1 are data validation lists that allow the user to pick a month and year and the cell with the index formula will display the profit for that month, for the matching year. This works quite well, however i need to show the profit "year to date".
my question is.. is it possible when the user clicks on say March in the validation list.. i can get the formula to add everything up to and including March (ie Jan feb mar for the selected year) ? Or if they click on December, it adds all 12 months etc...
This has me absolutly stumped how to do it.
any help would greatly be appreciated.
thank you