DKRbella0814
Board Regular
- Joined
- Aug 10, 2008
- Messages
- 155
All of the below formulas are in working order; the one thing I would like to do is add programming language to say that
- if the formula returns an error, then I want a "" blank in the cell; otherwise, perform calculations as indicated.
can someone help me out? Thanks!
=IF(AND(ISBLANK(VLOOKUP(A2,Data!B2:DU2,13,FALSE)),VLOOKUP(A2,Data!B2:DU2,14,FALSE)<>""),VLOOKUP(A2,Data!B2:DU2,14,FALSE)/60,IF(AND(VLOOKUP(A2,Data!B2:DU2,13,FALSE)<>"",VLOOKUP(A2,Data!B2:DU2,14,FALSE)<>""),(VLOOKUP(A2,Data!B2:DU2,13,FALSE)*60+VLOOKUP(A2,Data!B2:DU2,14,FALSE))/60,IF(AND(ISBLANK(VLOOKUP(A2,Data!B2:DU2,13,FALSE)),ISBLANK(VLOOKUP(A2,Data!B2:DU2,14,FALSE))),"",VLOOKUP(A2,Data!B2:DU2,13,FALSE))))
=IF(F2="","",IF(F2>0,((VLOOKUP(A2,Data!$B2:$DU2,19,FALSE)*Calculations2!D2)+VLOOKUP(A2,Data!$B2:$DU2,12,FALSE)),(VLOOKUP(A2,Data!$B2:$DU2,19,FALSE)*Calculations2!D2)))
- if the formula returns an error, then I want a "" blank in the cell; otherwise, perform calculations as indicated.
can someone help me out? Thanks!
=IF(AND(ISBLANK(VLOOKUP(A2,Data!B2:DU2,13,FALSE)),VLOOKUP(A2,Data!B2:DU2,14,FALSE)<>""),VLOOKUP(A2,Data!B2:DU2,14,FALSE)/60,IF(AND(VLOOKUP(A2,Data!B2:DU2,13,FALSE)<>"",VLOOKUP(A2,Data!B2:DU2,14,FALSE)<>""),(VLOOKUP(A2,Data!B2:DU2,13,FALSE)*60+VLOOKUP(A2,Data!B2:DU2,14,FALSE))/60,IF(AND(ISBLANK(VLOOKUP(A2,Data!B2:DU2,13,FALSE)),ISBLANK(VLOOKUP(A2,Data!B2:DU2,14,FALSE))),"",VLOOKUP(A2,Data!B2:DU2,13,FALSE))))
=IF(F2="","",IF(F2>0,((VLOOKUP(A2,Data!$B2:$DU2,19,FALSE)*Calculations2!D2)+VLOOKUP(A2,Data!$B2:$DU2,12,FALSE)),(VLOOKUP(A2,Data!$B2:$DU2,19,FALSE)*Calculations2!D2)))