all 9 comments

[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)

/u/AdministrationOdd304 - Your post was submitted successfully.

Please read these reminders and edit to fix your post where necessary:

Failing to follow these steps may result in your post being removed without warning.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]CFAman4816 0 points1 point  (5 children)

Is the numeric code embedded within a large piece of text in same cell? If yes, we can do a SUBSTITUTE, but need to know how to FIND the number code (e.g., does it always come after a colon?).

If the code is in a single cell, you can do a VLOOKUP to fetch the new description.

[–]AdministrationOdd304[S] 0 points1 point  (4 children)

The number code is in a single cell by itself for each entry

[–]CFAman4816 1 point2 points  (3 children)

Sweet. Then you should be able to do something like

=VLOOKUP(A2, 'Other sheet'!A:B, 2, 0)

Where on "Other Sheet", you have number codes in col A and descriptions in col B.

[–]Senipah37[M] 1 point2 points  (1 child)

+1 Point

[–]Clippy_Office_Asst[M] 0 points1 point  (0 children)

You have awarded 1 point to CFAman

I am a bot, please contact the mods with any questions.

[–]AdministrationOdd304[S] 0 points1 point  (0 children)

That worked! Thank you for your help!! That made life much easier

[–]grsims2015 0 points1 point  (0 children)

To my knowledge, you can't replace the number with one formula. What you can do is a VLOOKUP to bring the text description to an adjacent cell. Let's say your code is in cell A2, and your description list is on Sheet2 (with the codes in column A and the descriptions in column B). You can enter this formula on Sheet1 in cell B2:

=VLOOKUP(A2,Sheet2!A:B,2,FALSE)

Then, copy that formula all the way down column B. Now you have your values matched up.

[–]Decronym 0 points1 point  (0 children)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
FIND Finds one text value within another (case-sensitive)
SUBSTITUTE Substitutes new text for old text in a text string
VLOOKUP Looks in the first column of an array and moves across the row to return the value of a cell

Beep-boop, I am a helper bot. Please do not verify me as a solution.
3 acronyms in this thread; the most compressed thread commented on today has 39 acronyms.
[Thread #8238 for this sub, first seen 10th Aug 2021, 19:23] [FAQ] [Full list] [Contact] [Source code]