+ Reply to Thread
Results 1 to 3 of 3

Frequency and sumif

  1. #1
    Registered User
    Join Date
    10-14-2008
    Location
    South Africa
    MS-Off Ver
    Office 2010
    Posts
    67

    Frequency and sumif

    Hi Guys, hope someone can help. I have data consisting of, say in Col A times (in minutes) and in Col B No of passengers. I have created a frequency table with the bin consisting of 15 minute "timeslots". It is easy to compile this frequency table. I however need to find a formula that will calculate the number of passengers per "timeslot", which I am struggling to compile. Can someone please help?

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,699
    So lets say your time slots start at 06:00. List these in D2 down, e.g. 06:00 in D2, 06:15 in D3, 06:30 in D4 etc

    Now in E2 you can use this formula for the number of passengers between in the 06:00-06:15 timeslot

    =SUMPRODUCT(--(A$2:A$1000>=D2),--(A$2:A$1000<D3),B$2:B$1000)

    copy formula down

  3. #3
    Registered User
    Join Date
    10-14-2008
    Location
    South Africa
    MS-Off Ver
    Office 2010
    Posts
    67
    Thanx daddylonglegs for that quick response. I had to tweak it a bit and obtained the results I wanted!!

+ 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. Using FREQUENCY to sum instead of count
    By Emma_Fairclough in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-04-2008, 01:33 PM

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