Check each column individually, and put a 1 or a 0 in a cell below each column. Then test that row of values for a 1. Not pretty, but functional.