+ Reply to Thread
Results 1 to 3 of 3

need help with a IF formula

  1. #1
    Registered User
    Join Date
    06-14-2011
    Location
    Hartselle
    MS-Off Ver
    Excel 2007
    Posts
    2

    need help with a IF formula

    I have a cell that cannot have a value that is greater than 24 (24 hours in a day). So, if the value is 27 I need to subtract 24 so that the value is 3 or if the value is less than or equal to 24 just display that value. Any help would be appreciated.

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: need help with a IF formula

    Use..

    =mod(a1,24)
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    06-14-2011
    Location
    Hartselle
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: need help with a IF formula

    Too easy.....thank you so much!

+ 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. Replies: 6
    Last Post: 10-08-2009, 03:45 AM

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