Ark68
Well-known Member
- Joined
- Mar 23, 2004
- Messages
- 4,564
- Office Version
- 365
- 2016
- Platform
- Windows
I am trying to create a string from a vvlookup result returning a number and a static text string.
The values in ws_roster.range A2:B45 are numeric. Example: 5.
Example trc_sb = "5"
Column 8 is by default custom formatted as "000" so that without the static string added, the result would be 005.
What I am trying to accomplish with my formula, using the example values would be "005-5"
What I am getting instead through testing is 43956
Looking for a solution to accomplish the result I seek.
Rich (BB code):
trc_sb = "5"
.Cells(i, 8) = Application.WorksheetFunction.VLookup(en, ws_roster.Range("A2:B45"), 2, False) & "-" & trc_sb
The values in ws_roster.range A2:B45 are numeric. Example: 5.
Example trc_sb = "5"
Column 8 is by default custom formatted as "000" so that without the static string added, the result would be 005.
What I am trying to accomplish with my formula, using the example values would be "005-5"
What I am getting instead through testing is 43956
Looking for a solution to accomplish the result I seek.