If Function Roundup

Tazlady34

Board Regular
Joined
Mar 6, 2003
Messages
56
I have a formula on my spreadsheet
=IF(G5>M5,M5,G5)
that gives a result of 705470.61

I want the result to be rounded up
when i put the formula in brackets and roundup in front that doesnt work
what am i doing wrong. (note: i did try to format cell and got rid of dec places but that didnt work because later i add these cells and want to add the rounded up number)
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
The first time i put the formulas in that yall helped me with the first worked and second didnt...but just went and did it again and they both work...thank you for your time and help :-P
 
Upvote 0
=IF(G5>M5,ROUNDUP(M5,0),ROUNDUP(G5,0))

How do I use roundup with formula?
=IF(B4<A4,SUM(A4-B4)/$A$1,"Achieved")

I tried =ROUNDUP(IF(B4<A4,SUM(A4-B4)/$A$1,"Achieved"),0) but I get #Value instead of Achieved>
Thank you in advance
 
Upvote 0
@Obwan.... You are "responding" to a 16-year-old (!) thread. Also, I think your posting got mangled by this forum's GUI.

I suggest that you repost by starting your own thread. If it includes "<" or ">", be sure to type spaces around the symbol.
 
Upvote 0

Forum statistics

Threads
1,226,452
Messages
6,191,120
Members
453,640
Latest member
CJF22

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