+ Reply to Thread
Results 1 to 4 of 4

SumProduct: Count values in a range if adjacent cell meets a particular criteria

Hybrid View

potofteatohavein SumProduct: Count values in a... 04-08-2024, 07:39 AM
zbor Re: SumProduct: Count values... 04-08-2024, 08:31 AM
potofteatohavein Re: SumProduct: Count values... 04-08-2024, 10:21 AM
AliGW Re: SumProduct: Count values... 04-08-2024, 10:22 AM
  1. #1
    Registered User
    Join Date
    04-08-2024
    Location
    London, England
    MS-Off Ver
    Office LTSC Professional Plus 2021
    Posts
    8

    Post SumProduct: Count values in a range if adjacent cell meets a particular criteria

    Hi!

    Using data from two tables I am trying to find the total number of times a language has been used throughout a set of data (represented as a language code) and put that information into a new table. i.e In total the number of times Latin appears across the whole data set (column in green) with the output in (orange). To add to the madness there are also blank values which is where no language code has been entered and I also need that value too. All i have managed to achieve is the number of times the language code appears (which i managed via COUNTIF *facepalm*!)

    -dummy workbook attached.

    Many Thanks to anyone who even looks at this!!
    Attached Files Attached Files
    Last edited by potofteatohavein; 04-08-2024 at 10:22 AM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,014

    Re: SumProduct: Count values in a range if adjacent cell meets a particular criteria

    Try this in I6:

    =SUMIF(Table2[Language Code], [@[Language Code ]], Table2[[Number of times langauge is at the date ]])

  3. #3
    Registered User
    Join Date
    04-08-2024
    Location
    London, England
    MS-Off Ver
    Office LTSC Professional Plus 2021
    Posts
    8

    Talking Re: SumProduct: Count values in a range if adjacent cell meets a particular criteria

    THANK YOU!

    You did a great job and so amazingly that I can re-use the formula!
    Attached Images Attached Images

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,301

    Re: SumProduct: Count values in a range if adjacent cell meets a particular criteria

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED. You can also access the SOLVED tag by editing the opening post and choosing SOLVED from the drop-down to the left of the title box.

    Also, if you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

+ 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] Formula to consolidate values IF adjacent cell meets criteria
    By melissaatbinutti in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-20-2021, 03:32 AM
  2. [SOLVED] Count unique values if adjacent cell meets criteria
    By chococ in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-01-2014, 04:13 AM
  3. Replies: 4
    Last Post: 02-17-2014, 04:05 AM
  4. [SOLVED] Count values in a range if adjacent cell meets a particular criteria
    By DougC in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-22-2013, 03:12 PM
  5. Sum Up Cells Until Adjacent Cell Meets Criteria
    By cocostar88 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-27-2013, 02:41 PM
  6. [SOLVED] Add a range of values when an adjacent cell meets criteria
    By Steven811 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-19-2012, 06:04 AM
  7. Replies: 4
    Last Post: 10-31-2011, 09:51 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