The issue of data size is relevant ONLY for UPS. The formula for the others is happy to deal with whole column references. This is an array formula and will ignore balnks in UPS. I set it to look for 1000 rows. how many will you REALLY need? there are possible alternatives...
Still need an answer to my earler Q.
Formula:
=IF(COUNTIF(A$2:A2,A2)>1,"Duplicate",IF(SUM(IF(ups!$A$2:$A$1000="",0,IF(--LEFT(ups!$A$2:$A$1000,7)=A2,1,"")))>0,"UPS",IF(COUNTIF(TFS!$A:A,main!$A2), "TFS",
IF(COUNTIF(OT!$A:A,main!$A2), "OT", IF(COUNTIF(polarspeed!$A:A,main!$A2), "POLARSPEED","")))))
Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.
You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.
Don't type the curly brackets yourself - it won't work...
Bookmarks