I want to calculate Year To Data in B1 based on some data in C1 to N1. The monthnumber is located in cell A1.
There is of course several ways to do this, but is there a simple and easy formula one can use.
I want to calculate Year To Data in B1 based on some data in C1 to N1. The monthnumber is located in cell A1.
There is of course several ways to do this, but is there a simple and easy formula one can use.
Last edited by mkvassh; 12-06-2009 at 02:43 PM.
I found one on my own. This one will do the job.
=SUM(C1:INDEX(C1:N1,A1))
Assuming the month number corresponds - ie if A1 is 1 this means C1 only then
=SUM(C1:INDEX(C1:N1,A1))
edit: snap
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
Thank you DonkeyOte
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks