+ Reply to Thread
Results 1 to 4 of 4

Apply LEFT & RIGHT function to column

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

    Apply LEFT & RIGHT function to column

    Hi all,

    I have the following code, which is supposed to combine the values from column I and column AD:

    Please Login or Register  to view this content.
    When running the code it works, but I get a #NAME error in the worksheet, and the formula appears in column AF as =right('AD2',10)&left('I2',14) with the ' ' around the cell references

    Any ideas why?

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

    Re: Apply LEFT & RIGHT function to column

    Remove the R1C1 as you are using A1 notation & not R1C1 notation in the formula

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

    Re: Apply LEFT & RIGHT function to column

    Thank you!

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

    Re: Apply LEFT & RIGHT function to column

    You're welcome & 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. Right function, Left function, Mid function to extract values in column A
    By bjnockle in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 06-14-2020, 03:14 PM
  2. Replies: 1
    Last Post: 07-09-2019, 07:16 PM
  3. [SOLVED] Apply VBA Script based on Text in one column and apply a formula in another column
    By vvincent in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-07-2016, 09:19 PM
  4. How to apply custom function to one Column only
    By lindomsm in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-11-2013, 09:13 AM
  5. How to apply the trim function to a whole column.
    By Ramki in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-05-2006, 02:50 AM
  6. [SOLVED] How do I apply my function to the entire column?
    By jsthngn in forum Excel General
    Replies: 1
    Last Post: 01-23-2006, 11:25 AM
  7. How do I apply a function to an entire column?
    By didja in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 11-23-2005, 01:10 AM

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