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
- Smartsheet Customer Resources
- 62.3K Get Help
- 364 Global Discussions
- 200 Industry Talk
- 428 Announcements
- 4.4K Ideas & Feature Requests
- 136 Brandfolder
- 127 Just for fun
- 128 Community Job Board
- 446 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!