Amount in negative
Hello,
How can I show the amount in negative when the status changes.
For example, here in the screenshot, the red highlighted one has the status 'OUT'. I want the amount to show in negative in the next column. Thanks
Best Answers
-
Try this:
=IF(Status@row = "OUT", 0 - [Amount in LC]@row)
-
Instead of looking for the exact status of "OUT", you can look to see if the cell contains the word "out" with other text by using the CONTAINS Function.
Try:
=IF(CONTAINS("OUT", Status@row), 0 - [Amount in LC]@row)
Cheers,
Genevieve
Answers
-
Try this:
=IF(Status@row = "OUT", 0 - [Amount in LC]@row)
-
@Paul Newcome Thank You :)
-
-
Hi, @Paul Newcome I have a follow-up question. How to build the same formula for different statuses.
This is the list of statuses we have.
OUT - to the next month
OUT - to the future month
IN - Into the current month
The value should be shown with a negative sign for status Out and a positive sign for status IN
-
Instead of looking for the exact status of "OUT", you can look to see if the cell contains the word "out" with other text by using the CONTAINS Function.
Try:
=IF(CONTAINS("OUT", Status@row), 0 - [Amount in LC]@row)
Cheers,
Genevieve
-
Thank you @Genevieve P. :)
Help Article Resources
Categories
Check out the Formula Handbook template!