if statement - Excel "IF" function. -


if want ask excel calculate in cell if 2 other cells have values in them, code? know calculate if single cell has value =if(a1=0,"",b1-b2)....but how add criteria 2 cells have value in them?

example a1 , b1 0:

=if(and(a1=0,b1=0),"",b1-b2) 

Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -