I have the following excel sheet:
Value
2 50
3 60
4 50
5 0
6 0
7 60
I am trying to count the number of times when comparing 2 rows a time the first or second is bigger by Value and Value is not 0.
For example:
I am currently using:
=IFS(A2>A3;"Original";A2<A3;"Fake";A2=A3;"Equal")
Which simply adds a text value to column B by checking 2 Values. What I'd like to add is a statement - & Value>0.
Expected output:
Value State
2 50 Fake
3 60
4 50 (empty because row 5 is 0)
5 0
6 0 (empty because row 6 is 0)
7 60
In short - how can I count the number of occurrences when condition #1 is met and condition #2 is met, when the second condition is not a text value but a number comparison?
Thank you for your suggestions.
