+ Reply to Thread
Results 1 to 4 of 4

Collate a range of data

Hybrid View

  1. #1
    Registered User
    Join Date
    12-22-2009
    Location
    Bend, Oregon
    MS-Off Ver
    Excel 2003
    Posts
    2

    Collate a range of data

    I developed a database for tracking our Search and Rescue activities on an annual basis; this usually involves ~140 calls per year. Amongst other things, we log the time the call came in. The time is entered in numbers format, not text, as I couldn't figure out how to get a time range (09:30, etc.) to work. It's like military time...0015, 0945, 1730, etc., so in numbers format, 0930 comes out as "930", 0030 as "30", etc. I developed a tracking column in one hour increments...0000-0059, 0100-0159, etc. Each time a call is entered and the time logged, I'd like to keep a sum total down in the time range column...so a call received at 0930 would end up in the 0900-0959 box. Among other things, I tried formatting with, "=COUNTIF (range:range, ">0900, <0959") but that doesn't work.

    Can someone suggest a formula that will work, in either numbers format, or, more preferably, "time" format. Thanks in advance!
    Attached Files Attached Files
    Last edited by wa421us; 12-23-2009 at 01:33 PM. Reason: Improper title wording

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Formula question

    Welcome to the forum,

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Collating a range of data

    Would this work for you?

    =SUMPRODUCT(--($T$17:$T$163<>""),--($T$17:$T$163>=LEFT(O204,4)+0),--($T$17:$T$163<=RIGHT(O204,4)+0))

    copied down.

  4. #4
    Registered User
    Join Date
    12-22-2009
    Location
    Bend, Oregon
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Collating a range of data

    As R. Lee Emery would say...."OUTstanding, Marine!" That works...thanks for the assistance!

+ 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