+ Reply to Thread
Results 1 to 10 of 10

Need help with converting number to alphacol ID

  1. #1
    Forum Contributor
    Join Date
    12-01-2007
    Location
    USA-North Carolina
    MS-Off Ver
    MS Office 2016
    Posts
    2,662

    Need help with converting number to alphacol ID

    Hi,

    I have a function (see below) which converts a "number" to an alphacol ID.

    For example: Number =1 then alphacol(1) = "A"

    However, this function only works from 1 to 256................any idea on how to fix this or get a new function?

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Need help with converting number to alphacol ID

    There are only 255 chr in ASCII, unless you are looking for something else.

  3. #3
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Need help with converting number to alphacol ID

    Hello welchs101,

    As AB33 summised(
    ...unless you are looking for something else.
    Could you please attach a sample workbook.

    Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

    Regards.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  4. #4
    Forum Contributor
    Join Date
    12-01-2007
    Location
    USA-North Carolina
    MS-Off Ver
    MS Office 2016
    Posts
    2,662

    Re: Need help with converting number to alphacol ID

    well, what i need is for example something that does the following:

    Note: in current versions of excel one can have more than 256 cols of data

    So what i need is if i submit alphacol(400) then i need the corresponding alpha-col from this. For example: if alphacol(3) = C

    does this make sense?

  5. #5
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Need help with converting number to alphacol ID

    Hello welchs101,

    See if this link is of any help: https://support.microsoft.com/en-us/kb/272729

    Regards.

  6. #6
    Forum Contributor
    Join Date
    12-01-2007
    Location
    USA-North Carolina
    MS-Off Ver
    MS Office 2016
    Posts
    2,662

    Re: Need help with converting number to alphacol ID

    see enclosed file.


    what i need is a function that when given a number returns the alpha value

    for example: if number is 651 then character col value returned is "YA"

    see enclosed file.
    Attached Files Attached Files

  7. #7
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Need help with converting number to alphacol ID

    Why do you need the column letter(s)? You can just use the column number to refer to a range...?
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  8. #8
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Need help with converting number to alphacol ID

    If you insist, though, then try:
    Please Login or Register  to view this content.

  9. #9
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Need help with converting number to alphacol ID

    From stack flaw

    Please Login or Register  to view this content.

  10. #10
    Forum Contributor
    Join Date
    12-01-2007
    Location
    USA-North Carolina
    MS-Off Ver
    MS Office 2016
    Posts
    2,662

    Re: Need help with converting number to alphacol ID

    thanks all.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 4
    Last Post: 12-11-2012, 01:12 PM
  2. [SOLVED] Converting hh:mm:dd to number of minutes in regular number format
    By blackmilk in forum Excel General
    Replies: 3
    Last Post: 08-25-2012, 05:03 PM
  3. Converting Non-Number Cell Value to Number For Sum
    By GSomething in forum Excel General
    Replies: 4
    Last Post: 01-16-2012, 08:26 PM
  4. Converting a number to the number of cells used
    By TrentSe7en in forum Excel General
    Replies: 0
    Last Post: 08-23-2010, 12:14 AM
  5. converting number with space into a normal number
    By przemke in forum Excel General
    Replies: 6
    Last Post: 01-04-2010, 03:05 PM
  6. Converting general number to decimal number
    By dkl in forum Excel General
    Replies: 7
    Last Post: 05-02-2008, 09:26 PM
  7. [SOLVED] Converting Negative Number to Postive number
    By Tedd in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-30-2006, 01:25 PM
  8. [SOLVED] converting number string to number with decimal
    By rortiz in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-15-2005, 04:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1