[Solved] Calculated % in one cell <> identical % Etered in another cell
[Solved] Calculated % in one cell <> identical % Etered in another cell
Is there a secret to getting a return of TRUE when testing for equality between a calculated percent in one cell and an identical entered percent in another cell? Both cells have the same formatting, the only difference is one is a keyboard entry, one is the result of a calculation. Puzzling.
Last edited by floris v on Sun Mar 02, 2025 8:33 pm, edited 2 times in total.
Reason: Tagged Solved as per OP's last post
Reason: Tagged Solved as per OP's last post
Open Office 4.1.15, Windows 11
- Hagar Delest
- Moderator
- Posts: 33629
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: Calculated % in one cell <> identical % Etered in another cell
If the 2 cells are for example A1 and B1, try:
=A1=B1
If it doesn't work, please upload a sample file to show what is the context exactly.
Please add [Solved] at the beginning of the title in your first post (top of the topic) with the ✎ button if your issue has been fixed.
=A1=B1
If it doesn't work, please upload a sample file to show what is the context exactly.
Please add [Solved] at the beginning of the title in your first post (top of the topic) with the ✎ button if your issue has been fixed.
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE 7 Gigi) and 25.2 portable on Windows 11.
Re: Calculated % in one cell <> identical % Etered in another cell
If Hagar Delest's method doesn't work (might be because of different rounding), try =(A1-B1) < 0.0001 or another small number.
LibreOffice 25.8.4.2 on Ubuntu Linux
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
Re: Calculated % in one cell <> identical % Etered in another cell
=ABS(A1-B1)<0.0001
AOO 4.1.16 & LO 25.8.3 on Windows 10
Re: Calculated % in one cell <> identical % Etered in another cell
@Alex1 already showed a possible way to a solution.
Pointing out the central fact: Rounding isn't done by formatting, but -where needed- with the help of the ROUND() function. Formatting only does something like rounding for the view without changing the value of the cell it's applied to.
===
If somebody tells you that there is an option "Precision as shown": don't enable it. It comes with lots of disadvantages!
===
On Windows 10: LibreOffice 25.8.4 and older versions, PortableOpenOffice 4.1.7 and older, StarOffice 5.2
---
Lupp from München
---
Lupp from München
Re: Calculated % in one cell <> identical % Etered in another cell
Problem SOLVED. It was the rounding that was the problem. Thank you for your help.
Open Office 4.1.15, Windows 11