noveske
Board Regular
- Joined
- Apr 15, 2022
- Messages
- 120
- Office Version
- 365
- Platform
- Windows
- Mobile
- Web
I put a number into F5. The number in F5 is rounded up to the nearest whole number.
Example:
1.1 = 2
9.99 = 10
11.46 = 12
Here is the formula:
The formula works if the decimal goes out to the hundreths. .xx
But when it's just a single decimal in the tenths, it doesn't round up.
The value that's entered into F5 is: mm (m)
Copied and pasted value. So the formula needs to remove "(m)".
Any solutions here? Been stuck on this one a while.
Example:
1.1 = 2
9.99 = 10
11.46 = 12
Here is the formula:
Excel Formula:
=CEILING(LEFT(F5,SUM(LEN(F5)-LEN(SUBSTITUTE(F5,{"0","1","2","3","4","5","6","7","8","9"},"")))),1)
The formula works if the decimal goes out to the hundreths. .xx
But when it's just a single decimal in the tenths, it doesn't round up.
The value that's entered into F5 is: mm (m)
Copied and pasted value. So the formula needs to remove "(m)".
Any solutions here? Been stuck on this one a while.