+ Reply to Thread
Results 1 to 4 of 4

Help with IF statement

  1. #1
    Registered User
    Join Date
    04-23-2012
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    11

    Help with IF statement

    Hi All,

    I would be very grateful if someone could answer my query.

    Under the 'Info' tab of the attached workbook, I have some rules I would like to apply to an IF formula in Column K

    Any help would be most appreciated.

    Best,

    Skibbz
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,917

    Re: Help with IF statement

    OK, so instead of this:

    Formula????

    please add some manually calculated outcomes (maybe the first 5-10 rows) so that we can see what you are after. Thanks!

    PS Yes, I have read your instructions in the workbook. I still want to see some expected results, please.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Help with IF statement

    As Ali noted, it is difficult to determine what outcomes you want. This may be what you want...
    =IF(J2="paid",E2,IF(AND(J2="awaiting payment",TODAY()<B2),C2,IF(AND(J2="awaiting payment",TODAY()>C2),"overdue","")))
    OR, if this part of your note says you want a week added to the date
    If Status Tab = 'Paid', then add week commencing date in Column K using 'Paid date'
    then adjust to this...
    =IF(J2="paid",E2+7,IF(AND(J2="awaiting payment",TODAY()<B2),C2,IF(AND(J2="awaiting payment",TODAY()>C2),"overdue","")))
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  4. #4
    Registered User
    Join Date
    04-23-2012
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: Help with IF statement

    Sambo Kid, Absolutely spot on, thank you!
    Best Wishes,
    Skibbz

+ 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] i have an if then statement that works, how to make it work as a with or case statement
    By dmcgov in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 06-03-2016, 03:34 PM
  2. [SOLVED] If statement to select data - nested statement - assistance
    By petitesouris in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-29-2015, 09:55 PM
  3. compile error expected line number statement end statement
    By mattress58 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-18-2014, 10:12 AM
  4. VBA Compile Error : line number or label or statement or end of statement
    By excellearner121 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-04-2013, 06:41 PM
  5. Replies: 4
    Last Post: 06-01-2012, 10:05 AM
  6. Replies: 4
    Last Post: 05-16-2012, 05:33 PM
  7. [SOLVED] Utilize a Select Case Statement in Target Intersect Statement
    By max57 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-29-2009, 08:55 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