Count the number of transactions which are cumulatively equal to or greater than $0?
I have a column of unique transaction IDs. These transactions sometimes are reprocessed. I only want to count the transactions which netted positively. For example, transaction A is processed and shows up but then it is returned whereby it shows up again as a negative. I do not want to count that as a transaction. However, if Transaction A was processed, returned, and then reprocessed I want to count that as one transaction. I want to ignore any transactions which were just returns.
Example: I have manually added up the number of transactions.
How do I get this number of transactions correctly totalled by SmartSheet?
Answers
-
You would need to include a helper column. In that column you would use a SUMIFS to output the total $ amount on each row based on the transaction identifier. You can then use a COUNT/DISTINCT/COLLECT formula to count the distinct entries in the transaction column based on the helper column being greater than zero.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 142 Industry Talk
- 473 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!