+ Reply to Thread
Results 1 to 7 of 7

multiple operations

Hybrid View

  1. #1
    Registered User
    Join Date
    07-05-2012
    Location
    Indiana
    MS-Off Ver
    Excel 2007
    Posts
    7

    multiple operations

    Hello,
    I am interested in entering data for several months on one worksheet and displaying the totals and percentages from each month, as well as the cumulative data, on another worksheet.

    The formula I am using for one of these data ranges is =COUNTIF(Data!I3:I39,"Yes")/COUNTA(Data!I3:I39) where "Data" is the name of my worksheet with the data entry and "yes" is the response for the percentage of entries answered yes. I've added a column for date entered and formatted in full month, date, and year, so the full month name can be another identifier to separate the individual data.

    I've tried =COUNTIF(Data! E3:E39, "*June*")(Data!I3:I39,"Yes")/COUNTA(Data!I3:I39) and a few variations with the parentheses in different places, but am not having luck.

    The conditions I want met are:
    Calculate percentage of entries that were answered yes for all
    Calculate percentage of entries that were answered yes for June (and every month)

    Thanks in advance!!!

    Sarah

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: multiple operations

    Hello Sarah,

    How about...

    Formula: copy to clipboard
    =COUNTIFS(Data!$E$3:$E$39,"*June*",Data!$I$3:$I$39,"Yes")/COUNTA(Data!$I$3:$I$39)
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    07-05-2012
    Location
    Indiana
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: multiple operations

    Thank you so much for the quick response Jeff!

    I'm still not getting exactly what I'm expecting though...I might not be explaining it well.

    I think I've attached it...I am working on cell D4 on "Results" tab with the explanation below. Thank you very much if you care to take a look!

    Sarah
    Attached Files Attached Files

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: multiple operations

    I'm not entirely sure what you wanted to do with BP and Cognitive, but maybe this gives you an idea.

    If you need to add Cognitive and BP into the Averageifs, just add another pair.

    IMO, this easiest thing to do is add a helper column to the Data tab (Column F).

    Let me know if you have follow-up questions.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    07-05-2012
    Location
    Indiana
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: multiple operations

    Thank you so much! This looks great. I will work on it some more...thank you!

    Sarah

  6. #6
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: multiple operations

    You are most welcome. Glad you have something to work with and thanks for the feedback

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

  7. #7
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,366

    Re: multiple operations

    and also maybe you can use sumproduct... in result D4

    =SUMPRODUCT(--(MONTH(Data!$E$3:$E$16)=6),--(Data!$J$3:$J$16="yes"))/SUMPRODUCT(--(Data!$J$3:$J$16<>""))
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

+ 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