lucksonc5432
New Member
- Joined
- Dec 22, 2021
- Messages
- 3
- Office Version
- 365
- Platform
- Windows
- Mobile
I have created a spreadsheet with one column where I generate a string using the concatenate formula combined with vlookup formula. For example, in cell P2, I have the following formula:
=CONCATENATE(VLOOKUP(J2,Fund_Code,3,0)&", "&VLOOKUP(K2,Strategic_Goal,3,0)&", "&VLOOKUP(L2,Activity_Code,3,0)&", "&VLOOKUP(M2,Delivery_Plan,3,0)&", "&VLOOKUP(N2,Class_Identifier,3,0))
The answer to this becomes:
10_iNotho COE, Fin_Viab, Estab_Civils, Prodt, Necessity
I want assistance with VBA that can format each part of the answer in a separate colour (doesnt matter which colour, they should just be different). The separator should be the comma (,) so that the row appears as follows:
10_iNotho COE, Fin_Viab, Estab_Civils, Prodt, Necessity
The data that needs to appear like that covers the range P2 to P16801
Thanks in advance
=CONCATENATE(VLOOKUP(J2,Fund_Code,3,0)&", "&VLOOKUP(K2,Strategic_Goal,3,0)&", "&VLOOKUP(L2,Activity_Code,3,0)&", "&VLOOKUP(M2,Delivery_Plan,3,0)&", "&VLOOKUP(N2,Class_Identifier,3,0))
The answer to this becomes:
10_iNotho COE, Fin_Viab, Estab_Civils, Prodt, Necessity
I want assistance with VBA that can format each part of the answer in a separate colour (doesnt matter which colour, they should just be different). The separator should be the comma (,) so that the row appears as follows:
10_iNotho COE, Fin_Viab, Estab_Civils, Prodt, Necessity
The data that needs to appear like that covers the range P2 to P16801
Thanks in advance