+ Reply to Thread
Results 1 to 5 of 5

sorting and counting

  1. #1
    Registered User
    Join Date
    06-09-2011
    Location
    dammam
    MS-Off Ver
    Excel 2010
    Posts
    13

    sorting and counting

    Greetings everyone....
    Would like to seek help and assistance in solving a problem of sorting and counting.

    I have two columns (severity and supported group). severity column contains three 3 different types(major, warning, and critical). Supported group column have many groups.

    I tried the below formula but didn't work. does anyone had any idea how it works

    =COUNTIF('AllAlerts01-07'!A1:A1547,"Major")*('AllAlerts01-07'!B:B,"BSD*")
    =SUMPRODUCT(('AllAlerts01-07'!A:A="Warning")*(('AllAlerts01-07'!B:B="BSD*")))

    please check the attachment. thanks in advance.

    this is the table in a separate sheet

    Support group Critical Major Warning All Alerts
    BSD



    severity supported group
    Critical BSD_Business Intelligence Group_BI
    Major BSD_ERP Support
    Major BSD_ERP Support
    Major BSD_ERP Support
    Major BSD_ERP Support
    Major BSD_ERP Support
    Major BSD_ERP Support
    Major BSD_ERP Support
    Major BSD_ERP Support
    Major BSD_ERP Support
    Critical BSD_ERP Support
    Critical BSD_ERP Support
    Critical BSD_ERP Support
    Critical BSD_ERP Support
    Critical BSD_ERP Support
    Warning BSD_ERP Support
    Warning BSD_ERP Support
    Warning BSD_ERP Support
    Warning BSD_ERP Support
    Warning BSD_ERP Support
    Warning BSD_ERP Support
    Warning BSD_ERP Support
    Warning BSD_ERP Support
    Warning BSD_ERP Support
    Warning BSD_ERP Support
    Warning BSD_ERP Support
    Warning BSD_ERP Support
    Warning BSD_ERP portal
    Warning BSD_ERP portal
    Major BSD_ERP portal
    Major BSD_ERP portal
    Major BSD_ERP portal
    Major BSD_ERP portal
    Attached Files Attached Files
    Last edited by massar2000; 06-09-2011 at 07:11 PM.

  2. #2
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: sorting and counting

    Hello, Massar, Welcome to he forum!

    Try this, D9 copy to F9,

    =SUMPRODUCT(--(LEFT('AllAlerts01-07'!$B$2:$B$34,LEN($C9))=$C9),--('AllAlerts01-07'!$A$2:$A$34=D$8))

    and use a simple SUM in G9, =SUM(D9:F9)
    Last edited by Haseeb Avarakkan; 06-09-2011 at 07:19 PM.
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  3. #3
    Registered User
    Join Date
    06-09-2011
    Location
    dammam
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: sorting and counting

    Thanks Hasseb for the quick help. However, the sheet i am doing is more complicated than that. it contains different groups . please see the attachment.
    thanks in advance.
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: sorting and counting

    If the all support group contains "cod/", try this,

    G10, copy down across.

    =SUMPRODUCT(--(LEFT('AllAlerts01-07'!$B$2:$B$34,3)=SUBSTITUTE(LOWER($F10),"cod/","")),--('AllAlerts01-07'!$A$2:$A$34=G$9))

  5. #5
    Registered User
    Join Date
    06-09-2011
    Location
    dammam
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: sorting and counting

    thanks Hasseb it is working now. you saved me alot of time.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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