+ Reply to Thread
Results 1 to 3 of 3

Formula to return a value from one column based on date in one col and no date in other

  1. #1
    Forum Contributor
    Join Date
    05-01-2013
    Location
    Richmond, VA
    MS-Off Ver
    Excel 365
    Posts
    164

    Formula to return a value from one column based on date in one col and no date in other

    I am attaching a sample spreadsheet to hopefully get some help on creating a formula as follows:

    IN COLUMN U POPULATE THE WIDGET QUANTIY FROM COLUMN J WHEN COLUMN L HAS A DATE AND COLUMN N IS BLANK

    IN COLUMN V POPULATE THE WIDGET QUANTITY FROM COLUMN J WHEN COLUMN N HAS A DATE AND COLUMN Q IS BLANK

    I realize that probably one formula is needed for both - just tweak the columns in the formula.

    Any help with this would be greatly appreciated. Thank you!
    Attached Files Attached Files

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Formula to return a value from one column based on date in one col and no date in othe

    In U2
    =IF(AND(ISNUMBER(L2),N2=""),J2,"")

    In V2
    =IF(AND(ISNUMBER(N2),Q2=""),J2,"")


    If you need a single formula try
    =IF(OR(AND(ISNUMBER(L2),N2=""),AND(ISNUMBER(N2),Q2="")),J2,"")


    Copy down
    Last edited by Ace_XL; 01-28-2020 at 04:42 PM. Reason: ..
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Forum Contributor
    Join Date
    05-01-2013
    Location
    Richmond, VA
    MS-Off Ver
    Excel 365
    Posts
    164

    Re: Formula to return a value from one column based on date in one col and no date in othe

    This is perfect. Thank you!

+ 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: 4
    Last Post: 03-21-2018, 09:25 AM
  2. Replies: 1
    Last Post: 01-30-2017, 05:54 PM
  3. [SOLVED] Userform - User enters date into Textbox1, want Textbox2 to return a date based on formula
    By Quasis in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-30-2017, 01:06 PM
  4. [SOLVED] Formula to automatically return date in correct cell based on date given
    By MichelleD75 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-10-2016, 01:29 PM
  5. [SOLVED] Formula to enter a date in one column based on date in another
    By Dena in forum Excel General
    Replies: 7
    Last Post: 06-10-2013, 11:46 AM
  6. Replies: 11
    Last Post: 02-08-2012, 01:25 PM
  7. Replies: 1
    Last Post: 01-05-2011, 05:18 PM

Tags for this Thread

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