parvezse16
New Member
- Joined
- Sep 5, 2021
- Messages
- 14
- Office Version
- 2013
- Platform
- Windows
Hi there,
I'm looking for a macro which generate an 8 digit hexa number on a given input numbers. But before generate a random hexa-number, check if particular input is already in a cell (for example row 12) in column A, corresponding to that cell value (cell 12)in column B will be added in blank cell of both columns other wise generate the hexa-number and add in blank cells with input in separate columns.
Like below Mini-Spreadsheet, If I insert a new input 200321 first it will check the value in Input Cell whether that value exist, If exist than copy corresponding Hexa-Code "MDI93N88" and add it into row 3 of Hexa-Code, and the input value "200321" added to row 3 of Input Column.
I'm looking for a macro which generate an 8 digit hexa number on a given input numbers. But before generate a random hexa-number, check if particular input is already in a cell (for example row 12) in column A, corresponding to that cell value (cell 12)in column B will be added in blank cell of both columns other wise generate the hexa-number and add in blank cells with input in separate columns.
Like below Mini-Spreadsheet, If I insert a new input 200321 first it will check the value in Input Cell whether that value exist, If exist than copy corresponding Hexa-Code "MDI93N88" and add it into row 3 of Hexa-Code, and the input value "200321" added to row 3 of Input Column.
Input | Hexa-Code |
200321 | MDI93N88 |
91220 | HD737J93 |