+ Reply to Thread
Results 1 to 3 of 3

Formula Count Entries in a range if another range is = 1 and Another = Monday

  1. #1
    Valued Forum Contributor realniceguy5000's Avatar
    Join Date
    03-20-2008
    Location
    Fl
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    951

    Formula Count Entries in a range if another range is = 1 and Another = Monday

    Hi,

    I have this formula that is suppose to count the amount of orders done by first shift and in this case on Monday.

    So I am trying to use this formula:
    Please Login or Register  to view this content.
    Col 6 has the orders
    Col 5 has the shift they worked
    Col 16 has the weekday


    Row 7 Col 6 I enter order # 12345
    Row 8 Col 6 I enter order # 45678
    Row 9 Col 6 I enter order # 55555

    For all 3 rows listed above Col 5 = 1 and col 16 = Monday

    The results I want should be 3 however I am getting 6, I am using this same formula to sum up the lines and cases picked and it works fine.I just changed the col its looking in.

    Can someone advise?

    Thank You, Mike
    Last edited by realniceguy5000; 12-29-2011 at 02:10 PM.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Formula Count Entries in a range if another range is = 1 and Another = Monday

    You have a comma missing

    =SUMPRODUCT(--(INDEX(MyRange,0,6)<>""),--(INDEX(MyRange,0,5)=1) , --(INDEX(MyRange,0,16)="Monday"))
    Audere est facere

  3. #3
    Valued Forum Contributor realniceguy5000's Avatar
    Join Date
    03-20-2008
    Location
    Fl
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    951

    Re: Formula Count Entries in a range if another range is = 1 and Another = Monday

    Thanks working now, getting closer only missing a "," not bad :-)

    Mike

+ 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