Trying to create automatic sequential ID numbers based on the date to ship and where the sample goes.
Have a general auto numbering Row ID, have (thanks to reading other questions and responses) figured out how to designate a year. Now I would like to number the Internal (INT) shipments separately from the external Shipments. I just can't make the leap to this from the discussions I'm seeing but suspect I need some IF statements.
Here's my formula right now that works to give me a running total of shipments: —see clip below. it is assigning the last 4 digits independently of if EXT or INT. Any help appreciated!
=IF([To whom will the sample go?]@row = "Internal", "INT", "EXT") + "-" + RIGHT(YEAR([SHIP DATE]@row ), 2) + "-" + RIGHT("000" + COUNTIFS([SHIP DATE]:[SHIP DATE], IFERROR(YEAR(@cell ), 0) = YEAR([SHIP DATE]@row ), [Row ID]:[Row ID], @cell <= [Row ID]@row ), 4)