Turning numbers into letters with a twist at the end

jboymeng

New Member
Joined
Dec 3, 2014
Messages
14
Hello everyone!

This is my first post! :) and I already did some research but I couldn't find any formula or module that could completely solve this problem.

The numbers to letters was already solved, but the twist is really difficult..

I need the numbers in cell A1 to become coded letters in cell B1..

letters and their corresponding values as follows;

A1
B2
C3
D4
E5
F6
G7
H8
I9
J0

<tbody>
</tbody>

The twist

X – STANDS FOR THE TENTH PLACE ZERO ( .”0”0)
Y – STANDS FOR THE HUNDRETH PLACE ZERO (.0”0”|)
Z – STANDS FOR THE SAME NUMERICAL VALUE AS THE NUMBER BEFORE IT, GIVEN THAT IT IS NOT THE THIRD SAME NUMBER

E.G.
  • 10.00 IS AJXY
  • 15.00 IS AEXY
  • 11.50 IS AZEY
  • 55.50 IS EZEY
  • 159.50 IS AEIEY
  • 333.00 IS CZCXY
  • 212.20 IS BABZY
  • 1,068.00 IS AJFHXY
And BTW I am using MS Excel 2007

I hope you guys can help me.. :)
Looking forward to hearing from you and thanks in advance!
 
This post is for Rick Rothstein and István Hirsch.
Thank you both for your help. As a small tribute the modules used will be named after you guys. It is the only way I can thank you and remember the guys who helped me out at the same time.

tribute.jpg
I am honored. (y)
 
Upvote 0

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Thank you very much. Please do not hesitate to ask questions if you bump into any new problem related with "My" module.
 
Upvote 0
Excuse me Mr. Rothstein,

How can I use your UDF in access?
I do not use nor program in Access, so I cannot be sure, but since I use no Excel specific functionality in the code I posted in Message #9, I can see no reason why that code would not work correctly in any Microsoft Office product, Access included.
 
Upvote 0
I do not use nor program in Access, so I cannot be sure, but since I use no Excel specific functionality in the code I posted in Message #9, I can see no reason why that code would not work correctly in any Microsoft Office product, Access included.

Thank you for the input :)
 
Upvote 0
The 2 codes are slightly different. It may never be an issue, but for 10.06, Istvan has EOZR, Rick has EOXR. I am thinking it should be EOXR, but not sure.
 
Upvote 0

Forum statistics

Threads
1,215,065
Messages
6,122,945
Members
449,095
Latest member
nmaske

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