Division after >=

stepha

New Member
Joined
Feb 19, 2010
Messages
2
I am trying to take an amount from one column, if it is less than 50, to show 1 and if it is more than 50, to divide by 50 and then round up so there isnt any decimal points. Some values in the first column are upwards of 750 and some are 1. Can anyone help me? I don't even know where to start!
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Welcome to the board..

Try

=MAX(1,ROUNDUP(A1/50,0))

or actually, if the value will never be a Negative, then you don't even need the max, this will do.

=ROUNDUP(A1/50,0)
 
Upvote 0
Thank you SO MUCH!!! I can't believe how quickly you helped me, I have been struggling with this all morning. :)
 
Upvote 0

Forum statistics

Threads
1,223,229
Messages
6,170,881
Members
452,364
Latest member
springate

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