+ Reply to Thread
Results 1 to 2 of 2

Values in a single row to be equal to values of a column

  1. #1
    Registered User
    Join Date
    11-01-2014
    Location
    Australia
    MS-Off Ver
    2007
    Posts
    17

    Values in a single row to be equal to values of a column

    Hi guys,


    So I want values in a single row to be equal to values elsewhere that are in a single column. So If I change the values in the column the values in the row automatically change.
    I've had an attempt at a solution, but isnt working:
    Thanks everyone!



    Sub Macro6()
    '
    ' Macro6 Macro
    '
    ' Keyboard Shortcut: Ctrl+Shift+Y
    '

    Dim Ccc As Long
    Dim Rrr As Long
    Dim xxx As Long


    For i = 1 To 50

    Ccc = -16 - i
    Rrr = i - 1
    xxx = 22 + i

    ActiveCell.FormulaR1C1 = "=Sheet7!R[Rrr]C[Ccc]"
    Cells(xxx, 3).Select

    Next i
    End Sub

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

    Re: Values in a single row to be equal to values of a column

    Hi, ExcelJWS,

    please have a look at Forum Rule#3 to understand why you are asked to apply code-tags to your procedure.

    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

+ 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] Sum Values That Are Less Than Or Equal To Values In Another Column
    By jhudson444 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-09-2013, 12:08 AM
  2. [SOLVED] If values in a column are equal, then need to calc average of values in other columns
    By engineerlady in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-15-2013, 02:33 PM
  3. [SOLVED] Need Urgent help on Adjacent values of Duplicate column values should be be in single row.
    By anto_01 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-11-2012, 09:55 PM
  4. Average range of cells in column if values in adjacent column are equal
    By RyNye in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-09-2012, 10:12 AM
  5. [SOLVED] Message box if values in column are less or equal to 0
    By emoandy05 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-11-2012, 12:57 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