+ Reply to Thread
Results 1 to 5 of 5

Excel 2007 : Help with IF statements

  1. #1
    Registered User
    Join Date
    10-17-2010
    Location
    Florida
    MS-Off Ver
    Excel 2007
    Posts
    2

    Help with IF statements

    I want to make a formula:
    That if the Current time is Between 6:00 am and 10:00 am then display "Breakfast"
    if the current time is between 10:01 and 11:59 then display "Lunch"
    if the current time is between 12:00 noon and 22:00 then display "dinner"
    anyone now how to help

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,330

    Re: Help with IF statements

    Set a cell say A1
    Please Login or Register  to view this content.
    Name the range of Cell A1 as Timer. Then here is the formula
    Please Login or Register  to view this content.
    If you can't use a named range then here it is:
    Please Login or Register  to view this content.
    I'm currently in Dinner heading to Sleepytime.

  3. #3
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Help with IF statements

    Maybe a simple lookup formula ( see attached)
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    10-17-2010
    Location
    Florida
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Help with IF statements

    Thank you for your help

  5. #5
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Help with IF statements

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ 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