Replace last character with its sequential letter for Numbers (Apple)

rligh

New Member
Joined
Apr 6, 2022
Messages
15
Office Version
  1. 365
Platform
  1. Mobile
How can I go about this?

I have a list of words in col A. I want to replace the last letter of each word with the next letter of the alphabet. Bonus points if I can stick a random vowel next to it if it’s a consonant.

Ie:
Doh - Dogu
Vef - Vegi
Sah - Sai

Is this doable?
 
Last edited by a moderator:

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
So the formula works beautifully, but isn't getting me the results I'd anticipated. Is there any way to tweak it to randomly choose a letter from the next sequential to Z?

Ie:

Sla - Sly
Meu - Slv
 
Upvote 0
Do you still want the vowel on the end if the last letter is a consonant?
 
Upvote 0
Ok, how about
Excel Formula:
=LET(r,CODE(RIGHT(A2)),REPLACE(A2,LEN(A2),1,CHAR(RANDBETWEEN(r+1,122))))
 
Upvote 0
I'm using Numbers (Apple). Nearly every formula for excel works beautifully for that, but Let is not one of them.
 
Upvote 0
How about
Excel Formula:
=REPLACE(A2,LEN(A2),1,CHAR(RANDBETWEEN(CODE(RIGHT(A2))+1,122)))
 
Upvote 0
Solution

Forum statistics

Threads
1,223,355
Messages
6,171,608
Members
452,411
Latest member
sprichwort

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top