+ Reply to Thread
Results 1 to 7 of 7

IF and INT formula correction

  1. #1
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    IF and INT formula correction

    Dear All
    please can correct my formula in two example i attached in excel file
    Attached Files Attached Files

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: IF and INT formula correction

    Try this in G2, then copied to the right:

    =IF(OR(F22="", N(F22)+(1/24)>$B$18), "", F22+(1/24))
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    Re: IF and INT formula correction

    I need formula to be in D10:G12 in the first example
    and in second example F22 To K23

  4. #4
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,913

    Re: IF and INT formula correction



    =IF(($F$2-$F$1)*24+1>COLUMNS($D$5:D$5)+(ROW(1:1)-1)*4,330,"")

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: IF and INT formula correction

    In D10

    =IF(($F$2-$F$1)*24+1>COLUMNS($D$10:D$10)+(ROWS($1:1)-1)*4,330,"")

    in F22

    =IF(($B$18-$B$17)*24+1>=COLUMNS($F22:F22)+(ROWS($1:1)-1)*4,$B$17+((COLUMNS($F:F)-1)/24),"")

  6. #6
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    Re: IF and INT formula correction

    thanks for your solution
    i have another question
    if i need to do this in column instead of Row
    how i can change in this formula to fit this change

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: IF and INT formula correction

    Basically change row/columns

    =IF(($F$2-$F$1)*24+1>ROWS($A$2:$A2)+(COLUMNS($B:B)-1)*4,330,"")

    See Sheet2 of attached
    Attached Files Attached Files

+ 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. [SOLVED] Formula correction
    By Kym-B in forum Excel General
    Replies: 2
    Last Post: 01-09-2014, 07:27 AM
  2. Formula Correction
    By Jaspal in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-04-2012, 02:35 PM
  3. Correction to Formula
    By PhilH1982 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-12-2007, 06:19 AM
  4. correction of formula please............
    By JE McGimpsey in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 04:05 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