+ Reply to Thread
Results 1 to 6 of 6

fill next blank cell from one cell w/o changing previous cells

  1. #1
    Registered User
    Join Date
    01-03-2013
    Location
    North Carolina
    MS-Off Ver
    Excel 2010
    Posts
    3

    fill next blank cell from one cell w/o changing previous cells

    I have 2 sheets in a workbook. On sheet 1 I have the same cell that changes weekly. I would like this information to fill the next blank cell in the column on sheet 2 w/o changing the prior cells.

  2. #2
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: fill next blank cell from one cell w/o changing previous cells

    You could use an event macro. I have attached a sample file. Macros must be enabled for this to work
    Attached Files Attached Files
    Gary's Student

  3. #3
    Registered User
    Join Date
    01-03-2013
    Location
    North Carolina
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: fill next blank cell from one cell w/o changing previous cells

    the sample sheet seems like that would be great but I am not that familar with macros. I actually have 3 different cells on sheet 1 that will change weekly that I need the data to fill 3 columns (column per cell on sheet 1) on sheet 2 that need to fill next blank cells.

  4. #4
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: fill next blank cell from one cell w/o changing previous cells

    Very good! Either upload your workbook and I will add the macros or give me details about the three cells and will update my tiny sample.

    If you would rather install the event macro yourself, here are instructions:


    Because it is worksheet code, it is very easy to install and automatic to use:
    1. right-click the tab name near the bottom of the Excel window
    2. select View Code - this brings up a VBE window
    3. paste the stuff in and close the VBE window
    If you have any concerns, first try it on a trial worksheet.

    If you save the workbook, the macro will be saved with it.


    To remove the macro:
    1. bring up the VBE windows as above
    2. clear the code out
    3. close the VBE window
    To learn more about macros in general, see:

    http://www.mvps.org/dmcritchie/excel/getstarted.htm

    To learn more about Event Macros (worksheet code), see:

    http://www.mvps.org/dmcritchie/excel/event.htm

    Macros must be enabled for this to work!

  5. #5
    Registered User
    Join Date
    01-03-2013
    Location
    North Carolina
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: fill next blank cell from one cell w/o changing previous cells

    Sorry for the delay in getting back to you. Hope you are still willing to help I have attached the sheet. On the sheet "hours" there are 3 cells that I need to fill the cells on the next sheet "sheet 1"
    I have the cell on "hours" tab to corresponding color cells on the "sheet 1" tab.
    Attached Files Attached Files

  6. #6
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: fill next blank cell from one cell w/o changing previous cells

    I have downloaded your workbook.

    Which are the three cells in the hours worksheet that you are going to be updating??

  7. #7
    Registered User
    Join Date
    01-03-2013
    Location
    North Carolina
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: fill next blank cell from one cell w/o changing previous cells

    in the top left the red cell for date, then the yellow cell beside "salary" then the green beside " total packaged"

+ 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