+ Reply to Thread
Results 1 to 13 of 13

Automatically copy formula to next cell when i enter something in perticular cell

Hybrid View

  1. #1
    Registered User
    Join Date
    03-23-2005
    Posts
    33

    Red face Automatically copy formula to next cell when i enter something in perticular cell

    Hi,
    I need to copy formula to next cell when i enter something in perticular cell.
    i.e


    Colomn A --- Colomn B --- Colomn C
    1 01-09-07 --- John --- =vlookup(b2,$s$1:$t$10,2,false)
    2 01-09-07 --- Smith --- =vlookup(b3,$s$1:$t$10,2,false)
    3
    4
    5


    Now if i enter date in cell A3 then cell C3 should be automatically filled/copy formula as celll C2. and so on......
    then if i enter data to A4 then cell C4 should be automatically filled/copy formula from cell C3.

    how can i do this. any idea?


    S.
    Last edited by sanketgroup; 09-08-2007 at 05:41 AM.

  2. #2
    Forum Contributor corinereyes's Avatar
    Join Date
    12-02-2003
    Location
    Philippines
    MS-Off Ver
    MS Excel 2016
    Posts
    520
    Hi sanketgroup,

    Use the fill series to copy the formula down. Select the formula in cell C1, move your cursor the right bottom of the cell, your cursor will change to a black + cursor, hold down the right mouse button and drag down to fill the series.
    Corine

  3. #3
    Registered User
    Join Date
    03-23-2005
    Posts
    33

    Not the correct answer

    i need to copy formula to the next cell automatically only when i type in previoud raw and colomn.

    I dont want to define all the formulas to at this time in colomn C. It should be inceased or copied to next row only when i type.

    If i type in A3 then macro should fill up C4 with formula in C3
    If i type in A4 then macro should fill up C5 with formula in C4
    If i type in A5 then macro should fill up C6 with formula in C6

  4. #4
    Registered User
    Join Date
    03-23-2005
    Posts
    33

    Red face Automatically copy formula to next cell when i enter something in perticular cell

    Hi,
    I need to copy formula to next cell when i enter something in perticular cell.
    i.e


    --Colomn A --- Colomn B -- --------Colomn C
    1 01-09-07 ----- John ----------=vlookup(b2,$s$1:$t$10,2,false)
    2 01-09-07 ----- Smith -------- =vlookup(b3,$s$1:$t$10,2,false)
    3
    4
    5


    Now if i enter date in cell A3 then cell C3 should be automatically filled/copy formula as celll C2. and so on......
    then if i enter data to A4 then cell C4 should be automatically filled/copy formula from cell C3.

    how can i do this. any idea?


    S.

  5. #5
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606
    Tools > Option > Edit and check Extend List Formats and Formulas is checked.

  6. #6
    Registered User
    Join Date
    03-23-2005
    Posts
    33
    i need to copy formula to the next cell automatically only when i type in previoud raw and colomn.

    I dont want to define all the formulas to at this time in colomn C. It should be inceased or copied to next row only when i type.

    If i type in A3 then macro should fill up C4 with formula in C3
    If i type in A4 then macro should fill up C5 with formula in C4
    If i type in A5 then macro should fill up C6 with formula in C6

  7. #7
    all4excel
    Guest

    Question Want to help but how??

    Hey sanket,

    What about the value in the columns B3 and B4?

    You r wanting to have vlookup if the cell a3 and a4 are filled but what about wht col b?

  8. #8
    Registered User
    Join Date
    03-23-2005
    Posts
    33
    that one i will fill up. i will define the Values in B3 and B4. but as soon as i fill A3 or B3, macro should automaticall copy the formula from C3 to C4

  9. #9
    Forum Contributor corinereyes's Avatar
    Join Date
    12-02-2003
    Location
    Philippines
    MS-Off Ver
    MS Excel 2016
    Posts
    520
    Hi sanketgroup,

    Can you attach an example xl file? (Don't forget to zip the file)

  10. #10
    Registered User
    Join Date
    03-23-2005
    Posts
    33

    Question

    any luck corinereyes?

  11. #11
    Forum Contributor corinereyes's Avatar
    Join Date
    12-02-2003
    Location
    Philippines
    MS-Off Ver
    MS Excel 2016
    Posts
    520
    Hi sanketgroup,

    I dont think it is possible to construct a formula that would do that. If you want you could try xl VBA or can ask someone in this forum to write an example VBA that would do your task.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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