View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Luke M Luke M is offline
external usenet poster
 
Posts: 2,722
Default sum only if there is a value in cells

=IF(AND(ISNUMBER(A1),ISNUMBER(A2)),A1+A2,"")

--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Geo" wrote:

I have the following formula:
A3=SUM(A1+A2)
Is there a way so that A3 only sums if there is a value in both cells and
not if there is text?
The values are hours and minutes.