Generate value depending on the 5 digit decimal numbers

hsandeep

Well-known Member
Joined
Dec 6, 2008
Messages
1,214
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

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Upvote 0

Forum statistics

Threads
1,215,459
Messages
6,124,945
Members
449,198
Latest member
MhammadishaqKhan

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