0
votes

I have 7 columns and I want to check if each value in the columns are the same. However, each column does not have a value. I would like to create a function that says:

=IF("A = B = C = D = F = I = J", Value of the cells, False) However, I want to ignore any blank cells, so it does not trigger a False.

enter image description here

The actual ID column should populate to: False, 2, 3, 4, 5, 6, 7.

2
Why not just sum them? and compare to the final correct result? 1+2+3+4+5+6+7 = 28Solar Mike

2 Answers

2
votes

I got an answer. I am using =if(max(range) = min(range), max(range), FALSE)

This works!

0
votes

You can use this formula, will work for texts as well:

=IF(COUNTA(A11:G11)=COUNTIF(A11:G11,LEFT(TEXTJOIN("",TRUE,A11:G11);LEN(TEXTJOIN("",TRUE,A11:G11))/COUNTA(A11:G11))),LEFT(TEXTJOIN("",TRUE,A11:G11),LEN(TEXTJOIN("",TRUE,A11:G11))/COUNTA(A11:G11)))