Hi to all,
please help.
I use the function if and sometimes the result is false. And I would need to add a condition to my formula with the function if that when I come out false so that the result is zero.
do you know how to do it?
Thanks
Hi to all,
please help.
I use the function if and sometimes the result is false. And I would need to add a condition to my formula with the function if that when I come out false so that the result is zero.
do you know how to do it?
Thanks
Last edited by FDibbins; 06-22-2022 at 12:44 AM. Reason: edited title
It would help if you gave us the formula that you are currently using.
In general, you could do this:
=IF(your_condition, your_TRUE_result, 0)
Hope this helps.
Pete
IF statements have 3 arguments....
=if(test-to-perform, do-this-if-test-is-true, do-that-if-test-is-false)
So in your case, it would be something like...
=if(test-to-perform, do-this-if-test-is-true, 0)
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
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks