# suming time into minutes

#### Fyr

##### Active Member
I want to =sum time from two time formart values.
Example: 7:30 - 11:30 = 4:00
but I want it to be like this: 7:30 - 11:30 = 240 minutes.

thanks for taking a look!

### Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

#### c_m

##### Well-known Member
Try
=HOUR(B1-A1)*60+MINUTE(B1-A1)
where A1 = 7:30 and B1 = 11:30
and format the cell to general.

#### barry houdini

##### MrExcel MVP
If start time is in A1 and end time in B1 try

=MOD(B1-A1,1)*1440

#### Fyr

##### Active Member
thanks that worked!!

#### c_m

##### Well-known Member
If start time is in A1 and end time in B1 try

=MOD(B1-A1,1)*1440

what is the purpose of MOD for this?
=(B1-A1)*1440
works too.

#### Scott Huish

##### MrExcel MVP
what is the purpose of MOD for this?
=(B1-A1)*1440
works too.

not if your times cross midnight. That's why MOD is used in the formula.

#### c_m

##### Well-known Member
not if your times cross midnight. That's why MOD is used in the formula.
Thankyou

Replies
10
Views
127
Replies
5
Views
114
Replies
10
Views
264
Replies
1
Views
204
Replies
2
Views
363

1,191,621
Messages
5,987,734
Members
440,106
Latest member
davcurnutt

### 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.

### Which adblocker are you using?

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

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