+ Reply to Thread
Results 1 to 8 of 8

Assist with formula to get count (unable to get it from 'Countifs' function)

  1. #1
    Registered User
    Join Date
    04-20-2018
    Location
    India
    MS-Off Ver
    2013
    Posts
    25

    Question Assist with formula to get count (unable to get it from 'Countifs' function)

    Hi All,

    i want to map some data (count data) from one excel sheet to another like exactly how 'sumifs' function works.

    SUMIFS = sum_range, criteria_range1, creiteria1

    i want = count_range, creiteria_range1, creiteria1

    Please help.

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Assist with formula to get count (unable to get it from 'Countifs' function)

    Hello and welcome to the forum.

    COUNTIFS and SUMIFS are a little bit different in the fact that there is no separate "count range" for COUNTIFS like there is a "sum range" for SUMIFS.

    Simply put in your criteria ranges and criteria.

    If you would like more specific assistance, consider uploading a small representative sample of your data along with the desired result (which you can enter manually) based on that sample.

    To upload an Excel workbook, follow these steps:
    1) Click on "Go Advanced"
    2) Click on "Manage Attachments"
    3) Click on "Choose File"
    4) Choose your file and click on "Open"
    5) Click on "Upload"
    6) Click on "Close this window"

  3. #3
    Registered User
    Join Date
    04-20-2018
    Location
    India
    MS-Off Ver
    2013
    Posts
    25

    Post Re: Assist with formula to get count (unable to get it from 'Countifs' function)

    here is the sample file attached.
    Attached Files Attached Files

  4. #4
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Assist with formula to get count (unable to get it from 'Countifs' function)

    Try this:

    H4 =COUNTIFS(B:B,G4,C:C,"<>")

  5. #5
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Assist with formula to get count (unable to get it from 'Countifs' function)

    If the Job # (column C) is being populated by a formula, and the blank cells are actually "" (not empty but showing as blank), you can use this instead:

    =SUMPRODUCT((LEN(C$4:C$13)>0)*(B$4:B$13=G4))

  6. #6
    Registered User
    Join Date
    04-20-2018
    Location
    India
    MS-Off Ver
    2013
    Posts
    25

    Re: Assist with formula to get count (unable to get it from 'Countifs' function)

    excellent its working...

  7. #7
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Assist with formula to get count (unable to get it from 'Countifs' function)

    Hi Pavankumarbangaru, Please put the in Cell H4 the below formula and drag it:

    =COUNTIFS($B$4:$B$13,G4,$C$4:$C$13,">""")

  8. #8
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Assist with formula to get count (unable to get it from 'Countifs' function)

    Great! Happy to help.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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. Replies: 2
    Last Post: 06-14-2017, 11:36 PM
  2. Replies: 12
    Last Post: 03-23-2017, 01:24 PM
  3. Countifs function to count values done today on a particular hour
    By biznez in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-26-2016, 10:40 PM
  4. [SOLVED] Countifs function to count cell color
    By DHBarkley in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-23-2016, 07:08 PM
  5. Replies: 6
    Last Post: 10-21-2015, 09:44 AM
  6. Countifs formula is slow, is there another way to count 0
    By zubababy in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-22-2015, 06:56 PM
  7. Replies: 1
    Last Post: 01-15-2006, 11:50 PM

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