Last active
November 26, 2016 01:46
-
-
Save iconifyit/ab3f14338fe8528e930b34fedd00aa87 to your computer and use it in GitHub Desktop.
Auto-generate a custom field name using the value of a column and auto-incremented value (Ex: 1.1.001, 1.1.002)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=(CONCAT( | |
INDIRECT("E" & ROW()) , | |
CONCAT( | |
IF (COUNTIF( | |
INDIRECT("E2:E" & (ROW())), | |
INDIRECT("E" & ROW()) | |
) > 99, ".0", | |
IF (COUNTIF( | |
INDIRECT("E2:E" & (ROW())), | |
INDIRECT("E" & ROW()) | |
) < 9, ".00", ".0" | |
) | |
), | |
COUNTIF( | |
INDIRECT("E2:E" & (ROW())), | |
INDIRECT("E" & ROW()) | |
) | |
) | |
)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment