+ Reply to Thread
Results 1 to 2 of 2

Help for a newbie

  1. #1
    Registered User
    Join Date
    11-30-2009
    Location
    California, USA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Help for a newbie

    Hi guys,

    First: thanks for taking time to help me out!

    My problem, I have 3 columns:

    day Time Temperature
    1 53 61
    1 153 62
    1 253 65
    1 353 67
    1 453 69
    etc

    Which contains temperature data, for each hour, of each day for a given month.

    I want to find out the following:
    Between the times 00:00:00 and 7:59:59 how many times is the temperature read in one of the following ranges.

    120/124
    115/119
    110/114
    105/109
    100/104
    95/99
    90/94
    85/89
    80/84
    75/79
    70/74
    65/69
    60/64
    55/59
    50/54
    45/49
    40/44
    35/39
    30/34
    25/29

    Then i want to do this again between, 8:00:00 and 15:59:59 and finally for 16:00:00 and 23:59:59.

    In order to make this easier, I set up a column at the end which tests what time range we are in:

    =IF(B5<800,1,IF(B5<1600,2,IF(B5<2400,3,0)))

    It gives:
    1 for 00:00:00 and 07:59:59
    2 for 08:00:00 and 15:59:59
    3 for 16:00:00 and 23:59:59

    So Now, I just need to look at this end column and see what value it is:

    Once we have the value I want it to sum up the times the temperature occurs within each range.

    Thanks

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

    Re: Help for a newbie

    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.

+ 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