How do you write an IF statement where: if either of 2 cells is blank then the given formula will not be shown?
If A2 is blank or D2 is blank then B2+F2 is not shown in cell G2.
How do you write an IF statement where: if either of 2 cells is blank then the given formula will not be shown?
If A2 is blank or D2 is blank then B2+F2 is not shown in cell G2.
If(Or(A2="",D2=""),"",B2+F2)
Alan עַם יִשְׂרָאֵל חַי
Change an Ugly Report with Power Query
Database Normalization
Complete Guide to Power Query
Man's Mind Stretched to New Dimensions Never Returns to Its Original Form
Hi and welcome to the forum
number of ways to do this, these are based on either cells being blank (as opposed to both have to be blank)...
=if(or(A2="",D2=""),"",your-formula)
=if(counta(A2,D2)<2,"",your-formula)
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
Thanks guys for the quick help it worked great!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks