+ Reply to Thread
Results 1 to 5 of 5

IF and Formula does not work

  1. #1
    Registered User
    Join Date
    04-10-2021
    Location
    IJsselstein, Nederland
    MS-Off Ver
    2016
    Posts
    2

    IF and Formula does not work

    Hi,

    This morning iam busy with an formula i cannot solve. This the formula: (there are some dutch words in this formula these are date formulas in dutch)

    What i want: If the value in kolom I5 is greater then 2, and the date of kolom M2 is greater or equal to H5 the amount which is given in kolom L5 must be displayed in the cel where the formule is given. Somehow it is not working. What am i doing wrong?


    =if(and(I5>2;(M$2>=$H5;(REST(DATUMVERSCHIL($H5;M$2;"y")+$I5;$I5)=0)*$L5;0)

    Thks for the help,

    kind regards, Patrick

  2. #2
    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,208

    Re: IF and Formula does not work

    This ?

    =if(and(I5>2;M$2>=$H5);(REST(DATUMVERSCHIL($H5;M$2;"y")+$I5;$I5)=0)*$L5;0)

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,055

    Re: IF and Formula does not work

    If, for some reason, that's not it... post a sample sheet, complete with the formula, which we can then work with. read the yellow banner (top) for guidelines.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Registered User
    Join Date
    04-10-2021
    Location
    IJsselstein, Nederland
    MS-Off Ver
    2016
    Posts
    2

    Re: IF and Formula does not work

    Thank you it worked!!

  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,208

    Re: IF and Formula does not work

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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] Product formula does not work correctly. How to make it work?
    By JulianS96 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-06-2020, 06:23 AM
  2. Replies: 2
    Last Post: 01-31-2018, 08:49 AM
  3. [SOLVED] Need a COUNTIF formula to work with Excel 2000. Not confident it will work?
    By g1terra in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 07-06-2017, 01:59 AM
  4. [SOLVED] Work Planner with formula for work rotations
    By sorensjp in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-12-2017, 09:24 PM
  5. Replies: 0
    Last Post: 11-12-2012, 04:49 AM
  6. Trying to work formula for work TIME SHEET using IF formula
    By help_monique in forum Excel General
    Replies: 8
    Last Post: 10-12-2009, 11:46 PM
  7. Replies: 2
    Last Post: 11-30-2005, 06:15 PM

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