I have found quite a lot of answer about rounding decimals, however I need to sort out a simple formula for LibreOffice Calc that allows me to draw up estimates ending to the nearest 7 so for example if the quote is 1372 it should be rounded down to 1367 while if it is 1375 becomes 1377 what would be a really simply formula that does not involve coding or macros?
Making a number end to the nearest 7 (no decimals)
141 Views Asked by Ritardi.Net At
2
There are 2 best solutions below
0
tohuwawohu
On
You could use the default ROUND() function while "shifting" the values by 3:
=ROUND(A1+3;-1)-3
This gives the following results:
In other words: add your offset "3" to the initial value, ROUND() it to the nearest multiple of ten, and subtract the offset again.
But this will round 1372 to 1377, since it's a "shifted" 1375 which will round up to 1380 (see Matthew Strawbridge's comment to the question).
Related Questions in MATH
- bc: prevent "divide by zero" runtime error on multiple operations
- How to round smoothly percentage in JS
- Calculate if trend is up, down or stable
- How to pick a number based on probability?
- Python 2.7 - find combinations of numbers in a list that add to another number
- How to translate an object to a location slowly (so that it can be seen)
- max() implemented with basic operators
- Matlab: how to fit time series with a funcion of a certain type
- 3D B-Spline approximation
- Issues with adding doubles. Arithmetic Coding
- Calculate new position post rotation
- Javascript: PI (π) Calculator
- How to compute a^^b mod m?
- Need Custom Query in SQL Server
- Number of divisiors upto 10^6
Related Questions in ROUNDING
- How to round smoothly percentage in JS
- How to make all variables in javascript script have two decimal points
- Crystal report to rounding
- How to rounding up in oracle
- PHP Round With Decimal & Comma $1,000
- return decimal with two decimal places C#
- summary() rounding
- What am I missing in understanding round() function?
- Go through Cells and Round to Closest 5 VBA
- Sqlite Rounding
- RoundingMode.HALF_DOWN issue in Java8
- Biggest possible rounding error when computing floating-point numbers
- Why is rounding done like this?
- How to round float in c#
- BigDecimal setScale method returning strange results
Related Questions in LIBREOFFICE
- LibreOffice 4.4.3 - Accessing Documents with jodconverter on different server
- LibreOffice - How to create a file dialog via python macro?
- Space before caption
- libreoffice output filter names
- how export to pdf with embeded fonts in centos soffice command line?
- Best ways of getting tables from R into Libre Office Writer?
- How to automatically calculate the SUS Score for a given spreadsheet in LibreOffice Calc?
- Preview MSOffice files in .NET WPF app via OpenOffice/LibreOffice
- How can I update LibreOffice Calc cells in real-time from a MySQL database?
- Optimizing formula copying in PyUno
- Making a number end to the nearest 7 (no decimals)
- Can I use OR in LibreOffice calc IF statement?
- Lack of access to all functions in exposed interfaces?
- Quickest way to apply a formula to an entire column?
- In Python: Get path and name of file that is open in LibreOffice and Evince
Related Questions in LIBREOFFICE-CALC
- SUM(IF()) not working
- LibreOffice: Cells with text to date
- Best ways of getting tables from R into Libre Office Writer?
- How to automatically calculate the SUS Score for a given spreadsheet in LibreOffice Calc?
- Spreadsheet if else sum
- How can I update LibreOffice Calc cells in real-time from a MySQL database?
- LibreOffice Calc new line in cell format code
- Dynamic number of random numbers
- UDF/User defined function libreoffice basic with built-in help/tip
- Replicate data in cells on other sheets within same document on a global document basis in LibreOffice Calc
- Making a number end to the nearest 7 (no decimals)
- Moving selection (only) of selected rows between columns
- Testing if first character of a string is non-numeric in LibreOffice Basic
- Can I use OR in LibreOffice calc IF statement?
- Why is cell increment not detected correctly in LibreOffice Calc
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?

As for now the solution I found is this one:
The problem with this is that does not round to the nearest 7 but to 7 so for example 362,00 becomes 367,00 and not 357,00 as intended.
Edit: this resolve the issue above, hope this helps:
Removing 10 from the total
I25due to theROUNDfunction will correct the result, so for example 362 becomes 35,2 rounded to 35 + 0.7 we get 35.7 and finally 357 as intended. While for upper values, say 365 rounding 35.5 gives us 36 + 0.7 we get 367,00 again to nearest 7 units as intended!