+ Reply to Thread
Results 1 to 29 of 29

Auto-fill data automatically to another column in same sheet

  1. #1
    Registered User
    Join Date
    10-20-2010
    Location
    MD
    MS-Off Ver
    Excel 2003
    Posts
    53

    Auto-fill data automatically to another column in same sheet

    Hi all.

    I know it's simple (there is a code) but don't know how to do it...

    For example in column A some data is inserted, I want the same data to be filled automatically in column X in the same row.

    Thank you in advance.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Auto-fill data automatically to another column in same sheet

    Hi

    Try this in X1: =A1

    Hope to helps you.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    10-20-2010
    Location
    MD
    MS-Off Ver
    Excel 2003
    Posts
    53

    Re: Auto-fill data automatically to another column in same sheet

    Quote Originally Posted by Fotis1991 View Post
    Hi

    Try this in X1: =A1

    Hope to helps you.

    Thank you, but it doesn't do what I want.

    When I type something in a cell in column A, it should automatically fill the data in column X.

    Your solution is not automated.

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Auto-fill data automatically to another column in same sheet

    .....=if(a1)<>"";a1;"")

    Is this what are you looking for??

  5. #5
    Registered User
    Join Date
    10-20-2010
    Location
    MD
    MS-Off Ver
    Excel 2003
    Posts
    53

    Re: Auto-fill data automatically to another column in same sheet

    Quote Originally Posted by Fotis1991 View Post
    .....=if(a1)<>"";a1;"")

    Is this what are you looking for??
    Formula contains an error.

    \1

    Using: MS Office 2003

  6. #6
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Auto-fill data automatically to another column in same sheet

    hi,
    "Try this in X1: =A1" provided by Fotis should work, in cell x1 type =a1 and copy down.
    Regards, John55
    If you have issues with Code I've provided, I appreciate your feedback.
    In the event Code provided resolves your issue, please mark your Thread as SOLVED.
    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

    ...enjoy -funny parrots-

  7. #7
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Auto-fill data automatically to another column in same sheet

    =if(a1)<>"";a1;"")>.>Wrong

    =if(a1<>"";a1;"")>>OK!!

  8. #8
    Registered User
    Join Date
    10-20-2010
    Location
    MD
    MS-Off Ver
    Excel 2003
    Posts
    53

    Re: Auto-fill data automatically to another column in same sheet

    Quote Originally Posted by Fotis1991 View Post
    =if(a1)<>"";a1;"")>.>Wrong

    =if(a1<>"";a1;"")>>OK!!
    Now it's working, still this is not automated like a VBA code, but does the job.

  9. #9
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Auto-fill data automatically to another column in same sheet

    Excuse me, but you did't mentioned in your first post that you are looking for VBA code..

    Also any Excel formula, is automated !

  10. #10
    Registered User
    Join Date
    10-20-2010
    Location
    MD
    MS-Off Ver
    Excel 2003
    Posts
    53

    Re: Auto-fill data automatically to another column in same sheet

    Quote Originally Posted by Fotis1991 View Post
    Excuse me, but you did't mentioned in your first post that you are looking for VBA code..

    Also any Excel formula, is automated !
    Everything is fine, thank you

    Carma +1

  11. #11
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Auto-fill data automatically to another column in same sheet

    You are welcome. Glad to helped you.

    Pls mark the thread, as SOLVED.

  12. #12
    Registered User
    Join Date
    01-03-2012
    Location
    new delhi
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: Auto-fill data automatically to another column in same sheet

    Extremer: Is the formula mentioned by Fotis =if(a1<>"";a1;"") is working?

    I believe, there is a minor change in this is instead of ; we have to use ,

    Kindly do correct if I am wrong.

    And the reason behind writing this, is someone newbie joins this, they should not get confused with the given answer on this Forum.


    Regards,
    Kunal Kumar

    Quote Originally Posted by eXtremer View Post
    Now it's working, still this is not automated like a VBA code, but does the job.

  13. #13
    Registered User
    Join Date
    10-20-2010
    Location
    MD
    MS-Off Ver
    Excel 2003
    Posts
    53

    Re: Auto-fill data automatically to another column in same sheet

    Quote Originally Posted by [email protected] View Post
    Extremer: Is the formula mentioned by Fotis =if(a1<>"";a1;"") is working?

    I believe, there is a minor change in this is instead of ; we have to use ,

    Kindly do correct if I am wrong.

    And the reason behind writing this, is someone newbie joins this, they should not get confused with the given answer on this Forum.


    Regards,
    Kunal Kumar
    Actually I think your wrong, ";" is working quite well, tested with "," and I got an error.
    Regards,

  14. #14
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Auto-fill data automatically to another column in same sheet

    ...And As proof of this.....
    Attached Files Attached Files

  15. #15
    Registered User
    Join Date
    01-03-2012
    Location
    new delhi
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: Auto-fill data automatically to another column in same sheet

    Extremer, I believe you did not understand my point.

    My point is, Is formula =if(a1<>"";a1;"") is working properly, coz I am getting error when I am using this exact formula in my excel 2010

    Now when I am using =IF(A1<>"",A1,"") this is giving me the correct result...

    Sorry if I am wrong somewhere, but my question was about the correct and incorrect formula..


    Regards

    Quote Originally Posted by eXtremer View Post
    Actually I think your wrong, ";" is working quite well, tested with "," and I got an error.
    Regards,

  16. #16
    Registered User
    Join Date
    01-03-2012
    Location
    new delhi
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: Auto-fill data automatically to another column in same sheet

    Fotis, you are right, I seen you excel and the same was my opinion too.. Extremer, just read my post and see the formula used by Fotis. That's the same I am saying too.

    Regards

    Quote Originally Posted by Fotis1991 View Post
    ...And As proof of this.....

  17. #17
    Registered User
    Join Date
    10-20-2010
    Location
    MD
    MS-Off Ver
    Excel 2003
    Posts
    53

    Re: Auto-fill data automatically to another column in same sheet

    Quote Originally Posted by Fotis1991 View Post
    =if(a1)<>"";a1;"")>.>Wrong

    =if(a1<>"";a1;"")>>OK!!
    Bump!

    Another question, what is the proper formula if I want to multiply numbers from different columns...

    =IF(A1<>"";A1;"")+IF(B1<>"";B1;"")+IF(C1<>"";C1;"") - this formula is kind of working but it shoes like an error, what is the correct formula ?

    Thank you.

  18. #18
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Auto-fill data automatically to another column in same sheet

    Hi

    Another question, what is the proper formula if I want to multiply numbers from different columns...

    =IF(A1<>"";A1;"")+IF(B1<>"";B1;"")+IF(C1<>"";C1;"") - this formula is kind of working but it shoes like an error, what is the correct formula ?
    This formula, does not multiply. Give us an example of which cells of which columns you want to multiply and by which criteria??

  19. #19
    Registered User
    Join Date
    10-20-2010
    Location
    MD
    MS-Off Ver
    Excel 2003
    Posts
    53

    Re: Auto-fill data automatically to another column in same sheet

    Actually it works..

    \1

    From the screen I think you will understand what I need.

    So the formula is placed in "F4".

  20. #20
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Auto-fill data automatically to another column in same sheet

    This formula adds. does not multiply!

    Adds and 3 cells, although there contents.

    So, why don't just use =SUM(A4:C4) ???

  21. #21
    Registered User
    Join Date
    10-20-2010
    Location
    MD
    MS-Off Ver
    Excel 2003
    Posts
    53

    Re: Auto-fill data automatically to another column in same sheet

    Because it shows "0.00" when the cells are blank and I don't want that.

  22. #22
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Auto-fill data automatically to another column in same sheet

    I Try hard to understand..

    Yes. If all three of cells are blank, will show 0.

    What is the result, that you want to shows, in this case??

  23. #23
    Registered User
    Join Date
    10-20-2010
    Location
    MD
    MS-Off Ver
    Excel 2003
    Posts
    53

    Re: Auto-fill data automatically to another column in same sheet

    Quote Originally Posted by Fotis1991 View Post
    Yes. If all three of cells are blank, will show 0.

    What is the result, that you want to shows, in this case??
    I want it to be blank and not 0.

  24. #24
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Auto-fill data automatically to another column in same sheet

    Ok!.So try this.

    =IF(AND(A4="";B4="";C4="");"";SUM(A4:C4))

    Change the semi-colon by gomma, if you have to do!

    Is it ok now?

  25. #25
    Registered User
    Join Date
    10-20-2010
    Location
    MD
    MS-Off Ver
    Excel 2003
    Posts
    53

    Re: Auto-fill data automatically to another column in same sheet

    It works like a charm, thank you again Fotis1991

  26. #26
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Auto-fill data automatically to another column in same sheet

    You are welcome!!

    So, as you found your solution, pls mark your thread, as SOLVED.

  27. #27
    Registered User
    Join Date
    10-20-2010
    Location
    MD
    MS-Off Ver
    Excel 2003
    Posts
    53

    Re: Auto-fill data automatically to another column in same sheet

    I can't find this option.

  28. #28
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Auto-fill data automatically to another column in same sheet

    Click the Edit button on your first post in the thread, Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes

  29. #29
    Registered User
    Join Date
    10-20-2010
    Location
    MD
    MS-Off Ver
    Excel 2003
    Posts
    53

    Re: Auto-fill data automatically to another column in same sheet

    Unfortunately I can't edit my first post.

+ 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