Cell Formulas | ||
---|---|---|
Range | Formula | |
A2:A101 | A2 | =B2&TEXT(IF(COUNTIF(B$2:B2,B2)>1,MATCH(B2,$B$2:$B$13,0),COUNTA(UNIQUE(B$2:B2))),"-000") |
B2:B101 | B2 | =CONCAT('zone1 oos log'!E6," ",'zone1 oos log'!G6) |
Last edited:
Cell Formulas | ||
---|---|---|
Range | Formula | |
A2:A101 | A2 | =B2&TEXT(IF(COUNTIF(B$2:B2,B2)>1,MATCH(B2,$B$2:$B$13,0),COUNTA(UNIQUE(B$2:B2))),"-000") |
B2:B101 | B2 | =CONCAT('zone1 oos log'!E6," ",'zone1 oos log'!G6) |
Thank you I copied and pasted this from the internet bc I'm seriously ignorant. The codes are unique but it depends on if the investigation has been closed and then the site fails environmental sampling further down the line, so it'd be the same location but would be a new case as I plan to name them so they don't all lump together in those cases. Sorry for confusion, thank you for helping me despite how stupid my questions are.Your match range is set to end at row 13.
I don't really understand how adding a number benefits you when the codes are unique anyway.
=B2&TEXT(IF(COUNTIF(B$2:B2,B2)>1,MATCH(B2,$B$2:$B2,0),COUNTA(UNIQUE(B$2:B2))),"-000")