Xiq
Active Member
Dear Macro Knowledge Persons and others!
I’m looking for a macro solution for creating unique ID numbers with a few restrictions.
First of all, please see attached file for a sample-data with an example of my expected result after the use of the macro.
Here are the restrictions/functions I would like:
Many thanks in advance!
--Xiq
I’m looking for a macro solution for creating unique ID numbers with a few restrictions.
First of all, please see attached file for a sample-data with an example of my expected result after the use of the macro.
Here are the restrictions/functions I would like:
- Range: either a single sell, selected (possible filtered) range or a complete column.
- Only enter an ID value if the “Type” is equal to “Not Sunny” (column A)
- Only enter an ID value if the cell is empty
- Only enter an ID value if the selected cell/range/column is equal to the “ID”-column (column B)
- The new ID value should be unique in the entire column
- Format the new ID values with a red text color.
Many thanks in advance!
--Xiq