Generate value depending on the 5 digit decimal numbers

hsandeep

Well-known Member
Joined
Dec 6, 2008
Messages
1,215
Office Version
  1. 2010
Platform
  1. Windows
  2. Mobile
Range C3:C8 generates numerical values which are decimal numbers or 0. These decimal numbers have 5 digit whole numbers and fractional part.
D2= generates numerical values
E2= generates numerical values

Output range F3:F8 required such that
Example for C3 (42583.569)
IF ceiling(C3,E2)<=C3+D2, then C3=E2+ceiling(C3,E2)
IF ceiling(C3,E2)>C3+D2, then C3=ceiling(C3,E2)
& so on for C4:C8
How to accomplish?
Thanks in advance.

Book2.xlsx
CDEF
220100
342583.56942700.000
442987.23043100.000
542950.00043000.000
642980.00043100.000
743000.00043100.000
842220.00042300.000
Sheet2
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Upvote 0

Forum statistics

Threads
1,216,086
Messages
6,128,736
Members
449,466
Latest member
Peter Juhnke

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