+ Reply to Thread
Results 1 to 9 of 9

Help with R1C1-formula

  1. #1
    Registered User
    Join Date
    04-24-2013
    Location
    Finland
    MS-Off Ver
    Excel 2010
    Posts
    57

    Help with R1C1-formula

    Hi all,

    Am trying to write a formula to certain cells but for some reason this ain't working.
    Formula is:
    Please Login or Register  to view this content.
    Yes, I know it's a "bit" long one but I don't know any other way to do this....

    Edit: Code-tags added
    Last edited by torppo; 02-06-2014 at 02:49 AM.

  2. #2
    Valued Forum Contributor adyteo's Avatar
    Join Date
    01-10-2013
    Location
    Calgary
    MS-Off Ver
    Excel 2010
    Posts
    540

    Re: Help with R1C1-formula

    could you upload a sample excel file?
    Click on the star if you think I helped you

  3. #3
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 365 on Win11 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: Help with R1C1-formula

    Hi, torppo,

    you would need to add code-tags to your formula code as requested in Forum Rule #3 first to allow us to answer to your question.

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  4. #4
    Registered User
    Join Date
    04-24-2013
    Location
    Finland
    MS-Off Ver
    Excel 2010
    Posts
    57

    Re: Help with R1C1-formula

    Attached is an example of my file.
    Attached Files Attached Files

  5. #5
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 365 on Win11 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: Help with R1C1-formula

    Hi, torppo,

    thanks for adding the code-tags.

    Your formula is to be put in in R1C1 notation so all references should be in that notification as well like
    Please Login or Register  to view this content.
    If you use
    Please Login or Register  to view this content.
    this is A1 notification and you would need to decide which of the two ways of notifications you want to use, convert them accordingly and then either stay with FormulaR1C1 (for R1C1) or use Formula (for A1) in order to write the formula.

    HTH,
    Holger

  6. #6
    Registered User
    Join Date
    04-24-2013
    Location
    Finland
    MS-Off Ver
    Excel 2010
    Posts
    57

    Re: Help with R1C1-formula

    Hi HaHoBe,

    And thank you for your reply.

    I made changes you suggested but still no cigar. Could the problem be now with (RC[0])???

    New code:

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    04-24-2013
    Location
    Finland
    MS-Off Ver
    Excel 2010
    Posts
    57

    Re: Help with R1C1-formula

    Hi again,

    Let's try this again. Below is the original Excel formula which need to be written with VBA:
    Please Login or Register  to view this content.
    Is this possible or would it be possible to do same thing with Array??

    Thank you in advance!

  8. #8
    Forum Contributor
    Join Date
    04-25-2013
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2010
    Posts
    150

    Re: Help with R1C1-formula

    I think I got it, though it's not in R1C1 format

    Please Login or Register  to view this content.
    Last edited by djdjdj; 02-06-2014 at 08:27 AM.

  9. #9
    Registered User
    Join Date
    04-24-2013
    Location
    Finland
    MS-Off Ver
    Excel 2010
    Posts
    57

    Re: Help with R1C1-formula

    Hi djdjdj,

    Thank you for your reply! Looks like it's working perfectly! Thank you! No I realised there is something wrong with my formula but at least vba part is doing the trick!

+ 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. r1c1 formula
    By mma3824 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-01-2012, 03:48 PM
  2. [SOLVED] Formula R1C1 Not Working
    By timbo1957 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-21-2012, 11:00 AM
  3. [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
  4. [SOLVED] R1C1 Formula help
    By aad401 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-25-2012, 08:45 PM
  5. Formula R1C1
    By SMILE in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-26-2010, 10:20 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