OK let's slow down a bit.
It looks like you have two types of INPUT.
First of all, you have a table of source data, which looks like the data you posted in your first post
Col A = year
Col B = fruit
Col C = data for January
Col D = data for February, and so on.
Second, you have an input of the SPECIFIC year, fruit, and month.
This is another 3 values, let's say they are held in cell A1 for year, B1 for fruit, and C1 for month.
Then you want to calculate an OUTPUT, which is the year's total for that fruit, up to the month specified in C1.
Is this right ?
Don't worry if the cell references are not quite right, you can adapt any solution we come up with to reflect your actual cell references.
I want to check this is right, because this looks like the type of situation that seems fairly straightforward, but once people start offering solutions, a raft of further complications get thrown in.
Are there more complications ?
Also, perhaps consider your posting style.
It usually doesn't add alot of value to quote your own (or anybody's) posts in full, unless there's a good reason to.
It just makes the thread longer and a bit harder to read.
Also, posting several times in a few minutes is un-necessary - if you make a post and then quickly realise you've got more to say, consider editing the post you've just made.