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.5K Get Help
- 430 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 146 Just for fun
- 63 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!