Roundup Function

Killer_Bud

New Member
Joined
Nov 7, 2005
Messages
21
Is there a way to round a whole number up to the next whole number in Excel 2000 ? ie: If A3=3, roundup to 4 ? Roundup works great if A3=3.1, but won't roundup to the next whole number if A3=3.

Can anybody help ?

Thanks,
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Bud,

Wouldn't a simple

=A3+1 work for this? Or are there more conditions?


Cheers,
Matt
 
Upvote 0
Sorry, I should have been more specific. I have a table from L1:T52. Column L has numbers 0-52. A3 for instance would be my id of a gasket.
This table is used to calculate a cost based on this id of the gasket. Price wise, we would like to always roundup to the next whole number should this number be a whole number. I can't use a simple formula such as A3+1 or it will always be adding 1 when I only need it to do this when A3 is a whole number. Is there a condition I can use that: IF A3=A WHOLE NUMBER BETWEEN 1-52, ROUNDUP TO NEXT WHOLE NUMBER ?

If there is nothing I can do I will just have to modify my costs as the time arises with my problem.

Thanks,
 
Upvote 0
Seti.....your:
=IF(AND(A3=INT(A3),A3<53,A3>0),A3+1,A3)

works great for the whole number, but if A3=3.4 it's not rounding it
up to 4. I need the best of both worlds on this one.

Thanks,
 
Upvote 0
You said you only wanted it to round up if it was a whole number.

Perhaps:

Without a check for 0-52:

=INT(A3+1)

What do you want to do if it is outside this range?
 
Upvote 0

Forum statistics

Threads
1,214,797
Messages
6,121,629
Members
449,041
Latest member
Postman24

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