+ Reply to Thread
Results 1 to 8 of 8

Auto populate columns based on selected values in a cell

  1. #1
    Registered User
    Join Date
    07-23-2015
    Location
    India
    MS-Off Ver
    2010
    Posts
    23

    Auto populate columns based on selected values in a cell

    In Sheet 1 I have a cell C4 ="Number of resources" and C5 has list values from 1 to 10

    In Sheet 2 I have a table for resources. Based on the selection in C5, if it is 2 then Column C15, C16 should be populated (only for that table from rows 15 to 23) it should not enter a new column in the full sheet which would add a blank column in the above and below tables.

    I have attached the sheet for your reference.

    Thanks

    Autopopulate.xls

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Auto populate columns based on selected values in a cell

    Here!

    Put this in B16 and Drag Down

    Please Login or Register  to view this content.
    But what happens if 9 or 10 is selected?

    There is only space for Activities till 8
    Cheers!
    Deep Dave

  3. #3
    Registered User
    Join Date
    07-23-2015
    Location
    India
    MS-Off Ver
    2010
    Posts
    23

    Re: Auto populate columns based on selected values in a cell

    Thanks for your suggestion
    This is populating new rows only. And also if suppose I select 3 then the rest of the rows are displayed blank.
    1. Based on the selection in C5, if it is 2 then Column C15, C16 should be populated (only for that table from rows 15 to 23) it should not enter a new column in the full sheet which would add a blank column in the above and below tables.

  4. #4
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Auto populate columns based on selected values in a cell

    Should be populated with what?

    You will have to be slightly more clear, I am not understanding the requirement..

  5. #5
    Registered User
    Join Date
    07-23-2015
    Location
    India
    MS-Off Ver
    2010
    Posts
    23

    Re: Auto populate columns based on selected values in a cell

    If i select 2 in Sheet1 C5,then in sheet2 i should have

    C15 = Resource 1
    C16 = Resource 2
    C17 = Comments

    If i select 3 in Sheet1 C5,then in sheet2 i should have

    C15 = Resource 1
    C16 = Resource 2
    C17 = Resource 3
    C18 = Comments

    Hope i am clear now

  6. #6
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Auto populate columns based on selected values in a cell

    Here!

    Put this in C15 and drag down

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    07-23-2015
    Location
    India
    MS-Off Ver
    2010
    Posts
    23

    Re: Auto populate columns based on selected values in a cell

    Thanks for your help

    It should be
    Please Login or Register  to view this content.
    Pasted in C15 and dragged towards the subsequent columns

    Thanks a lot for your help

  8. #8
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Auto populate columns based on selected values in a cell

    It is not really working for me..

    Though If it is for you, I am glad I could help..

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. Replies: 3
    Last Post: 01-28-2015, 01:09 AM
  2. Auto populate a third cell, based on data from two columns
    By 12ogboy78 in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 03-25-2013, 02:21 AM
  3. Macro - how to auto populate the data, based on the previous cell values
    By Avinash Kumar in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 09-21-2012, 02:03 PM
  4. Replies: 0
    Last Post: 04-30-2012, 12:02 PM
  5. Replies: 3
    Last Post: 02-28-2012, 11:54 AM
  6. Macro - auto populate the values based on previous cell values
    By Avinash Kumar in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-05-2009, 02:02 AM
  7. Auto-populate cell based on values in other cells
    By cyndimei in forum Excel General
    Replies: 8
    Last Post: 10-03-2008, 03:12 PM

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