Question????

S

Syd

I want to deduct the values in BB11 only if they are less that 1440

=IF(ISERROR(BF11-BB11=0," ",BF11-BB11)*(BB11<1440)*BB11)

Can some one assist in the function correction process??

Thanks
 
S

Syd

Thanks Frank

However, it generates the dreaded #Value! error if one of the cells involved are blank. It should work fine, other than the #Value! error


----- Frank Kabel wrote: ----

H
why no
=BF11-(BB11<1440)*BB1

--
Regard
Frank Kabe
Frankfurt, German


Syd wrote
 
F

Frank Kabel

Hi
I assume the cells are not really blank but may contain a value like ""
or a space. you may wrap this formula in a ISERROR function call:
=IF(ISERROR(BF11-(BB11<1440)*BB11),"",BF11-(BB11<1440)*BB11)

or check
=IF(AND(BF11<>"",BB11<>""),BF11-(BB11<1440)*BB11,"")
 

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

Left Function 1
Summary Sheet Returning #value! 1
Sort Query 1
UK Postcode Sort 2
find/replace 2
Pause code execution: how? + something wierd 0
IF-Then formula problem 6
Incorrect values returned 2

Top