+ Reply to Thread
Results 1 to 2 of 2

Auto fill blank columns in a row

  1. #1
    Registered User
    Join Date
    11-05-2014
    Location
    SF
    MS-Off Ver
    Excel 2010
    Posts
    39

    Auto fill blank columns in a row

    Hey all -

    I have a list of people in a bunch of rows, with their superior in the column to the right. Some are further down the line in the org, so they have more managers and fill up more columns. Others have only 1 manager and only fill up the first column to the right of the name.

    Is there any way to write an equation / code that autofills each row? I would need columns R-V (everyone has Q filled with the CEO) to be filled with the previous cell in the row if R, S, T, U, or V is blank. If they are all blank, I would want them to fill with the same name as column Q.

    I've attached an example of what I have vs what i Need, for your reference.

    Thnaks!
    -EN
    Attached Files Attached Files

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: Auto fill blank columns in a row

    Try this......

    Option Explicit
    Please Login or Register  to view this content.
    Please find the attached workbook and click on the Blue Button on the Test Sheet to run the macro. The code is present on Module1.
    Attached Files Attached Files
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

+ 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. Macro to auto-fill all the blank cells ???
    By canefan17 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-27-2015, 05:34 PM
  2. [SOLVED] Auto Fill from other columns and using IF with related to blank or Zero cells
    By Psionicrnd in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-05-2014, 05:45 AM
  3. Auto fill & auto blank cell
    By sushant.gore in forum Excel General
    Replies: 1
    Last Post: 10-07-2010, 01:06 PM
  4. [SOLVED] blank cells with auto fill in excel
    By derecl in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-02-2005, 06:20 PM
  5. Auto Fill blank cells
    By maddz in forum Excel General
    Replies: 0
    Last Post: 02-01-2005, 05:49 AM

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