+ Reply to Thread
Results 1 to 5 of 5

Using Countifs to consider multiple criteria for one return value

  1. #1
    Registered User
    Join Date
    07-15-2015
    Location
    new hampshire
    MS-Off Ver
    Office 2010
    Posts
    83

    Using Countifs to consider multiple criteria for one return value

    Hi,

    I am using - on tab "Front Page"
    =IF(COUNTIFS(FINAL!$E$10:$E$30,SKU!$A$2:$A$1782),lists!$A$30,FALSE)

    What I would like to do is -

    If in E10:E30 on "Final Tab" a sku # exits that is then found on sku tab A2:A1782 as well as in column G on sku tab is denoted as "Standard" then I would like the value in A30 on "lists" tab returned.

    This is a good one I think!
    Thank you!

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: Using Countifs to consider multiple criteria for one return value

    It's not clear what you are trying to do exactly. You certainly can't use COUNTIFS in the way you have attempted to do. Are you trying to generate just one result or a list of results? Please add the expected outcome(s) manually on your final tab so that we can see what you are trying to achieve. How is Excel meant to associate SKUs with the items on the List sheet?
    Last edited by AliGW; 05-30-2017 at 02:45 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    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,929

    Re: Using Countifs to consider multiple criteria for one return value

    Need to see some sample answers
    Not sure what you are testing or where you want the answer

    This will do the search based on what is in E10 on Final sheet
    =IF(INDEX(SKU!G:G,MATCH(E10,SKU!A:A,0))="STANDARD",lists!$A$30,"")
    when you put this in a helper column (I used AB10) and copied down, it returns A30 where applicable - but ONLY A30
    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

  4. #4
    Registered User
    Join Date
    07-15-2015
    Location
    new hampshire
    MS-Off Ver
    Office 2010
    Posts
    83

    Re: Using Countifs to consider multiple criteria for one return value

    Hi Ali,

    I started again with this in Cell B38 on Front page tab -

    =IF(VLOOKUP(FINAL!E10,SKU!$A:$H,7,FALSE)="Standard",lists!$A$30,IF(VLOOKUP(FINAL!E10,SKU!$A:$H,7,FALSE)="FR",lists!$A$32,IF(VLOOKUP(FINAL!E10,SKU!$A:$H,7,FALSE)="Polo",lists!$A$32,IF(VLOOKUP(FINAL!E10,SKU!$A:$H,7,FALSE)="T-SHIRT",lists!$A$33,IF(VLOOKUP(FINAL!E10,SKU!$A:$H,7,FALSE)="CARHARTT",lists!$A$32,"-")))))
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    07-15-2015
    Location
    new hampshire
    MS-Off Ver
    Office 2010
    Posts
    83

    Re: Using Countifs to consider multiple criteria for one return value

    Hi Ford,

    I am trying to do this (that can't be done, I think) - I think I was trying to get Excel to return two values to one cell.
    Here was my thinking -

    Look at Final Tab cells E10:E30,
    If any of the sku numbers there, are also found on SKU tab in range A2:A1782, then return the value from column G on SKU tab for the corresponding sku in column A.
    Not sure that makes sense.

+ 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. Countifs with multiple criteria in single criteria range
    By SUHAS KARHADKAR in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 12-01-2016, 10:55 AM
  2. Countifs with multiple criteria in single criteria range
    By MCP313 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-01-2016, 03:51 AM
  3. [SOLVED] COUNTIFS with multiple criteria in the same criteria range
    By Faridwahidi in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-23-2015, 01:04 PM
  4. [SOLVED] countifs statement with multiple criteria for multiple criteria ranges
    By mcdermott2 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-07-2015, 11:48 AM
  5. [SOLVED] Countifs multiple criteria, and 1 criteria Less than & Greater than
    By david gonzalez in forum Excel General
    Replies: 4
    Last Post: 06-30-2014, 10:33 PM
  6. [SOLVED] Countifs with multiple criteria and one criteria has a list of names
    By Beefy1 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-30-2014, 05:25 PM
  7. Replies: 0
    Last Post: 07-27-2011, 01:00 AM

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