Suppose I have A1:A5, which contain the words "red", "blue", "green", "yellow", and "orange"
In B1:B5, I have 1, 1, 1, 0, and 1, and these values are each set by several steps of formulas where they can only be 1 or 0, and exactly 1 cell in the row is always equal to 0. In C1, I want to get the word in A1:A5 that corresponds with the 0 in B1:B5. So in this case, it would find that B4=0, and then return the contents of A4, which is "yellow".
I tried doing this with C1=SUMIF(B1:B5,0,A1:A5), but this does not work. I have a feeling I'm making this a lot harder than it should be, and SUMIF probably isn't even the right function for this.
A somewhat related question (about SUMIF)... can you use a row for the criteria range and a column for the sum range (assuming it's the same total number of cells)?
Bookmarks