Hello,
Often time when I'm trying to build out a long formula, i'll break into components in different cells to make sure I see the values and decide what part needs tweaking. At the end, when all components look right, I want to take the final formula and combine all the pieces into it without have to copy/paste and re-drag the appropriate references. For example here's a date function I'm working on:
A1:6/6/2013 1:51:00 PM
A2:6/7/2013 8:26:00 AM
A3:0.20833
A4:0.66667
B1:=IF(A1-INT(A1)>A4,0,A4-(A1-INT(A1)))
B2:=IF(A2-INT(A2)<A3,0,(A2-INT(A2))-A3)
B3:=IF(INT(A1)=INT(A2),A2-A1,NETWORKDAYS(A1,A2)-2+B1+B2)
So in B3, I want to consolidate the references to B1 and B2 into the formula: =IF(INT(A1)=INT(A2),A2-A1,NETWORKDAYS(A1,A2)-2+IF(A1-INT(A1)>A4,0,A4-(A1-INT(A1)))+IF(A2-INT(A2)<A3,0,(A2-INT(A2))-A3)). This is a little easier of an example with only 1 chain, but I've had several chains pointing all over before.
Any ideas?
Bookmarks