+ Reply to Thread
Results 1 to 2 of 2

Help with R1C1 formula

  1. #1
    Forum Contributor
    Join Date
    11-18-2009
    Location
    Winnipeg
    MS-Off Ver
    Excel 2003
    Posts
    203

    Help with R1C1 formula

    I have a UserForm that when you hit submit, it enters a bunch of values and formula into a sheet. This is one of the formulas it should be entering into the sheet. I thought I had this right but I'm not getting it to work....I want it to look at the cell 2 to the left, and if it says "See Notes" then I want it to return "See Notes" otherwise, I want it to return the Month value of that cell.

    The cell will either contain a date in MM/DD/YYYY format, or it will contain "See notes"

    I'm really new to R1C1 and VBA and I'm having a heck of a time

    Please Login or Register  to view this content.

  2. #2
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: Help with R1C1 formula

    Please Login or Register  to view this content.
    From your description, I'm not sure why you are using the isnumber() or the search(). It can be tricky to get the quotation marks into the string. You need to add them in with the & """" & - Basically, type out the formula as you would in the worksheet. Then, replace each double-quote mark with & """" &.


    That should do what you asked (look 2 cells to the left, return "see notes" if that is what is found, otherwise return the month).
    Last edited by GeneralDisarray; 11-05-2015 at 04:00 PM.
    Remember, saying thanks only takes a second or two. Click the star icon(*) below the post you liked, to give some Rep if you think an answer deserves it.

    Please,mark your thread [SOLVED] if you received your answer.

+ 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. 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
  2. [SOLVED] Help with R1C1-formula
    By torppo in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-06-2014, 08:52 AM
  3. r1c1 formula
    By mma3824 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-01-2012, 03:48 PM
  4. [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
  5. [SOLVED] R1C1 Formula help
    By aad401 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-25-2012, 08:45 PM
  6. Formula R1C1
    By SMILE in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-26-2010, 10:20 AM
  7. Adding a formula with R1C1
    By Jogier505 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-29-2009, 06:56 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