Dates and ROUND

jarl1947

New Member
Joined
Sep 26, 2002
Messages
48
I'm doing some calculations using dates and need to express the results to the nearest half day. Can I use the ROUND function to do this? Ideally, I'd like to be able to produce results which show the half day only where applicable and just the full days in other cases e. g. 23 days or 23.5 days not 23.00 days or 23.50 days.

Thanks in advance
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Andrew, you beat me to it:)

Here's some more info that might be helpful-

If you see error on entering Andrew's formula, do Tools>Add-ins and from the Add-ins list select 'Analysis Toolpack' to load the add-in. Hit F9 to recalculate the workbook.

If you do not see the 'Analysis Toolpack' in the add-ins list you need to update your Excel installation taking care to select option of installing the 'Analysis Toolpack' add-in.
 
Upvote 0
On 2002-10-11 08:22, Mala wrote:
Andrew, you beat me to it:)

Here's some more info that might be helpful-

If you see error on entering Andrew's formula, do Tools>Add-ins and from the Add-ins list select 'Analysis Toolpack' to load the add-in. Hit F9 to recalculate the workbook.

If you do not see the 'Analysis Toolpack' in the add-ins list you need to update your Excel installation taking care to select option of installing the 'Analysis Toolpack' add-in.

It can also be computed with the Analysis Toolpak...

=ROUND((formula-that-computes-days-to-be-rounded)/0.5)*0.5

The OP didn't tell which formula is used to compute days like 23.1 or 23.8.
 
Upvote 0

Forum statistics

Threads
1,224,889
Messages
6,181,608
Members
453,055
Latest member
cope7895

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