+ Reply to Thread
Results 1 to 3 of 3

Copying a specific cell by address based on a formula or function

  1. #1
    Registered User
    Join Date
    12-16-2014
    Location
    Calgary
    MS-Off Ver
    MsOffice2004
    Posts
    2

    Copying a specific cell by address based on a formula or function

    I would like to let us know, how to copy the value of a cell not like =a1 or b23 etc but the column (a...b...c) or the row (1...2..3..etc) could be a part of a algorythm.
    Let's say if I have a row with values column A... and I want to copy in a column B the value of A(x) where x is the number of row but calculated
    example

    if I copy the B1 (which is =A1) to B2 it takes automatically the =a2...a3... a4 etc
    A B C
    1 12 =a1 -->12
    2 13 =a2 -->13
    3 14 =a3 -->14
    4 15 =a4 -->15
    5 18
    6 20

    But I want to find a function where I can give to the row a value taken let's say from the column C

    A B C
    1 12 =a1 -->12 1
    2 13 =a3--->14 3
    3 14 =a5--->18 5
    4 15 =a7 --->29 7
    5 18
    6 20
    7 29

    Imagine a function like gus(text the letter of Column; number of row) which takes from everywhere the letter as a text and the number from anywhere as a value of functional result

    Pease advice
    Last edited by gfloras; 12-16-2014 at 06:19 PM.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,765

    Re: Copying a specific cell by address based on a formula or function

    You can do this:

    =INDIRECT("A" & C1)

    and copy down. If the column letter(s) are in D1, then you can do this:

    =INDIRECT($D$1 & C1)

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    12-16-2014
    Location
    Calgary
    MS-Off Ver
    MsOffice2004
    Posts
    2

    Re: Copying a specific cell by address based on a formula or function

    Thank you so much Pete from UK

    I use also the function address() which returns the cells I want and then I put it into the indirect() and my "miracle" project ended successfully...

    Thank you guys, have merry Xmas and I want to help your forum in the future regarding my level if I can...

+ 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] Replacing cell address in a formula with the result of ADDRESS function
    By CMG2 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-25-2014, 02:59 AM
  2. Copying Rows Based on Specific Cell Match
    By ywendyh in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-26-2013, 07:35 PM
  3. Copying and pasting formula into specific range based on a formula value
    By akwishestofish in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-09-2012, 01:12 PM
  4. Copying Specific Columns to Their Own Spreadsheets Based on Cell Value
    By Chris R in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 08-09-2012, 05:10 PM
  5. Copying specific cell based on two parameters and then sorting based on one parameter
    By buntalan80 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-17-2012, 02:27 AM

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