Hello, MrExcel Forum,
I would like to be able to accomplish the following.
If cells C13:C28 and F13:F28 = 1, 2, 3, 4, 5, and D13:D28 and F13:F28 = "test" then 1 for true.
The issue I'm having is trying to utilize multiple cell ranges. Here is a one of the many formula's I've been working at.
=SUM(IF($B$13:$B$28={1,2,3,4,5,6,7,8,9,10,11,12},IF($C$13:$C$28="New Mod",1,0),0))+SUM(IF($B$42:$B$54={1,2,3,4,5,6,7,8,9,10,11,12},IF($C$42:$C$54="New Mod",1,0),0)+SUM(IF($F$5:$F$28={1,2,3,4,5,6,7,8,9,10,11,12},IF($G$5:$G$28="New Mod",1,0),0)+SUM(IF($F$42:$F$53={1,2,3,4,5,6,7,8,9,10,11,12},IF($G$42:$G$53="New Mod",1,0),0)+SUM(IF($J$7:$J$28={1,2,3,4,5,6,7,8,9,10,11,12},IF($K$7:$K$28="New Mod",1,0),0)+SUM(IF($J$42:$J$53={1,2,3,4,5,6,7,8,9,10,11,12},IF($K$42:$K$53="New Mod",1,0),0)+SUM(IF($N$9:$N$33={1,2,3,4,5,6,7,8,9,10,11,12},IF($O$9:$O$33="New Mod",1,0),0)))))))
********>(function(){ function hasHandler(e) { return(e && e.toString().indexOf("alert") != -1); } if(hasHandler(window.oncontextmenu) || hasHandler(document.oncontextmenu)) window.oncontextmenu = document.oncontextmenu = null; if(hasHandler(window.onmousedown) || hasHandler(document.onmousedown)) window.onmousedown = document.onmousedown = null; if(hasHandler(window.onmouseup) || hasHandler(document.onmouseup)) window.onmouseup = document.onmouseup = null;})();*********>
I would like to be able to accomplish the following.
If cells C13:C28 and F13:F28 = 1, 2, 3, 4, 5, and D13:D28 and F13:F28 = "test" then 1 for true.
The issue I'm having is trying to utilize multiple cell ranges. Here is a one of the many formula's I've been working at.
=SUM(IF($B$13:$B$28={1,2,3,4,5,6,7,8,9,10,11,12},IF($C$13:$C$28="New Mod",1,0),0))+SUM(IF($B$42:$B$54={1,2,3,4,5,6,7,8,9,10,11,12},IF($C$42:$C$54="New Mod",1,0),0)+SUM(IF($F$5:$F$28={1,2,3,4,5,6,7,8,9,10,11,12},IF($G$5:$G$28="New Mod",1,0),0)+SUM(IF($F$42:$F$53={1,2,3,4,5,6,7,8,9,10,11,12},IF($G$42:$G$53="New Mod",1,0),0)+SUM(IF($J$7:$J$28={1,2,3,4,5,6,7,8,9,10,11,12},IF($K$7:$K$28="New Mod",1,0),0)+SUM(IF($J$42:$J$53={1,2,3,4,5,6,7,8,9,10,11,12},IF($K$42:$K$53="New Mod",1,0),0)+SUM(IF($N$9:$N$33={1,2,3,4,5,6,7,8,9,10,11,12},IF($O$9:$O$33="New Mod",1,0),0)))))))
********>(function(){ function hasHandler(e) { return(e && e.toString().indexOf("alert") != -1); } if(hasHandler(window.oncontextmenu) || hasHandler(document.oncontextmenu)) window.oncontextmenu = document.oncontextmenu = null; if(hasHandler(window.onmousedown) || hasHandler(document.onmousedown)) window.onmousedown = document.onmousedown = null; if(hasHandler(window.onmouseup) || hasHandler(document.onmouseup)) window.onmouseup = document.onmouseup = null;})();*********>
Last edited: