multiple if statement

M

monical99

I am tracking un-recognized costs for the whole year. My data have 1
columns Jan, Feb...Dec. I want to have a total column showing th
remaining un-recognized costs. For example in cell A1 I entered 6 fo
June , then in A2 I want the formula to sum the numbers in July throug
Dec. Next month, I change cell A1 to 7, then I want A2 to sum Au
through Dec.

Can anyone help me write this?
Thank
 
J

Jason Morin

If your months are listed in B1:M1 and the costs are
found directly below in B2:M2, use this in A1:

=SUM(OFFSET(B2,,A1,,12))

HTH
Jason
Atlanta, GA
 
J

Jason Morin

Sorry, I mean insert the formula into A2.
-----Original Message-----
If your months are listed in B1:M1 and the costs are
found directly below in B2:M2, use this in A1:

=SUM(OFFSET(B2,,A1,,12))

HTH
Jason
Atlanta, GA
I
entered 6 for
.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top