+ Reply to Thread
Results 1 to 6 of 6

how to list the five last character values in a column

  1. #1
    Forum Contributor
    Join Date
    08-30-2015
    Location
    Tresfjord, Norway
    MS-Off Ver
    365
    Posts
    169

    how to list the five last character values in a column

    Hi ...

    In Excel, what is the formula with criteria for listing the five last character values in a column?

    Thanks in advance

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: how to list the five last character values in a column

    =right(cell , 5)
    if i understand - but suspect not

    OR maybe - if in sheet1 column A

    =INDIRECT("Sheet1!$A$"&COUNTA(Sheet1!$A:$A)-4)
    =INDIRECT("Sheet1!$A$"&COUNTA(Sheet1!$A:$A)-3)
    =INDIRECT("Sheet1!$A$"&COUNTA(Sheet1!$A:$A)-2)
    =INDIRECT("Sheet1!$A$"&COUNTA(Sheet1!$A:$A)-1)
    =INDIRECT("Sheet1!$A$"&COUNTA(Sheet1!$A:$A))

    The forum does allow for spreadsheets to be uploaded direct to the forum -

    Please see the Yellow Banner at the top of the page explaining how to attach a sample spreadsheet

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, relevant cells highlighted and a few explanatory notes.

    Here are the instructions, found at the top of the page again
    HOW TO ATTACH YOUR SAMPLE WORKBOOK:, Fast answers need clear examples. Post a small Excel sheet (not a picture) showing realistic & representative sample data WITHOUT confidential information (10-20 rows, not thousands...) and some manually calculated results. For a new thread (1st post), scroll to Manage Attachments, otherwise scroll down to GO ADVANCED, click, and then scroll down to MANAGE ATTACHMENTS and click again. Now follow the instructions at the top of that screen.
    Last edited by etaf; 03-14-2024 at 10:05 AM.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: how to list the five last character values in a column

    Maybe
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    08-30-2015
    Location
    Tresfjord, Norway
    MS-Off Ver
    365
    Posts
    169

    Re: how to list the five last character values in a column

    Thank you Fluff13, for the inspiration.

    Here is the end result:
    Please Login or Register  to view this content.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: how to list the five last character values in a column

    Thanks for sharing.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: how to list the five last character values in a column

    Glad to help & thanks for the feedback.

+ 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. [SOLVED] Values in one column and character separated by multiple word
    By JaffarAhamed in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-23-2023, 10:30 AM
  2. [SOLVED] List all unique 5 character combinations from a single column list of 28 characters
    By Book Guy in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-04-2023, 12:23 PM
  3. [SOLVED] Convert Column Into Comma-Separated List: Getting Around Character Limit
    By splendidus in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-14-2020, 10:36 AM
  4. Extract list of values from one column based on values in another column
    By The Speculator in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-21-2019, 11:22 PM
  5. [SOLVED] Adding a character to column if column doesn't already end in same character
    By taylorsm in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-09-2018, 10:32 PM
  6. Replies: 3
    Last Post: 11-08-2012, 05:01 PM
  7. Replies: 4
    Last Post: 01-21-2011, 08:44 AM

Tags for this Thread

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