nicolehalliday
Board Regular
- Joined
- May 19, 2010
- Messages
- 56
Hi,
I am trying to average if, however the function is not available in Excel 2003. I want to average values in range K4:K103, only if the corresponding value in the same row but in range E4:E103 equals 1. I have tried embedding an 'if' into an 'average':
=AVERAGE(IF($E$4:$E$103="1",K4:K103,FALSE))
I also thought about doing a vlookup. I would enter the vlookup in a separate worksheet or table and lookup each value in column K that has a 1 in column E. Then I would average all of those values and just link the average into my master spreadsheet. However, I am not very experienced in Excel and I couldn't think of a way to look up the NEXT value, and end up with each different value that meets the condition.
I also had the idea about using the offset function somewhere because basically i want to average all of the values in column E that are 1, except offset by 6 columns to the right.
I have spent much too long working on this simple function and would really appreciate some help!!!!!!!!!!!!! Thanks
I am trying to average if, however the function is not available in Excel 2003. I want to average values in range K4:K103, only if the corresponding value in the same row but in range E4:E103 equals 1. I have tried embedding an 'if' into an 'average':
=AVERAGE(IF($E$4:$E$103="1",K4:K103,FALSE))
I also thought about doing a vlookup. I would enter the vlookup in a separate worksheet or table and lookup each value in column K that has a 1 in column E. Then I would average all of those values and just link the average into my master spreadsheet. However, I am not very experienced in Excel and I couldn't think of a way to look up the NEXT value, and end up with each different value that meets the condition.
I also had the idea about using the offset function somewhere because basically i want to average all of the values in column E that are 1, except offset by 6 columns to the right.
I have spent much too long working on this simple function and would really appreciate some help!!!!!!!!!!!!! Thanks