+ Reply to Thread
Results 1 to 5 of 5

Dynamic FormulaR1C1 Use with Column and Row Number Change.

  1. #1
    Registered User
    Join Date
    08-06-2012
    Location
    Albuquerque, New Mexico
    MS-Off Ver
    Excel 2010
    Posts
    12

    Dynamic FormulaR1C1 Use with Column and Row Number Change.

    I am trying to fill the selected Range (Column and row values) with a formula that goes from a starting point to a specified column, counter2, and row, counter1, but I can't seem to figure this one out. What I want is for the formula to have "r1c1"? or in this case "B1" starting point to change to C1, D1, E1, etc... to whenever counter2 ends. Also, at the same time have the first Decon_Display!RC to go from B2 to B3, B4, etc... to whenever Counter1 ends. The second Decon_Display!RC value to go from C2 to C3, C4, C5, C6, etc.. also to whenever Counter1 ends.

    So, in other words... Decon_Config!B1, C1, D1, E1, etc... >= Decon_Display!B2, B3, B4, B5, B6, etc..., Decon_Config!B1, C1, D1, E1, etc... <= Decon_Display!C2, C3, C4, C5, etc...),1,0)

    I understand that r1c1 causes B1 to be locked in all the formulas in each cell... And if you use brackets [] it does not lock it. Maybe my brain is just fried from trying to figure this out... Please help. Or maybe it is just easier to use A1 format??? I don know...


    Please Login or Register  to view this content.
    Last edited by goradiar; 10-23-2012 at 05:34 AM. Reason: Solved

  2. #2
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Dynamic FormulaR1C1 Use with Column and Row Number Change.

    perhaps you can record a macro while inputting the formulas you want into a few cells. I have no clue what formula you want in each cell partly because you seem to be checking if a cell is both greater than or equal to and less than or equal to one other cell (which is just a test to see if the two cells are equal)
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  3. #3
    Registered User
    Join Date
    08-06-2012
    Location
    Albuquerque, New Mexico
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Dynamic FormulaR1C1 Use with Column and Row Number Change.

    Thank you for your reply Joseph! Sorry about that, I should have explained that part as well. Yes, it is just a test if the two cells are equal and in the range of the time. So, let's see here. I'm gonna call the other sheet, sheet2(Decon_Display) from where it is comparing and or is in range with the time. Sheet1(Decon_Config): Cell B2 has the formula =if(and(B1>=sheet2!B2, B1<=sheet2!C2),1,0)... Cell B3: =if(and(B1>=sheet2!B3, B1<=sheet2!C3),1,0)... etc...
    Cell C2: =if(and(C1>=sheet2!B2, C1<=sheet2!C2),1,0)... Cell C3: =if(and(C1>=sheet2!B3, C1<=sheet2!C3),1,0)... and so on until Counter1 and Counter2 finish. Since everything is dynamic and could change I could not simply record a macro. I am just looking for a way to have it AUTOFILL the formula but change the cell numbers when doing so. I hope this makes sense, let me know if it does not.

  4. #4
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Dynamic FormulaR1C1 Use with Column and Row Number Change.

    I reckon you mean
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    08-06-2012
    Location
    Albuquerque, New Mexico
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Dynamic FormulaR1C1 Use with Column and Row Number Change.

    Thank you! Wizard!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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