+ Reply to Thread
Results 1 to 4 of 4

Sumproduct

  1. #1
    Steved
    Guest

    Sumproduct

    Hello fom Steved

    I have a worksheet named Bus Summary
    In Col A I have City
    In Col D I have 16-230

    My Objective is how many 16-230 are in Col D. What is wrong please with my
    Formula. I have this Formula in a worksheet called Buses.

    =SUMPRODUCT(('Bus Summary'!$A$5:$A$2000="City")*('Bus
    Summary'!$D$5:$D$2000="16-230")*$D$5:$D$2000)

    Thankyou.

  2. #2
    Kevin Vaughn
    Guest

    RE: Sumproduct

    I'm guessing here. If the 3rd range which references D5:D2000 is the same as
    the 2nd range referencing D5:D2000, than it is not needed (assuming you are
    doing a count) and would cause the formula to fail because 16-230 is not a
    number. Try removing the 3rd range (you are doing a count, right?)
    --
    Kevin Vaughn


    "Steved" wrote:

    > Hello fom Steved
    >
    > I have a worksheet named Bus Summary
    > In Col A I have City
    > In Col D I have 16-230
    >
    > My Objective is how many 16-230 are in Col D. What is wrong please with my
    > Formula. I have this Formula in a worksheet called Buses.
    >
    > =SUMPRODUCT(('Bus Summary'!$A$5:$A$2000="City")*('Bus
    > Summary'!$D$5:$D$2000="16-230")*$D$5:$D$2000)
    >
    > Thankyou.


  3. #3
    Valued Forum Contributor
    Join Date
    03-25-2004
    Location
    Boston, MA US
    Posts
    1,094
    If you are just trying to count the number of times 16-230 appears, you don't need the second D5:D2000 range.

    =SUMPRODUCT(('Bus Summary'!$A$5:$A$2000="City")*('Bus Summary'!$D$5:$D$2000="16-230"))

    Should work for you.

    HTH

    Steve

  4. #4
    Steved
    Guest

    RE: Sumproduct

    I thankyou both.

    "Steved" wrote:

    > Hello fom Steved
    >
    > I have a worksheet named Bus Summary
    > In Col A I have City
    > In Col D I have 16-230
    >
    > My Objective is how many 16-230 are in Col D. What is wrong please with my
    > Formula. I have this Formula in a worksheet called Buses.
    >
    > =SUMPRODUCT(('Bus Summary'!$A$5:$A$2000="City")*('Bus
    > Summary'!$D$5:$D$2000="16-230")*$D$5:$D$2000)
    >
    > Thankyou.


+ 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