+ Reply to Thread
Results 1 to 6 of 6

Sumproduct return value if data has blank cell

  1. #1
    Registered User
    Join Date
    09-27-2018
    Location
    Malaysia
    MS-Off Ver
    MS Office 2010
    Posts
    28

    Sumproduct return value if data has blank cell

    Hi All

    I am trying to use the sumproduct on a range of date which to meet the criteria. My criteria is that the join date and termination date of the staff must be more than the date given and include with blank cell.

    However, my date column include a blank cell, a staff who is still active. I tried many way and looking for the alternative on the internet. The value still return as #value!. Your assistance is highly appreciated

    Thanks and Best Regards,
    Kenneth

  2. #2
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,369

    Re: Sumproduct return value if data has blank cell

    Not sure but try

    =SUMPRODUCT((JoinDate>=A15)*(Termination_Date<=B15)*(Name1<>""))

  3. #3
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Sumproduct return value if data has blank cell

    I am also not sure. Try array entering this formula.

    If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

  4. #4
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,626

    Re: Sumproduct return value if data has blank cell

    As I'm not sure if that is the same file I've answered in the duplicated post (see rule 5 of our https://www.excelforum.com/forum-rul...rum-rules.html ): https://www.excelforum.com/excel-gen...ank-cells.html
    Best Regards,

    Kaper

  5. #5
    Registered User
    Join Date
    09-27-2018
    Location
    Malaysia
    MS-Off Ver
    MS Office 2010
    Posts
    28

    Re: Sumproduct return value if data has blank cell

    Thank you so much for your expertise, Azumi,

    However, i encountered another challenge. I tried to use a formula to extract data that meet the criteria in a new location of my worksheet. However,the data didnt return as expected.
    On my date column include a blank cell, a staff who is still active. I want the data of those staff who is still attached to the company whereby join date and termination date to be more than the date given and include the staff who has blank cell in termination date col
    Attached is my worksheet

    The result should be shown as follow :

    Name1 JoinDate Termination Date
    Rezwan 7/23/2018 10/7/2018
    Hanafi 7/16/2018 10/4/2018
    Rosman 7/15/2018 10/4/2018
    Mazlan 8/29/2018

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,064

    Re: Sumproduct return value if data has blank cell

    Please DO NOT duplicate questions in separate threads. This can be a huge TIME WASTER for those who are trying to help you. People who do this regularly soon get to be ignored. You already have two replies to this Q on your parallel thread.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

+ 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] How to return a sum only if a specific cell contains data, else return blank cell
    By Teeay5324 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 06-03-2017, 11:18 AM
  2. [SOLVED] If two cells are blank then return blank, else vlookup cell with populated data
    By Jason G in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-06-2017, 10:20 AM
  3. Replies: 1
    Last Post: 07-22-2016, 04:03 PM
  4. Return first non blank cell (cells have formulas that return blank)
    By BG1983 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-05-2016, 04:06 PM
  5. [SOLVED] HELP : Return blank if there is no value or no data in left cell..
    By clonedarkman in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-10-2014, 11:40 PM
  6. [SOLVED] Sumproduct function to return blank instead of 0
    By sunilwadhwa in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-23-2013, 01:46 PM
  7. [SOLVED] Return data if blank cell is found
    By Dartmouth_jock in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-09-2013, 03:03 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