leighhobson89
New Member
- Joined
- Aug 25, 2016
- Messages
- 36
In Google Sheets I have a column that checks another two column's and calculates the difference. I already have it conditionally formatting to be green or red depending on the difference being less than or equal to 0, and greater than 0 respectively, but I specifically want to have it display "+" if the number is greater than 0 and obviously not if it is a negative number, the negative being added automatically, unless it is zero where a sign is not needed at all (although a plus is acceptable).
I have played around with custom formats, nothing there that I could see that gives me this result, or that I could figure out.
I have tried with the concatenate and if functions, but this then destroys the formatting of the cell which is required to be a duration.
Is there a way to achieve this relatively simply?
Examples:
Comparison Value 1:
00:13:06.00
Comparison Value 2:
00:12:57.00
Output needed in Cell:
-00:00:09.00
Comparison Value 1:
00:12:57.00
Comparison Value 2:
00:13:06.00
Output needed in Cell:
+00:00:09.00
Thank You.
I have played around with custom formats, nothing there that I could see that gives me this result, or that I could figure out.
I have tried with the concatenate and if functions, but this then destroys the formatting of the cell which is required to be a duration.
Is there a way to achieve this relatively simply?
Examples:
Comparison Value 1:
00:13:06.00
Comparison Value 2:
00:12:57.00
Output needed in Cell:
-00:00:09.00
Comparison Value 1:
00:12:57.00
Comparison Value 2:
00:13:06.00
Output needed in Cell:
+00:00:09.00
Thank You.