Have a cell show blank if there is text in another cell
I want the column Strapi Subsection Code to be blank if there is any text in the Strapi Page code column. How would I add this to this formula?
=IF([Component Type]@row = "Teacher Guidance", LOWER(Curriculum@row + ".g" + [Grade/Level]@row + ".m" + Module@row + IF([Concept/Topic/Arc]@row <> "", "." + [Concept/Topic/Arc]@row + IF(Lesson@row <> "", ".l" + Lesson@row)) + ".tg." + IF([Hierarchy Level]@row = "Module Texts", "mt.") + IF([Hierarchy Level]@row = "Module Overview", "mo.") + IF([Hierarchy Level]@row = "Assessments", "as.") + IF([Hierarchy Level]@row = "Appendices", "ap.") + IF([Hierarchy Level]@row = "Prologue Overview", "po.") + SUBSTITUTE(SUBSTITUTE(SUBSTITUTE([Public Facing Title]@row, " ", ""), CHAR(34), ""), "-", "")))
Answers
-
=If([Strapi Page code]@row<>"","",IF([Component Type]@row = "Teacher Guidance", LOWER(Curriculum@row + ".g" + [Grade/Level]@row + ".m" + Module@row + IF([Concept/Topic/Arc]@row <> "", "." + [Concept/Topic/Arc]@row + IF(Lesson@row <> "", ".l" + Lesson@row)) + ".tg." + IF([Hierarchy Level]@row = "Module Texts", "mt.") + IF([Hierarchy Level]@row = "Module Overview", "mo.") + IF([Hierarchy Level]@row = "Assessments", "as.") + IF([Hierarchy Level]@row = "Appendices", "ap.") + IF([Hierarchy Level]@row = "Prologue Overview", "po.") + SUBSTITUTE(SUBSTITUTE(SUBSTITUTE([Public Facing Title]@row, " ", ""), CHAR(34), ""), "-", ""))))
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
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!