I'm trying to create a summary field formula to count two different values in the same column.
I'm trying to create a summary field formula to count two different values in the same column. getting 0, I have PIVOTE table created for PO/Buyer tracker, in the ROW column I have PO number, Year of Creation & Buyer Name, I want to calculate PO count per buyer per year
(eg. Year 2023 / PO Count "XX", For each buyer. screenshot attached pls advise
Answers
-
I have got this idea:
1- Create 2 helper columns : Buyer and Year with following column formulas:
Buyer
=IF(COUNT(ANCESTORS(ROW@row)) = 0, JOIN(CHILDREN(ROW@row)))
Year
=VALUE(IF(COUNT(ANCESTORS(ROW@row)) = 0, RIGHT(JOIN(DESCENDANTS(ROW@row), "*"), LEN(JOIN(DESCENDANTS(ROW@row), "*")) - FIND("*", JOIN(DESCENDANTS(ROW@row), "*")))))
2- Create summary fields in the Sheet Summary with following formulas:
#PO / Buyer 1 / 2023
=COUNTIFS(Buyer:Buyer, "Buyer 1", Year:Year, 2023)
#PO / Buyer 2 / 2024
=COUNTIFS(Buyer:Buyer, "Buyer 2", Year:Year, 2024)
Hope it works for you.
Gia Thinh Technology - Smartsheet Solution Partner.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.4K Get Help
- 396 Global Discussions
- 213 Industry Talk
- 448 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 133 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 293 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!