We're aware that some users are experiencing technical issues which the team are working to resolve. See the Community Noticeboard for more info. Thank you for your patience.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!

Final Excel Query :)

Options
shaz77_2
shaz77_2 Posts: 1,881 Forumite
Hi All,

This is my final query and it's bugging me. I have two tabs on my spreadsheet and I want to input some values onto tab 2 from tab 1 (Data).

I need to link two columns from the data tab (Column C which links to a team and column G which related to the achievement of targets (Yes/No). I want to count each of the achievements for each team, at the moment I am doing it manually via the following formula but there must be something faster?

=COUNTIF(Data!G871:G4645,"=Yes")

Thanks in advance

Comments

  • EchoLocation
    EchoLocation Posts: 901 Forumite
    Part of the Furniture 500 Posts Combo Breaker
    Sounds like you need to match two lots of criteria? (Team and Achievment). This can be done with COUNTIFS
  • shaz77_2
    shaz77_2 Posts: 1,881 Forumite
    That's correct so if Team = Liverpool and Achievement = Yes that would be one occurrence for Liverpool. I want to function to add up all for Liverpool and place beside Liverpool Cell and to do the same for other teams.
  • EchoLocation
    EchoLocation Posts: 901 Forumite
    Part of the Furniture 500 Posts Combo Breaker
    =COUNTIFS(Data!C1:C10,"Liverpool",Data!G1:G10,"Yes")

    Of course you can replace the criteria above with the cell references for each team and achievement on Tab 2 then just copy the formula down.
  • jackomdj
    jackomdj Posts: 3,073 Forumite
    Part of the Furniture 1,000 Posts
    I do like sumifs and countifs, makes life a whole lot easier.
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 350.8K Banking & Borrowing
  • 253.1K Reduce Debt & Boost Income
  • 453.5K Spending & Discounts
  • 243.8K Work, Benefits & Business
  • 598.7K Mortgages, Homes & Bills
  • 176.8K Life & Family
  • 257.1K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.1K Discuss & Feedback
  • 37.6K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.