Thread: nested if
View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default nested if

If cell B10 is blank, then return the value in D10

It should actually look like this: =IF(B10="",D10)

As for your main:
=IF(D10<K10,L10,IF(D10=K10,F10,IF(D10=0,0.00)))


Try this revision/re-sequenced:
=IF(D10="",0,IF(D10<K10,L10,F10))
which checks for D10 being blank/containing formula blanks
ahead of its subsequent comparison with values in other cell

--
Max
Singapore
http://savefile.com/projects/236895
Downloads:20,000 Files:362 Subscribers:62
xdemechanik
---