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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!