+ Reply to Thread
Results 1 to 9 of 9

A couple of problems with google sheets & countifs - please help!

  1. #1
    Registered User
    Join Date
    05-25-2022
    Location
    London
    MS-Off Ver
    Google Sheets
    Posts
    16

    Exclamation A couple of problems with google sheets & countifs - please help!

    Hi there! Hope you're all having a nice Sunday.

    I have a couple of issues that I'd really appreciate some help on.

    1) Firstly, I'm trying to count each value if in the first image column (Deal Stage) is Lost. Obviously there are a couple of different Lost's that come up. Such as "Lost - Rejected" or "Lost - To competition". In my formula, =COUNTIFS('M&A HS Export Pull'!$B:$B,"*Lost*",'M&A HS Export Pull'!$C:$C,">="&D$2,'M&A HS Export Pull'!$C:$C,"<"&E$2,'M&A HS Export Pull'!$C:$C,"<>"), will this count all the different incidences of Lost (Lost, Lost - Rejected, Lost - To competition)? Or is there another way I need to do this, like an and?

    Attachment 782935

    2) Secondly, I want to then count the times any Lost value appears (column B) when it is in the lead pipeline (column G) if a seller meeting has been booked (column C).

    help.png

    Formula is above!

    Thanks in advance!
    Attached Files Attached Files
    Last edited by The Protector; 06-06-2022 at 09:07 AM.

  2. #2
    Registered User
    Join Date
    05-25-2022
    Location
    London
    MS-Off Ver
    Google Sheets
    Posts
    16

    Re: A couple of problems with google sheets & countifs - please help!

    This is a loom link with a video of me explaining the problem, but I can't share it as I'm a relatively new member.

    link.png

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: A couple of problems with google sheets & countifs - please help!

    I guess it can be done with a pivot table.

    HOW TO ATTACH YOUR SAMPLE WORKBOOK:

    Fast answers need clear examples. Post a small Excel sheet (not a picture) showing realistic & representative sample data WITHOUT confidential information (10-20 rows, not thousands...) and some manually calculated results. For a new thread (1st post), scroll to Manage Attachments, otherwise scroll down to GO ADVANCED, click, and then scroll down to MANAGE ATTACHMENTS and click again. Now follow the instructions at the top of that screen.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  4. #4
    Registered User
    Join Date
    05-25-2022
    Location
    London
    MS-Off Ver
    Google Sheets
    Posts
    16

    Re: A couple of problems with google sheets & countifs - please help!

    Is there another way to do it? It would be great if I could make a formula that could then be copied across. Having a pivot table wouldn't allow me to do that.

  5. #5
    Valued Forum Contributor janmorris's Avatar
    Join Date
    07-24-2021
    Location
    Japan
    MS-Off Ver
    Google Sheets (& Mac 2021)
    Posts
    1,066

    Re: A couple of problems with google sheets & countifs - please help!

    Hi The Protector,

    Now that your post count has reached "10", you should find that you are now able to post links.

    Please post a link to a copy of your file, with anonymous but realistic data, that has enabled Editor for Anyone with the link.

    Then we can look further with your enquiry.
    As a gesture off appreciation, you can click * Add Reputation at the foot of any of the posts of members who helped you reach a solution.

    And finally, was your problem solved? if so, please click Thread Tools above the first post of your enquiry, then select [Solved]

  6. #6
    Registered User
    Join Date
    05-25-2022
    Location
    London
    MS-Off Ver
    Google Sheets
    Posts
    16

    Re: A couple of problems with google sheets & countifs - please help!

    https://docs.google.com/spreadsheets...it?usp=sharing

    Please find the link and my task here.

  7. #7
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: A couple of problems with google sheets & countifs - please help!

    I am not interested in opening those links.

    You can add the file also on this forum.


    HOW TO ATTACH YOUR SAMPLE WORKBOOK:

    Fast answers need clear examples. Post a small Excel sheet (not a picture) showing realistic & representative sample data WITHOUT confidential information (10-20 rows, not thousands...) and some manually calculated results. For a new thread (1st post), scroll to Manage Attachments, otherwise scroll down to GO ADVANCED, click, and then scroll down to MANAGE ATTACHMENTS and click again. Now follow the instructions at the top of that screen.

  8. #8
    Registered User
    Join Date
    05-25-2022
    Location
    London
    MS-Off Ver
    Google Sheets
    Posts
    16

    Re: A couple of problems with google sheets & countifs - please help!

    Apologies Oeldere, I've now attached a file to my original post.

  9. #9
    Valued Forum Contributor janmorris's Avatar
    Join Date
    07-24-2021
    Location
    Japan
    MS-Off Ver
    Google Sheets (& Mac 2021)
    Posts
    1,066

    Re: A couple of problems with google sheets & countifs - please help!

    for future reference, when providing representative sample data, make sure that it minimises the need to fiddle with formulas all over the place by ensuring that it will provide some kind of valid result.

    for example, your data is for up to year 2021, but your search criteria is dates in 2022.

    continuing on....

    for the Deal formula in D11, the final criteria is redundant, also, as you want Deal, there is no word before or after so the * wildcards are redundant, and so you can simplify to:
    Please Login or Register  to view this content.
    for Lead Pipeline in D12, same issues as D11:
    Please Login or Register  to view this content.
    for Lost any in D13, here you can utilise the * wildcard:
    Please Login or Register  to view this content.
    for Blacklist in D14, same as for D13:
    Please Login or Register  to view this content.
    for Lead in D10, im unsure the meaning of your notes in B10, so i have followed the same structure as for D12:
    Please Login or Register  to view this content.
    Last edited by janmorris; 06-06-2022 at 01:11 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. [SOLVED] Google Sheets: How to combine CountIfs and an array formula
    By e-ads in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 3
    Last Post: 02-24-2023, 05:59 AM
  2. [SOLVED] On Google Sheets trying to =Countifs a cell as criteria, not a value.
    By The Protector in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 5
    Last Post: 05-26-2022, 04:44 AM
  3. Replies: 5
    Last Post: 05-26-2022, 04:44 AM
  4. Countifs not working in Google Sheets
    By acruthi in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 2
    Last Post: 12-02-2021, 12:11 AM
  5. [SOLVED] Google Sheets: COUNTIFS and SUMIF formulas returning 0
    By algoit in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 8
    Last Post: 01-23-2021, 03:28 AM
  6. Google Sheets: countifs multiple criteria from multiple sheets
    By wlinksanju in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 10
    Last Post: 06-16-2020, 11:23 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