Results 1 to 11 of 11

IF cells in a range are empty, reference values in another cell range

Threaded View

  1. #1
    Registered User
    Join Date
    01-13-2021
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel O365 Enterprise
    Posts
    10

    Question IF cells in a range are empty, reference values in another cell range

    Hi everyone, I am new to this forum and hoping to get some input.

    I have a large table of data and I am using a dynamic sumproduct formula (integrating the offset function) to calculate the total instances that meet two criteria for a specific category.

    Current calculation: total instances for Category 1 that meet the below two criteria
    Search Criteria: Variable 1: "X" / Test 1: "A"
    Formula: =SUMPRODUCT(SUBTOTAL(3,OFFSET($B$11:$B$16,ROW($B$11:$B$16)-MIN(ROW($B$11:$B$16)),,1)),(--EXACT(D5,$B$11:$B$16)),(--EXACT($C$6,$C$11:$C$16))+0)
    Answer = 3

    Problem: I am slowly building out a second set of test results and I am looking to report on the latest data by migrating to Test 2 results as they become available. Therefore, I need to adjust the formula above to test a third variable in the formula but with an additional condition. This condition needs to first search the Test 2 data range for the variable “A”. If it finds different values, those rows will not be counted. If it identifies blank/empty cells, the formula needs to alternatively search in the Test 1 data range for “A”.
    Answer = 3

    Note: I have been playing with ISBLANK/AND functions but can’t seem to make anything work.

    Any assistance is greatly appreciated 😊
    KJ
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by KJ_; 01-13-2021 at 06:23 PM. Reason: Adding attachment

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] count values in one range if the cells in a corresponding range are not empty
    By Thurgel in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 06-09-2020, 10:22 AM
  2. [SOLVED] How to create a dynamic range if the last cell is empty and the columns have empty cells
    By peter_swe in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-03-2016, 11:18 PM
  3. Replies: 0
    Last Post: 08-03-2016, 07:01 PM
  4. Replies: 5
    Last Post: 08-21-2014, 09:10 AM
  5. [SOLVED] Transfer cells range to another sheet if first cell of destination range is empty
    By kopapa in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 11-04-2013, 04:32 PM
  6. If the range A1:F1 and the cell H1 are not empty, then all range cells must be not em
    By loroverde in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-29-2013, 04:13 AM
  7. MACRO to empty a range of cells based on whether specified cell is empty
    By TBJV in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-01-2013, 10:35 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