+ Reply to Thread
Results 1 to 4 of 4

Convert formula from R1C1 to A1

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    12-21-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    389

    Convert formula from R1C1 to A1

    Hi,

    I have record a macro with formula but macro record its in R1C1 style, I want to convert it in A1 style, How ?

    Any Help ?

    here is recorded macro code

    Range("K2").Select
        ActiveCell.FormulaR1C1 = _
            "=SUMIFS('TRADE-(FEBRUARY-18)'!R3C17:R22000C17,'TRADE-(FEBRUARY-18)'!R3C2:R22000C2,RC[-10],'TRADE-(FEBRUARY-18)'!R3C4:R22000C4,RC[-8],'TRADE-(FEBRUARY-18)'!R3C5:R22000C5,RC[-7],'TRADE-(FEBRUARY-18)'!R3C6:R22000C6,RC[-6],'TRADE-(FEBRUARY-18)'!R3C7:R22000C7,RC[-5])"
    Thanks in Advance...
    My English is very poor, so please be patient >_<"

    Thanks & Regards.
    hkbhansali

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,318

    Re: Convert formula from R1C1 to A1

    Have a look at this...

    Example: debug.print Application.ConvertFormula(formula:= "=LEFT(RC[-1],3)",fromReferenceStyle:=xlR1C1, toReferenceStyle:=xlA1)
    HTH
    Regards, Jeff

  3. #3
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Re: Convert formula from R1C1 to A1

    Hi !

    Just select cell and from VBE Immediate windows enter ?activecell.formula !

  4. #4
    Forum Contributor
    Join Date
    12-21-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    389

    Re: Convert formula from R1C1 to A1

    hello...

    Sorry, I can't understand

+ 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] R1C1 If then Formula
    By eazy899 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-01-2018, 02:51 AM
  2. Using R1C1 formula in VBA changes all references from CELL("address") function to R1C1?
    By dmasters4919 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-20-2014, 04:17 PM
  3. [SOLVED] Convert A1 formulas to R1C1 Formula Array
    By Wheelie686 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-28-2013, 07:38 AM
  4. [SOLVED] Convert Range of a Pivot Table to R1C1 format
    By Gorilla in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-29-2013, 09:49 AM
  5. [SOLVED] Macro to convert excel to R1C1
    By djwaz69 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-20-2012, 06:54 AM
  6. [SOLVED] Need to Convert Formula R1C1 into A1-style but the Formula String exceeds 255 characters
    By VBA_Gary in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-04-2012, 12:09 PM
  7. [SOLVED] R1C1 Formula help
    By aad401 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-25-2012, 08:45 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