+ Reply to Thread
Results 1 to 4 of 4

I need to auto-populate a range of cells if criteria that is in a separate cell isn't met

  1. #1
    Forum Contributor
    Join Date
    05-11-2020
    Location
    Kansas City
    MS-Off Ver
    Office 365
    Posts
    162

    I need to auto-populate a range of cells if criteria that is in a separate cell isn't met

    I am working on a staffing/ attrition spreadsheet and want to automate a lot of it. I am hoping to get "OPEN" to automatically appear in the range of cells below any position that doesn't meet the "Needs" number in column B of Sheet1. I need this to occur in each position (grayed out area) in columns C, E and G. The "Needs" number does change, so I would like to make the formula rely on that number and be modifiable. I hope that this isn't confusing, because it is to me.

    Thank you in advance!

    Adam
    Attached Files Attached Files

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: I need to auto-populate a range of cells if criteria that is in a separate cell isn't

    .
    It would help if you could give a "before" and "after" version so we know what you are asking for. Just looking at your spreadsheet, as it is now, doesn't allow for a correct interpretation.

  3. #3
    Forum Contributor
    Join Date
    05-11-2020
    Location
    Kansas City
    MS-Off Ver
    Office 365
    Posts
    162

    Re: I need to auto-populate a range of cells if criteria that is in a separate cell isn't

    Sorry,

    E6 (PROCESS TECHS) is the position. The range for that shift & position is E7:E11
    B6 is the "need" for the Process Tech Position, which is currently 4
    What I would like to do is get cell E10 to automatically populate "OPEN" when there are only 3 names in that range and the "need" is 4.

    I hope that helps. I will need to duplicate this process a lot in order to finish the rest of the shifts and positions, but a push in the right direction would help a lot.

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,570

    Re: I need to auto-populate a range of cells if criteria that is in a separate cell isn't

    If you were to put a formula into cell E10 and later fill it with a name, then the formula would be erased. So I believe that the only way to do exactly what you want is to use VBA, of which I know too little to help.
    The best suggestion that I can offer from a formula standpoint is to conditionally format the cells using the following formula: =AND(C7="",D$6<$B$6,ROWS(C$7:C7)<=$B$6)
    Notice that cell E10 is highlighted yellow using the above rule.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. [SOLVED] Auto-populate cells if other cells meet a criteria
    By Shirora in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-04-2019, 04:02 PM
  2. [SOLVED] Auto Populate Cells Based on a Criteria
    By danallamas in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-15-2017, 08:06 PM
  3. [SOLVED] Formula to auto populate cells to match multiple tabs with certain criteria
    By rowena229 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 03-18-2015, 04:42 PM
  4. [SOLVED] Dynamic Named Range to Auto-Populate another range based on criteria
    By BeachRock in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-24-2014, 06:46 PM
  5. Auto-Populate Data From Master List to Separate Sheets When Two Criteria's Are Met
    By centibttrfly in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-09-2014, 11:18 AM
  6. Replies: 5
    Last Post: 03-04-2014, 10:01 AM
  7. Auto populate data from multiple cells on separate worksheet
    By Talance in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-01-2011, 07:19 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