Array Formula with AND operator
I have the following array formula that works correctly as long as the range I16:I39 has data in it; however there may be times when cells in that range are set to blank via another formula. When this happens, I get an error. Code: -------------------- =SUM((E16:E39TODAY()-180)*(E16:E39<=TODAY())*(I16:I39<"")*(I16:I39))*8 -------------------- Thanks. -ep -- edwardpestian ------------------------------------------------------------------------ edwardpestian's Profile: http://www.excelforum.com/member.php...o&userid=33809 View this thread: http://www.excelforum.com/showthread...hreadid=561957 |
Array Formula with AND operator
Okay, I got it.. Code: -------------------- =SUM(IF((E16:E39TODAY()-180)*(E16:E39<=TODAY())*(I16:I39<""),(I16:I39),0) )*8 -------------------- -- edwardpestian ------------------------------------------------------------------------ edwardpestian's Profile: http://www.excelforum.com/member.php...o&userid=33809 View this thread: http://www.excelforum.com/showthread...hreadid=561957 |
All times are GMT +1. The time now is 06:00 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com