+ Reply to Thread
Results 1 to 6 of 6

Extracting Cancelled Order Month

  1. #1
    Registered User
    Join Date
    11-21-2011
    Location
    Addlestone, Surrey, UK
    MS-Off Ver
    Excel 2007
    Posts
    17

    Extracting Cancelled Order Month

    I need to write a formula that will identify which month a customer stops business with us. Attached is a sample of data. I have a match formula which look across a row and identifies if revenue is NIL and give me the month this occurs. The problem arises when I have no revenue at the beginning of the year and then a customer delivers revenue later. In this catch the match formula give a cancel month as Jan. Also if as in Row 3 of the attached I have revenue for a few months, miss some months and then finally stop business in September. The current formula states that business relationship ended in May but in fact does not end until Sept.

    Thanks for any help

    Mike
    Attached Files Attached Files

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,462

    Re: Extracting Cancelled Order Month

    Does the attached help?

    I had to use a helper column to find the last zero value, you can put that somewhere else or hide the column

    Copy of KPI TEST.xlsx

  3. #3
    Registered User
    Join Date
    11-21-2011
    Location
    Addlestone, Surrey, UK
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Extracting Cancelled Order Month

    Thank you Pepe. This appears to do the job very nicely

    Best regards,

    Mike

  4. #4
    Registered User
    Join Date
    11-21-2011
    Location
    Addlestone, Surrey, UK
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Extracting Cancelled Order Month

    I am still encountering problems with the live file. The live spreadsheet data starts at column T and when I add the formula it fails to work. Also if I have sales in December I do not want a month stated as this is not a lost customer so it can left blank or state something like "Continued Customer". I have attached a revised version of the spreadsheet.
    Attached Files Attached Files

  5. #5
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,462

    Re: Extracting Cancelled Order Month

    In AI2 enter
    Please Login or Register  to view this content.
    The INDEX range must always begin in col A as the COLUMN() function uses the column number.
    As for December, I'll have a look

  6. #6
    Registered User
    Join Date
    11-21-2011
    Location
    Addlestone, Surrey, UK
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Extracting Cancelled Order Month

    Thank you again Pepe. So if I simply deduct the number of columns to the left of the first column it will give me the desired answer?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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