+ Reply to Thread
Results 1 to 6 of 6

Automatic fill cells according some rules

  1. #1
    Registered User
    Join Date
    11-28-2012
    Location
    Greece
    MS-Off Ver
    Excel 2010
    Posts
    44

    Automatic fill cells according some rules

    Hi to all!! I need your help once again!
    I would like to fill some cells with a customer id if this customer is the same as the cell bellow.
    As my example below. (sorry I can upload the file through company’s policy)

    CUSTOMER id CUSTOMER NAME TYPE
    737346 Nikos 81
    1154765 Kyriakos 81

    1154780 Thanos 81

    I would like to fill automatically the empty cell bellow Kyriakos the customer id 1154765 in new column.
    I want in column "new" to fill with customer id and when the customer id is empty to fill the same customer id as above customer id.
    like the exaple below

    CUSTOMER id CUSTOMER NAME TYPE new
    737346 Nikos 81 737346
    1154765 Kyriakos 81 1154765
    1154765
    1154780 Thanos 81 1154780


    thanks a lot!!!

  2. #2
    Registered User
    Join Date
    11-28-2012
    Location
    Greece
    MS-Off Ver
    Excel 2010
    Posts
    44

    Re: Automatic fill cells according some rules

    i found the solutions

    thanks anyway!

  3. #3
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Automatic fill cells according some rules

    If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  4. #4
    Registered User
    Join Date
    11-28-2012
    Location
    Greece
    MS-Off Ver
    Excel 2010
    Posts
    44

    Re: Automatic fill cells according some rules

    i used this macro:

    Please Login or Register  to view this content.
    http://dmcritchie.mvps.org/excel/fillempt.htm
    Last edited by arlu1201; 05-20-2013 at 02:13 AM.

  5. #5
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Automatic fill cells according some rules

    chrism,

    I have added code tags to your post. As per forum rule 3, you need to use them whenever you put any code in your post. Please add them in future. In order to put code tags, either type [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] at the end of it, OR you can highlight your code and click the # icon at the top of your post window.

  6. #6
    Registered User
    Join Date
    11-28-2012
    Location
    Greece
    MS-Off Ver
    Excel 2010
    Posts
    44

    Re: Automatic fill cells according some rules

    Sorry for that.
    Thanks a lot for your correction!

+ 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