subtracts time array formula

Vishaal

Well-known Member
Joined
Mar 16, 2019
Messages
533
Office Version
  1. 2010
  2. 2007
Platform
  1. Windows
  2. Web
Hi All,

Thanks in advance,

we have the following sheet, we want to subtract B3-B2 in A3,

06-07-2020 13:16
0.00298611106-07-2020 13:21
06-07-2020 13:24
06-07-2020 13:28
06-07-2020 13:36


pls provide any array formulla
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Press CTRL+SHIFT+ENTER for array formula. You can copy the formatting and use the minus formula as given below

06-07-20 13:16
06-07-20 13:21
00-01-00 0:05​
06-07-20 13:24
00-01-00 0:03​
06-07-20 13:28
00-01-00 0:04​
06-07-20 13:36
00-01-00 0:08​
 
Upvote 0
unable to understand,

tried but not working, can you pls share the formula which you have used
 
Upvote 0
can we use below formula

=(if(ISBLANK(A3),,B3-B2))

but i dont know how to convert it to array so that this formula can copy down
 
Upvote 0
Why do you need a array formula. It is just substract?
Please specify your intention
 
Upvote 0
Thanks for your attention but we have got the solution,

we are using this

=ArrayFormula(IF(C5:C="","", C5:C-C4:C))

we need array formula, because if any row deleted, formula will auto change
 
Upvote 0
Thanks for your attention but we have got the solution,

we are using this

=ArrayFormula(IF(C5:C="","", C5:C-C4:C))

we need array formula, because if any row deleted, formula will auto change

But you cannot change part of array format. Row cannot be deleted if you are using array
 
Upvote 0
i don't know but its working fine in my case
 
Upvote 0

Forum statistics

Threads
1,215,650
Messages
6,126,012
Members
449,280
Latest member
Miahr

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