+ Reply to Thread
Results 1 to 6 of 6

Apply Right Function to range of cells

  1. #1
    Forum Contributor
    Join Date
    03-04-2014
    Location
    Birmingham, England
    MS-Off Ver
    Excel 2019
    Posts
    758

    Apply Right Function to range of cells

    Hello,

    Quite simply I need to apply the Right Function to a dynamic range of cells. I currently have a series of numbers from Cell J2 in Sheet3, down to anything from J10 to J200000.

    I then need the code to show these values in K2, but only with the last 10 digits (i.e. similar to the =RIGHT(J2,10) formula.

    Many thanks,

    Chris

  2. #2
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,765

    Re: Apply Right Function to range of cells

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,705

    Re: Apply Right Function to range of cells

    Please Login or Register  to view this content.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MSO Home and Business 2024
    Posts
    7,304

    Re: Apply Right Function to range of cells

    And another one.
    Please Login or Register  to view this content.
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  5. #5
    Forum Contributor
    Join Date
    03-04-2014
    Location
    Birmingham, England
    MS-Off Ver
    Excel 2019
    Posts
    758

    Re: Apply Right Function to range of cells

    Wonderful. Thanks guys!

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,705

    Re: Apply Right Function to range of cells

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

+ 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. How to apply function in different value cells?
    By gonurvia in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-04-2017, 06:35 PM
  2. Apply macro only to a range of cells
    By aloconnor in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-10-2014, 09:04 AM
  3. Replies: 1
    Last Post: 02-02-2013, 06:58 PM
  4. Replies: 1
    Last Post: 01-23-2013, 03:00 PM
  5. Replies: 3
    Last Post: 09-13-2012, 03:25 AM
  6. Apply $ to range of cells
    By FM1 in forum Excel General
    Replies: 2
    Last Post: 01-22-2010, 07:56 AM
  7. [SOLVED] How can I apply the ROUND function to a range of cells in a workbo
    By Ellemarr in forum Excel General
    Replies: 5
    Last Post: 06-10-2005, 09: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