excel - How to tell if a cell exists on another Google Sheet -
i have 12 sheets in 1 google sheets document labeled each month (january - december). on each sheet column contains project number, e.g. "6091".
i'm trying find function check of other sheets see if there duplicate cells in "project number" column of other sheets.
so: "do of cells in column a, match of cells in column on other sheets".
is there quick way this?
the formula =arrayformula(iferror(match(a2:a, anothersheet!a2:a, 0)))
checks each value in a2:a of present sheet being in a2:a of anothersheet. if it's there, returns position in anothersheet, otherwise output empty (the error #n/a suppressed iferror
).
you can use above each of sheets separately. alternatively, if not interested in positions , want know entries a2:a found elsewhere, add results each sheet:
=arrayformula(iferror(match(a2:a, anothersheet!a2:a, 0)) + iferror(match(a2:a, thirdsheet!a2:a, 0)))
the output 0 there no match, , nonzero number if there is.