+ Reply to Thread
Results 1 to 4 of 4

Countifs or Sumifs

  1. #1
    Forum Contributor
    Join Date
    05-17-2012
    Location
    Lisbon
    MS-Off Ver
    Excel 2016 for MAC
    Posts
    117

    Countifs or Sumifs

    Dear All,

    I'm facing a problem with a formula, which is the following:

    on the attached file, Spreadsheet "Funcionarios", Cell "C185" marked yeallow, I want to sum the different names within the I2:I163 from the "Empresa G1:H1" range 2:163 that contains "S.T. & S.F. PUBLICAÇÕES, Lda." or A185 but all formulas are giving me #VALUE or ERROR...

    KIND REGARDS
    Fausto
    BP.xlsx
    Fausto Cruz

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,447

    Re: Countifs or Sumifs

    Did you commit with Ctrl+Shift+Enter ?

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Countifs or Sumifs

    How about:

    =SUM(IF(FREQUENCY(IF($G$2:$G$163=$A185,MATCH($I$2:$I$163,$I$2:$I$163,0)),ROW($I$2:$I$163)-ROW($I$2)+1),1))

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
    Quang PT

  4. #4
    Forum Contributor
    Join Date
    05-17-2012
    Location
    Lisbon
    MS-Off Ver
    Excel 2016 for MAC
    Posts
    117

    Re: Countifs or Sumifs

    Hi Guys, I thank you very much, it worked.

    Many thanks

    Kind Regards
    Fausto

+ 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] COUNTIFS and SUMIFS
    By EmilVictor in forum Excel General
    Replies: 6
    Last Post: 07-16-2015, 10:22 AM
  2. [SOLVED] Tell me about countifs & sumifs
    By keshavtale in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-29-2015, 09:01 AM
  3. [SOLVED] Countifs and sumifs using Name Range
    By anh03 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-23-2015, 11:19 PM
  4. Countifs or Sumifs
    By RalstonT14612 in forum Excel Formulas & Functions
    Replies: 22
    Last Post: 11-30-2014, 02:02 PM
  5. Need help in Excel SUMIFS + COUNTIFS
    By milehisweetipie in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 05-24-2013, 08:11 PM
  6. Sumifs, countifs 2007
    By somesoldiers in forum Excel General
    Replies: 1
    Last Post: 03-28-2011, 04:28 PM
  7. Sumifs and countifs
    By JohnGault82 in forum Excel General
    Replies: 3
    Last Post: 02-03-2011, 05:31 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