Rounddown to nearest .50

caspertg

New Member
Joined
Jul 18, 2013
Messages
4
Hi Folks,

Please can somebody help me with rounding.

I am trying to round down after the decimal point to the nearest .5.

So in C22 i have the number result of hours worked from time format.
C21 shows something like 06:46 hours worked.
C22 converts that to number using *24 formula
which has the result 6.77(thanks for that thread by the way).

Now in C28 i need a formula that will always round down to the nearest .5.
So anything before the decimal should be ignored and anything after the decimal should be rounded down in thefollowing ranges:
.01-.49 down to .0
.51-.99 down to .5
And as u can see .0 &.5 should remain the same.

Thanks for providing a site like this. When running a home business with little to no funds avail I have been left to my own devices on many occasions and failed dismally until i found you guys.
So again thank you so much for taking time to help the lil guy out.
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

Forum statistics

Threads
1,217,376
Messages
6,136,198
Members
449,998
Latest member
jpaul123

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