+ Reply to Thread
Results 1 to 2 of 2

Problem with cell return in a countifs

  1. #1
    Registered User
    Join Date
    02-05-2014
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    5

    Problem with cell return in a countifs

    Hi,

    I have three sheets: the first contain many data and the second and third have to find specific data in the first one.

    With help of this excelent excel knowledge source, I made this formula that I use in the second sheet:

    =SUM(COUNTIFS(brut!$B:$B;"1T";brut!$G:$G;"K13"; brut!$D:$D;{"1";"2";"3"}

    Where brut is the first sheet and "1T", "K13" , "1","2","3"are arguments to look and count.

    it works fine and the result of the formula is numbers - if the result is 1, 1, if the result is 2, 2...

    I would like some help for the third sheet. I need that the formula give not a result but what are in a cell in the first sheet.

    I made this formula:

    =IF(COUNTIFS(brut!$B:$B;"1T";brut!$G:$G;"K13"; brut!$D:$D;{"1"});brut!$E:$E; 0)

    Where brut is the first sheet and "1T", "K13" and "1" are arguments to look and brut!$E:$E is the result that I want.


    What happened:

    The result is not related to the argument "K13" that I want, but is brut$E:$E in the line 13. If I change to "k17", is brut$E:$E in line 17.

    Thanks in advance,

    Regards from Brazil

  2. #2
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Problem with cell return in a countifs

    could you post sample book
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

+ 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] Problem with COUNTIFS
    By jrlafrance in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-29-2013, 02:59 PM
  2. [SOLVED] SUMPRODUCT or COUNTIFS to Return Sum of Numbers Meeting Year and Part Number?
    By d_striker in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-27-2013, 04:01 PM
  3. Replies: 5
    Last Post: 09-22-2012, 09:53 AM
  4. Replies: 0
    Last Post: 12-16-2011, 09:01 AM
  5. COUNTIFS problem
    By javajoemorgan in forum Excel General
    Replies: 8
    Last Post: 10-15-2009, 11:28 AM

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