+ Reply to Thread
Results 1 to 6 of 6

Autopopulate Cells when meeting 3 conditions

  1. #1
    Registered User
    Join Date
    06-03-2015
    Location
    US
    MS-Off Ver
    NEw
    Posts
    22

    Autopopulate Cells when meeting 3 conditions

    Hi Excel Forum Fam.,

    I'm reaching out for some assistance to see how I can achieve the following:


    Enter Today's Date in the "New Column" for all N/A's and 0's that fall in the "Action Column" and Highlighted Red.

    Cells are Red if they are either <= to Today's date.



    I've attached a spreadsheet for easier understanding.

    I hope this is possible!

    Thank you very much!
    MK
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Autopopulate Cells when meeting 3 conditions

    Quote Originally Posted by marcelkahn5 View Post
    ...Cells are Red if they are either <= to Today's date...
    Based on what? I dont see any dates in your table.

    For the other part, try this...
    =IF(OR(I2=0,I2="N/A"),TODAY(),"")
    Format as DATE
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    06-03-2015
    Location
    US
    MS-Off Ver
    NEw
    Posts
    22

    Re: Autopopulate Cells when meeting 3 conditions

    The Action Column pulls in data from another tab.

    How do I autopopulate Column M (New) with Todays date if Column I (Action) shows #N/A or 0, and Column E (Date) shows a date <= to today's date.
    Attached Files Attached Files

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Autopopulate Cells when meeting 3 conditions

    A few observations...
    1. You need to be consistent with how you enter N/A. I see you now have a #N/A, can that be changed to N/A?
    2. You did not say what you wanted if I is blank?

    Assuming you want nothing shown if I is empty...
    M2=IF(AND(I2<>"",E2<=TODAY(),OR(I2=0,I2="N/A")),TODAY(),"")
    copied down
    Format as Date

  5. #5
    Registered User
    Join Date
    06-03-2015
    Location
    US
    MS-Off Ver
    NEw
    Posts
    22
    I'll make sure to keep #N/A consistent.

    Column I will never be blank.

    Is it possible to combine this formula with my Vlookup formula that's pulling in data for Column I? and automatically replace the #N/A's and 0's while keeping all the existing data that's pulled in for all entries that are not #N/A or 0?

    Really appreciate you taking the time!

    Thank you!
    Last edited by marcelkahn5; 09-02-2018 at 01:56 AM.

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Autopopulate Cells when meeting 3 conditions

    Quote Originally Posted by marcelkahn5 View Post
    ...Instead of blank, I’ll need the current entries in Column I to remain.
    OK, but what do you want M to show is I is empty?

    So this formula would have to be combined with my blood up that’s pulling data into Column I if that’s possible.
    Not really sure what that means?

+ 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: 1
    Last Post: 06-29-2010, 04:51 PM
  2. Unlocking cells meeting certain conditions
    By niki.sc in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-20-2008, 02:07 PM
  3. Count and sum cells meeting two conditions
    By kllewellyn in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 11-12-2007, 07:55 AM
  4. Code to recalculate certain cells only meeting certain conditions
    By Don Juan in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 12-25-2006, 11:46 PM
  5. Loop through cells meeting conditions
    By Huyeote in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-13-2005, 10:25 AM
  6. [SOLVED] Meeting two conditions before summing
    By Bob Phillips in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 12:05 PM
  7. [SOLVED] Meeting two conditions before summing
    By Andeb in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  8. Meeting two conditions before summing
    By Andeb in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 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