+ Reply to Thread
Results 1 to 8 of 8

Using Macro to flag OK and Not OK by scenario

  1. #1
    Forum Contributor
    Join Date
    05-16-2011
    Location
    Philippines
    MS-Off Ver
    Excel 365/Excel 2016
    Posts
    315

    Using Macro to flag OK and Not OK by scenario

    Hi All,

    I know this thing need a macro at all or it is pure formula and function only. I just need to determine or flag an invoice number "OK" and "NOT OK" if met possible scenario, I hope someone out there with great minds can help me.

    1. For example and invoice number has PD1 to PD7 is over 90 days. It should flag as OK
    2. For example and invoice number has PD1 to PD2 is over 90 days. It should flag as OK
    3. Note that if invoice number has only 1 PD and is over 90 days. It should flag as OK
    4. If an invoice also has 3 PD's(eg: PD4-PD6) and all is over 90 days, it should flag as OK.

    5. If Invoice number 31-60 days has value on PD6 and 61-90 days on PD7 has value but 1-30 has no value it should tag as NOT OK on invoice SI1 8427 (see possible scenario on workbook attach)

    6. If it is skipped or duplicate it will tag as NOT OK. For this sample see workbook attach and refer to SCENARIO tab, actual data was on PIVOT and Details tab.

    On Details tab, all status OK and NOT ok will be put on Column H(so there will be the formula). Thanks for helping me in advance and don't forget to download my attach workbook for you to see all possible scenario on SCENARIO tab. Thanks again.


    Regards,
    Emina002
    Attached Files Attached Files
    Last edited by emina002; 09-11-2014 at 01:50 PM. Reason: Change title

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Flag Aging Report by scenario

    Hi!

    1. For example and invoice number has PD1 to PD7 is over 90 days. It should flag as OK
    2. For example and invoice number has PD1 to PD2 is over 90 days. It should flag as OK
    In both conditions you have mentioned PD1 & Over 90 Days. Am I misunderstanding something?
    Cheers!
    Deep Dave

  3. #3
    Forum Contributor
    Join Date
    05-16-2011
    Location
    Philippines
    MS-Off Ver
    Excel 365/Excel 2016
    Posts
    315

    Re: Flag Aging Report by scenario

    Ok sorry if your confuse..as you see my workbook,not all invoice number can have PD1 TO PD7(As of PD1-As of PD7).
    Some invoice number can only have PD1-PD2..PD1-PD3..OR PD4-PD7..etc..if your still confuse,I appologize this is all I can explain I am not fluent in english:-)
    You can notice it by reviewing the PIVOT tab on the file.Thanks and Regards.

  4. #4
    Forum Contributor
    Join Date
    05-16-2011
    Location
    Philippines
    MS-Off Ver
    Excel 365/Excel 2016
    Posts
    315

    Re: Flag Aging Report by scenario

    Up for this..Hope someone could help me with the function and formula..thanks a lot

  5. #5
    Forum Contributor
    Join Date
    05-16-2011
    Location
    Philippines
    MS-Off Ver
    Excel 365/Excel 2016
    Posts
    315

    Re: Using formula to flag OK and NOT OK by scenario

    up to help me solve this

  6. #6
    Forum Contributor
    Join Date
    05-16-2011
    Location
    Philippines
    MS-Off Ver
    Excel 365/Excel 2016
    Posts
    315

    Re: Using formula to flag OK and NOT OK by scenario

    Up this thread. Can someone help me I already attach the workbook

  7. #7
    Forum Contributor
    Join Date
    05-16-2011
    Location
    Philippines
    MS-Off Ver
    Excel 365/Excel 2016
    Posts
    315

    Re: Using Macro to flag OK and Not OK by scenario

    Up for this hope you can help me:-(

  8. #8
    Forum Contributor
    Join Date
    05-16-2011
    Location
    Philippines
    MS-Off Ver
    Excel 365/Excel 2016
    Posts
    315

    Re: Using Macro to flag OK and Not OK by scenario

    Up for this thread..Please help me

+ 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. Two scenario in one formula
    By kuzna26 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-27-2013, 02:02 PM
  2. Scenario Manager displays same result for every scenario
    By terihoff in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 11-10-2012, 07:14 PM
  3. Need Help with a formula / scenario
    By itsmeraam83 in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 11-13-2011, 02:05 AM
  4. Is it possible to have a formula for the following scenario please
    By Essjay in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-12-2006, 05:40 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