+ Reply to Thread
Results 1 to 2 of 2

Help To Automate the Comment Row with an If statement.

  1. #1
    Registered User
    Join Date
    03-21-2022
    Location
    Botswana
    MS-Off Ver
    2010
    Posts
    31

    Help To Automate the Comment Row with an If statement.

    DUMELANG,
    The statement has 4 conditions but a pair each has same vector, the only way to differentiate them is through a cell which is K79 for PWT(Paid Within Target
    ) & POT (PAID OFF TARGET) shouldn't be blank.

    While K79 for NPWT(Not Paid Within Target) & NPOT(Not Paid off Target) should be blank.

    PWT & NPWT Target is less than 14days..
    POT & NPOT Target id more than 14days...

    I have tried my best to make this formula to respond to all situations but it doesn't respond:

    IF((ISNUMBER(K79),K79<=14,""),"PWT",IF(AND(D79-$F$76<=14,K79=""),"NPWT",IF((ISNUMBER(K79),K79>14,"")"POT",IF(AND(D79-$F$76>14,K79=""),"NPOT"))))
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    12-28-2014
    Location
    NSW, Australia
    MS-Off Ver
    MS365
    Posts
    604

    Re: Help To Automate the Comment Row with an If statement.

    Hi Khali, try the following formula in Cell L16 and copy down (only in your sample book - references need to change for your real book).

    Please Login or Register  to view this content.

+ 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] Help To Automate the Comment Row
    By Khali in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-30-2022, 10:24 AM
  2. Check if cell in range is empty, if it is delete comment else format comment to
    By banaanas in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-15-2015, 01:15 AM
  3. Copy contents of multiple comment boxes and paste in a single comment box
    By xxJaRxx in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-14-2014, 12:39 PM
  4. Disable Delete Comment, Edit Comment, Show/Hide Comment
    By Shanthan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-17-2013, 06:12 AM
  5. If statement for selected cells containing comment
    By tapapad in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-16-2008, 02:50 PM
  6. [SOLVED] Statement to Automate new sheets if is needed it.
    By maperalia in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-27-2006, 06:00 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