jski21
Board Regular
- Joined
- Jan 2, 2019
- Messages
- 155
- Office Version
- 2016
- Platform
- Windows
Good day Mr. Excel Team,
I have a dynamic database that grows as new information is added. The data entry folks don't understand the need for data consistency and I continually struggle with different cell contents for the same category of accounts. Seeking a way through VBA to change the contents of the name in Column D based on the content of what is in a cell in Column A. Example:
If the cell in Column A = 19619001 (A2), then the content in Column D of corresponding cell in that row for that entry (D2) would be changed to "Sample 1 - 2024".
The example above is just one instance. Unfortunately, I have several different instances of this for values in Column A so if it could cycle through the various instances that would be ideal. For example, in addition to the example above, the next instance might be:
If the cell in Column A = 123456078 (A2), then the content in Column D of corresponding cell in that row for that entry (D2) would be changed to "Sample 2 - 2025".
Hope this explanation is satisfactory. I hate data inconsistency.
Thanks all,
jski
I have a dynamic database that grows as new information is added. The data entry folks don't understand the need for data consistency and I continually struggle with different cell contents for the same category of accounts. Seeking a way through VBA to change the contents of the name in Column D based on the content of what is in a cell in Column A. Example:
All_Balances_by_Major_Program (4).xlsx | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
1 | AcctNo | Major Program | Major Program Name | Name | ||
2 | 19619001 | 19619 | Sample 1 | Sample 1 - 2024 | ||
Grant Balances |
If the cell in Column A = 19619001 (A2), then the content in Column D of corresponding cell in that row for that entry (D2) would be changed to "Sample 1 - 2024".
The example above is just one instance. Unfortunately, I have several different instances of this for values in Column A so if it could cycle through the various instances that would be ideal. For example, in addition to the example above, the next instance might be:
If the cell in Column A = 123456078 (A2), then the content in Column D of corresponding cell in that row for that entry (D2) would be changed to "Sample 2 - 2025".
Hope this explanation is satisfactory. I hate data inconsistency.
Thanks all,
jski