+ Reply to Thread
Results 1 to 5 of 5

Help using OFFSET, MATCH and COUNTIFS in Data Validation List

  1. #1
    Forum Contributor BeachRock's Avatar
    Join Date
    11-01-2011
    Location
    Oregon, United States
    MS-Off Ver
    Excel 2016
    Posts
    403

    Help using OFFSET, MATCH and COUNTIFS in Data Validation List

    Hi everyone,

    I have the following formula in a data validation list and it works great but I need to add additional criteria to the COUNTIF and I can't seem to make COUNTIFS work with it.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    I don't understand why COUNTIFS isn't working as I've tried to use it in the example below.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    The reason I need the additional COUNTIF criteria is so I don't end up with both Active and Achieved goals listed.

    Thanks very much for any help you can provide.
    Last edited by BeachRock; 12-06-2013 at 12:08 PM.
    -------------
    Tony

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,922

    Re: Help using OFFSET, MATCH and COUNTIFS in Data Validation List

    If that is the actual formula then: COUNTIFS
    Ben Van Johnson

  3. #3
    Forum Contributor BeachRock's Avatar
    Join Date
    11-01-2011
    Location
    Oregon, United States
    MS-Off Ver
    Excel 2016
    Posts
    403

    Re: Help using OFFSET, MATCH and COUNTIFS in Data Validation List

    Thanks for your reply, protonleah.

    I tried COUNTIFS but it isn't working. That's why I posted...

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Help using OFFSET, MATCH and COUNTIFS in Data Validation List

    Hi,

    It's quite difficult to determine where the problem lies without seeing the actual spreadsheet in question, or at least a dummy version which illustrates the same issue.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  5. #5
    Forum Contributor BeachRock's Avatar
    Join Date
    11-01-2011
    Location
    Oregon, United States
    MS-Off Ver
    Excel 2016
    Posts
    403

    Re: Help using OFFSET, MATCH and COUNTIFS in Data Validation List

    I've got it figured out. With the help of a few helper columns on both of the sheets used in the formula and using two MATCH criteria instead of needing to use two COUNTIF criteria, I was able to make it work as needed using the following formula.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    The problem was mostly related to data type mismatch using General or Text formatting while the formulas were referencing numerical data.

    The helper columns are formatted as Numbers so using two Match criteria, one being the name of the participant and the other using one of the helper columns and then COUNTIF also referencing the same helper column, the Data Validation lists populate with the correct data.

    XOR LX - Sorry, I figured I was just putting the formula together wrong and that someone familiar with using OFFSET with MATCH and COUNTIF or COUNTIFS would easily see where I went wrong. It really seems to me that COUNTIFS might not be able to work in a DV list at all.

    I've attached a copy of what I'm working on so you can see what it was I was doing. The Data Validation list is on the Transactions sheet in cells located in column I and uses a helper column on the Goals sheet in column B, Goals_Achieved_Helper as shown in the formula above. The helper columns on the Transaction sheet in columns A and Q work together in order to provide correct numbers for the reference of the helper in column Q in the DV list formula.

    This is a work in progress so there is still much left to do, mostly with setting up macros and formatting on the various sheets.
    Attached Files Attached Files
    Last edited by BeachRock; 12-06-2013 at 03:48 PM.

+ 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. VBA to create Data Validation (including Offset and Match)
    By matt4003 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-04-2013, 10:02 AM
  2. Replies: 1
    Last Post: 09-05-2012, 11:39 AM
  3. data validation using offset or index match
    By arnab0711 in forum Excel General
    Replies: 3
    Last Post: 01-24-2012, 06:46 AM
  4. Data Validation List - Offset?
    By Dylan&Hayden in forum Excel General
    Replies: 4
    Last Post: 04-29-2008, 01:22 AM
  5. Dynamic Range, Data Validation and Address, Match and Offset Funct
    By rudawg in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-28-2006, 11:25 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