Searching a series of columns for blanks
Hey all.
I am trying to have a column search a series of columns and return the data from the column that is not blank.
I have started with the following:
=IF(NOT(ISBLANK([Title:]1)), [Title:]1, [Peer to Peer Program Title]1)
Which checks the Title column, and if not blank returns the data from Title: column. If the Title: column is blank it returns the value in the Peer to Peer Program Title column.
This works just fine, but I want to go a step further, and if the Peer to Peer Program Title is also blank, I want it to return a value from a third column. I tried to make this work with nested IF statements, but kept getting errors.
Thank you!
Comments
-
Did you try something like this?
=IF(NOT(ISBLANK([Title:]1)), [Title:]1, IF(NOT(ISBLANK([Peer to Peer Program Title]1)), [Peer to Peer Program Title]1, [Third Column]1))
-
This works.
Per usual I had something similar if not that same framework, but must have had a parenthesis out of place, or missed a comma.
THANK YOU Brian!
-
Depending on how many columns you are looking at, this could get rather huge rather quickly. If you have lets just say 10 columns you were looking across and only one would be populated and you wanted to pull that one single one, you could use
=JOIN(COLLECT([Column 1]@row:[Column 10]@row, [Column 1]@row:[Column 10]@row, NOT(ISBLANK(@cell))))
If there is a possibility of multiple columns having data in them, but you only want to pull one, that would take a little more work and most likely a few screenshots for reference (but it is still doable).
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!