+ Reply to Thread
Results 1 to 7 of 7

IFERROR match part of text value with the use of COUNTIFS AND SUMIFS

  1. #1
    Registered User
    Join Date
    03-08-2010
    Location
    Sweden
    MS-Off Ver
    MS Office 365 Mac and Windows
    Posts
    94

    IFERROR match part of text value with the use of COUNTIFS AND SUMIFS

    Hello forum,

    Have a problem with trying to match a validation list that has only part of the text that the cell values has.
    I'm trying to get around another problem (of selecting all in the validation list). As all values starts with the name "AREA" in table column "REGION" sheet "Data", I hope to be able to select all rows and do the calculations.
    I need a way to get all values that has the first 4 characters with name "AREA" and do sumifs and countifs.

    I have attached a sample file with the tables and validation lists
    Its in cell C5 in sheet Dashboard where the dropdown list shows "AREA" that I need to match. All other works as it is an exact match....
    Any suggestions have to do this?

    Thanks
    Attached Files Attached Files
    Last edited by soreno; 11-26-2019 at 05:10 PM.

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,508

    Re: IFERROR match part of text value with the use of COUNTIFS AND SUMIFS

    is this what you are looking for in D8 (copied down)?
    =IF($C$5="AREA",COUNTIF(koncept,$C8),IFERROR(COUNTIFS(REGION_name,$C$5,koncept,$C8),"-"))
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Registered User
    Join Date
    03-08-2010
    Location
    Sweden
    MS-Off Ver
    MS Office 365 Mac and Windows
    Posts
    94

    Re: IFERROR match part of text value with the use of COUNTIFS AND SUMIFS

    @Sambo kid, works perfect for COUNTIF, but SUMIF I can't get my head around, do a similar on next column with SUMIF and SUMIFS for the column konceptID is it has numbers.
    I can't the summery there... just gives me "0" so far...

    Actually I did!!!

    Thanks
    Last edited by soreno; 11-26-2019 at 04:41 PM.

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,508

    Re: IFERROR match part of text value with the use of COUNTIFS AND SUMIFS

    Where is the sumif supposed to go? What are you trying to sum?

  5. #5
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,508

    Re: IFERROR match part of text value with the use of COUNTIFS AND SUMIFS

    this would be the sumif/sumifs if you are (for some reason though it doesn't make sense to me) looking to sum the konceptID column...
    =IF($C$5="AREA",SUMIF(Table1[Koncept],$C8,Table1[konceptID]),IFERROR(SUMIFS(Table1[konceptID],Table1[REGION],$C$5,Table1[Koncept],$C8),"-"))

  6. #6
    Registered User
    Join Date
    03-08-2010
    Location
    Sweden
    MS-Off Ver
    MS Office 365 Mac and Windows
    Posts
    94

    Re: IFERROR match part of text value with the use of COUNTIFS AND SUMIFS

    @Sambo kid, All is fine, I manage to fix the SUMIFS/SUMIFS, too late in the evening, just put the tables in wrong order....

    Thanks for the quick answer, exactly what I needed.

  7. #7
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,508

    Re: IFERROR match part of text value with the use of COUNTIFS AND SUMIFS

    ok, glad I was of some help, AND thank you for the rep!

+ 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. Sumifs with dates and part of text
    By Annatw in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-08-2016, 07:32 AM
  2. [SOLVED] IFERROR(MATCH & IFERROR(SMALL Help Needed
    By chad328 in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 01-17-2016, 06:34 AM
  3. IFERROR, INDEX, MATCH AND SUMIFS to get from multiple pages
    By kgw in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-31-2015, 02:59 PM
  4. [SOLVED] Finding a tag or text within text as part of SUMIFS formula
    By twaccess in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-17-2015, 08:54 AM
  5. Replies: 1
    Last Post: 01-26-2014, 05:37 PM
  6. [SOLVED] IFERROR with SUMIFS
    By shiftyspina in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 07-11-2013, 09:25 AM
  7. Match text in A1 to a part of a text string in B1 and enter data D1
    By markDuffy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-30-2013, 10:16 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