![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Apr 2002
Posts: 3
|
Hi there,
Is is possible to round a Time(HH:MM) formated field that all ready has a formula in it<=IF(D432="","",SUM((D432-E432)))> to be rounded to the nearest 15; 30; 45 minutes. Like for example if I have 5:10(Five hours & ten minutes) and want to round it up to 5:15. Is this possible?? Thanks |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
where A1 houses a time value whether or not computed by means of a formula. Maybe you want to include this directly in your formula: =IF(D432,ROUND((D432-E432)*24/0.25,0)*(0.25/24),"") Note. I slightly modified your formula because you don't SUM((D432-E432)) is identical to D432-E432. |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|