+ Reply to Thread
Results 1 to 9 of 9

Formula to identify cancelled invoices

  1. #1
    Valued Forum Contributor
    Join Date
    09-09-2009
    Location
    Liverpool, England
    MS-Off Ver
    W: 2021 H: 365
    Posts
    940

    Formula to identify cancelled invoices

    Hi,

    I've been given a large set of data and I need to identify which invoices have been cancelled. Attached is an example of the data i'm working with and what i'm looking to achieve. If you have any queries just give me a shout.

    Thanks in advance,

    Snook
    Last edited by The_Snook; 07-21-2015 at 06:44 PM.

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Formula to identify cancelled invoices

    Something like this in E1...
    Please Login or Register  to view this content.
    OR, if you want it to return the invoice# in column E use....
    Please Login or Register  to view this content.
    Drag down as needed through column E
    Last edited by gmr4evr1; 07-21-2015 at 11:56 AM.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,801

    Re: Formula to identify cancelled invoices

    Can't you just apply a filter to column A - deselect CAN to see the other documents.

    Or a filter on column C - click on the Text Filter, then Begins with...

    Hope this helps.

    Pete

  4. #4
    Valued Forum Contributor
    Join Date
    09-09-2009
    Location
    Liverpool, England
    MS-Off Ver
    W: 2021 H: 365
    Posts
    940

    Re: Formula to identify cancelled invoices

    Hi gmr4evr1, I need to identify which invoices (doc code 'INV' - rows 9 to 31) the cancellation docs (doc code 'CAN' - rows 2 to 8) relate to.

  5. #5
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Formula to identify cancelled invoices

    OK, I kind of get what you are wanting. 2 questions:
    1) Is the example sheet what you have, or what you want?
    2) What do you want returned to the cells in column E?

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,801

    Re: Formula to identify cancelled invoices

    I misunderstood what you wanted. Put this formula in E2:

    =IF(ISNUMBER(MATCH("Cancel - INV "&B2,C:C,0)),"Cancelled","")

    then copy down to the bottom of your list.

    Hope this helps.

    Pete

  7. #7
    Valued Forum Contributor
    Join Date
    09-09-2009
    Location
    Liverpool, England
    MS-Off Ver
    W: 2021 H: 365
    Posts
    940

    Re: Formula to identify cancelled invoices

    Once again Pete you've come up trumps! Cheers matey it's much appreciated!

    gmr4evr1 - Thanks for your assistance as well.

  8. #8
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Formula to identify cancelled invoices

    No problem, sorry I misunderstood what you needed. Kudos to Pete for figuring it out.

  9. #9
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,801

    Re: Formula to identify cancelled invoices

    Glad to help - thanks for the rep (from both of you).

    Pete

+ 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] Formula to return first 12 Months invoices to a customer
    By pbcsd in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-06-2015, 12:13 PM
  2. [SOLVED] If SaveAs cancelled then do something
    By Steve@Rugby in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-23-2014, 07:18 AM
  3. Need help creating Vlookup formula for invoices ( or any other method)
    By BeanyBaby in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-15-2013, 11:43 PM
  4. Replies: 0
    Last Post: 01-14-2013, 01:44 PM
  5. Formula to compare two sets of numbers for different Invoices
    By maacmaac in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-08-2012, 09:17 AM
  6. Need Formula to detect duplicate invoices
    By XYZ via OfficeKB.com in forum Excel General
    Replies: 1
    Last Post: 10-11-2005, 06:05 PM
  7. Email Sent or Cancelled
    By mjamici in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-15-2005, 02:05 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