excel vba: return values only if they are not present in current column
Posted
by every_answer_gets_a_point
on Stack Overflow
See other posts from Stack Overflow
or by every_answer_gets_a_point
Published on 2010-05-18T19:34:36Z
Indexed on
2010/05/19
19:20 UTC
Read the original article
Hit count: 291
i have a column to which i am adding data from another column
i would like to check whether that column has the data that i wish to add. can you help me wiht a formula that will tell me whether a certain value exists in the current column?
please keep in mind it is a bit more complex than it sounds.
currently i have this in the cell:
=IF(OR(A3="ETG_C",A3="ETGC"),C3,"na")
i would like to have something like this
=IF(FIND(IF(OR(A2="ETG_C",A2="ETGC"),C2,"na"),K:K,1)," ",IF(OR(A2="ETG_C",A2="ETGC"),C2,"na"))
another words, if the top value exists already, then add a blank space
© Stack Overflow or respective owner