Return blank if 3 cells = 0, otherwise sum cells that are not blank

Heaney

New Member
Joined
Sep 23, 2005
Messages
35
Office Version
  1. 365
Platform
  1. Windows
Good afternoon!

I have a sheet where I'm trying to calculate turn around time.

Colum I = "Completion Time A", with the following formula in I6: =IF(OR(C6="",B6=""),"",C6-B6)
Column J = "Completion Time B", with the following formula in J6: =IF(OR(E6="",D6=""),"",E6-D6)
Column K = "Completion Time C", with the following formula in K6: =IF(OR(G6="",F6=""),"",G6-F6)

Column L = TAT

What I would like to do is have column L return a blank value if cells I6:K6 are all blank. If any of the cells has a value I would like to SUM I6:K6. I'm struggling to come up with a formula that works.

Thank you in advance!
 

Attachments

  • Example.png
    Example.png
    20.8 KB · Views: 10

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
try this
Excel Formula:
=If(AND(I6="",J6="",K6=""),"",Sum(I6:K6))
 
Upvote 0
Solution

Forum statistics

Threads
1,224,826
Messages
6,181,192
Members
453,021
Latest member
pingpong7117

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top