formula calculation gets wrong - using Minute formula

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Perhaps you could tell us what formula is in C3?
 
Upvote 0
it is because the function minute only works with positive numbers, 8 hours 50 minute minus 7 hours 24 minutes give a positive time value, while 5 hours 50 minutes minus 7 hours 24 minutes gives you a negative time value, time cannot be negative. so depend what result you wnat as to how to solve the problem
 
Upvote 0
Do you really want 26 rather than 86 as the result for C2? Do you not care about the hours part?
 
Upvote 0
Ohh...is that the wrong answer...
I want to use minute function...first time using minute formula..
Help in guide the same..
Do you really want 26 rather than 86 as the result for C2? Do you not care about the hours part?
 
Upvote 0
Since there are 1440 minutes in a day, you could use:

=(A3-B3)*1440
 
Upvote 0
with this formula I have one more requirement..
suppose,
"IF the value in cell A1 is BLANK, then return "BLANK""
"IF the value in cell A1 is TEXT, then return "TEXT""
"IF the value in cell A1 is NUMERIC, then return "NUM""

How do I use formula for this..
 
Upvote 0
That's a completely different formula.

=if(a1="","BLANK",IF(ISNUMBER(A1),"NUM","TEXT"))
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,173
Members
451,543
Latest member
cesymcox

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