+ Reply to Thread
Results 1 to 3 of 3

Formula for sumup of data based on wildcard criteria

  1. #1
    Registered User
    Join Date
    08-31-2021
    Location
    pakistan
    MS-Off Ver
    2019
    Posts
    6

    Post Formula for sumup of data based on wildcard criteria

    hello everyone;
    I got stuck in creating of formula based on the below-mentioned criteria;
    I have column B in sheets named " Sindh, KPK, Baluchistan" which is getting data of patients date-wise of different UCs of different districts.
    I want to create a formula that could help me to add(sum up) the date-wise data based on wildcards such as " Karachi, Thatta, Badin, etc."
    mentioned in columns C3, D3, and so on.. in the sheet named " District Wise Consolidation". these sheets are getting updated date-wise.

    for now, I need to update the basic formula in each sheet and in each column of the district and province-based sheets which is tedious and hectic to do so on a daily basis
    can anyone help me in this regard I am stuck badly please please help me as a reference I am hereby attaching the sheet which could use to populate the results and can share it back.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Formula for sumup of data based on wildcard criteria

    in C5

    =SUMPRODUCT((--(ISNUMBER(SEARCH(C$2,Sindh!$C$2:$AT$2))))*(Sindh!$B$3:$B$33=$B5),(Sindh!$C$3:$AT$33))

    copy across to G and down

    Similar in J5

    =SUMPRODUCT((--(ISNUMBER(SEARCH(J$2,Punjab!$C$2:$AT$2))))*(Punjab!$B$3:$B$33=$B5),(Punjab!$C$3:$AT$33))
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Registered User
    Join Date
    08-31-2021
    Location
    pakistan
    MS-Off Ver
    2019
    Posts
    6

    Re: Formula for sumup of data based on wildcard criteria

    Dear John Topley;
    Thanks for the reply this formula exactly served the purpose. bundle of thanks once again stay blessed.

+ 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] SUMUP Quantity Cumulatively Based on Criteria and Get Date Based On Criteria
    By Rajeshkumar R in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-27-2020, 11:30 PM
  2. [SOLVED] What kind of formula can sumup my data with specific criterias?
    By cherriesmhoi in forum Excel General
    Replies: 5
    Last Post: 05-20-2016, 10:27 AM
  3. [SOLVED] SumUp formula
    By rizmomin in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-26-2015, 08:33 PM
  4. VBA code needed to copy rows based on mulitple wildcard criteria
    By derryt in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-11-2014, 08:56 AM
  5. Select Max Date Based on Multiple Criteria with Wildcard Text
    By TxNyCa in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-28-2013, 02:34 PM
  6. [SOLVED] help: i need to input date range & 1 criteria then sumup
    By go14344 in forum Excel General
    Replies: 2
    Last Post: 05-22-2012, 02:34 AM
  7. Counting Based Multiple Criteria using Wildcard
    By Mindy in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-15-2007, 11:27 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