Adding =If(B3<D3,"" to existing formula

R

Richard

=IF(ISERROR('Tank Sizes'!$F$30-('Tank Sizes'!$F$30/B3))/3.79,"",('Tank
Sizes'!$F$30-('Tank Sizes'!$F$30/B3))/3.79)

How do I add =If(B3<D3,"" to this formula
I don't want the results to show up if it's a negative number.
Thanks in Advance!
 
P

Pete_UK

As well as adding that snippet plus a comma to the beginning, you will
also have to add a closing bracket to the end, like this:

=IF(B3<D3,"",IF(ISERROR('Tank Sizes'!$F$30-('Tank Sizes'!$F$30/B3))/
3.79,"",('Tank Sizes'!$F$30-('Tank Sizes'!$F$30/B3))/3.79))

but you can simplify the formula slightly, like this:

=IF(B3<D3,"",IF(ISERROR('Tank Sizes'!$F$30*(1-1/B3)),"",('Tank Sizes'!
$F$30-'Tank Sizes'!$F$30/B3)/3.79))

Hope this helps.

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top