I'm already using countifs to count components per part, I haven't tied dates into it yet, however my formulas are so long and so many that they slow down excel everytime you enter a value into a cell covered by the countifs
I'm using Excel 2007.
So I thought a macro approach might help get around that.
=COUNTIFS(sheet1!Q:Q,q_1,sheet1!U:U,A176)+COUNTIFS(sheet1!R:R,q_1,sheet1!U:U,A176)+COUNTIFS(sheet1!S:S,q_1,sheet1!U:U,A176)+COUNTIFS(sheet1!T:T,q_1,sheet1!U:U,A176)+COUNTIFS(sheet1!X:X,q_1,sheet1!AB:AB,A176)+COUNTIFS(sheet1!Y:Y,q_1,sheet1!AB:AB,A176)+COUNTIFS(sheet1!Z:Z,q_1,sheet1!AB:AB,A176)+COUNTIFS(sheet1!AA:AA,q_1,sheet1!AB:AB,A176)+COUNTIFS(Ndiag!Q:Q,q_1,Ndiag!B:B,A176)+COUNTIFS(Ndiag!R:R,q_1,Ndiag!B:B,A176)+COUNTIFS(Ndiag!S:S,q_1,Ndiag!B:B,A176)+COUNTIFS(Ndiag!T:T,q_1,Ndiag!B:B,A176)
In this case, q_1 is a cell name of a cell containing "Q1". the formula searches 12 columns, 8 in the first sheet and 4 in the 2nd, then adds all the countifs. hence it's lenght. A load of these slow down excel a bit :P
Bookmarks