I'm working on a formula that will sum certain cells on one spreadsheet based on a value in a different cell on a different spreadsheet. the formula below is what I've come up with so far:
=IF('Table of Contents'!F1=1,SUM(Roseville!E26:E26),IF('Table of Contents'!$F$1=2,SUM(Roseville!E26:F26)))
as I will need a total of 12 if's (F1 =1, F1 = 2 all the way to F1=12,SUM (Roseville!E26:P26), I was wondering if there were a neater way of creating this formula. I have Excel 2007.
as always, thanks for the help!
Deb
=IF('Table of Contents'!F1=1,SUM(Roseville!E26:E26),IF('Table of Contents'!$F$1=2,SUM(Roseville!E26:F26)))
as I will need a total of 12 if's (F1 =1, F1 = 2 all the way to F1=12,SUM (Roseville!E26:P26), I was wondering if there were a neater way of creating this formula. I have Excel 2007.
as always, thanks for the help!
Deb