+ Reply to Thread
Results 1 to 11 of 11

How to Return All Invoices Avoiding/Skipping Duplicate

  1. #1
    Registered User
    Join Date
    04-05-2024
    Location
    pakistan
    MS-Off Ver
    2021 ltsc
    Posts
    6

    How to Return All Invoices Avoiding/Skipping Duplicate

    Hey,

    I Am working on an assignment where i making approval note against all invoices of suppliers in the particular month
    The Problem i am having is that data base from where picking invoices have 2-3 part of one invoice ( Gross Amount, Tax On Invoice, WHT on Invoice ) So when i apply formula
    =INDEX('LSA Charges'!$D$7:$D$674,AGGREGATE(15,6,(ROW('LSA Charges'!$A$7:$A$674)-ROW('LSA Charges'!$A$7)+1)/($B22='LSA Charges'!$A$7:$A$674),COUNTIF($B$22:$B22,$B22)))
    It Returns Value But Picking All Invoices Including It's Tax and WHT
    I Tried To Give Same Name to All Three Invoices So Possibly I Skip Invoice Screenshot (9).pngScreenshot (8).png

  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. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,568

    Re: How to Return All Invoices Avoiding/Skipping Duplicate

    Welcome to the forum.

    Haveyou tried the UNIQUE function?

    There are instructions at the top of the page explaining how to attach your sample workbook (yellow banner: HOW TO ATTACH YOUR SAMPLE WORKBOOK). Screenshots are of little practical use as we cannot manipulate them.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. The sample layout accurately matches that of your real data. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.
    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
    Registered User
    Join Date
    04-05-2024
    Location
    pakistan
    MS-Off Ver
    2021 ltsc
    Posts
    6

    Re: How to Return All Invoices Avoiding/Skipping Duplicate

    tHIS IS THE ATTACHMENT FOR MY WORK

    As The Max size of attachment is 1000kb that's why i have to delete most of the rows
    Column b is the original invoice numbers one invoice has 2 parts but in approval note we have to take only one invoice not two because it cause duplication
    Attached Files Attached Files

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,701

    Re: How to Return All Invoices Avoiding/Skipping Duplicate

    With 2021:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Adjust the ranges as required.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  5. #5
    Registered User
    Join Date
    04-05-2024
    Location
    pakistan
    MS-Off Ver
    2021 ltsc
    Posts
    6

    Re: How to Return All Invoices Avoiding/Skipping Duplicate

    Thank You Very Much!

    I don't know how the formula works but it works amazing.
    You have very impressive and amazing knowledge.

  6. #6
    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. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,568

    Re: How to Return All Invoices Avoiding/Skipping Duplicate

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED. You can also access the SOLVED tag by editing the opening post and choosing SOLVED from the drop-down to the left of the title box.

    Also, if you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.

  7. #7
    Registered User
    Join Date
    04-05-2024
    Location
    pakistan
    MS-Off Ver
    2021 ltsc
    Posts
    6

    Re: How to Return All Invoices Avoiding/Skipping Duplicate

    Do You Have Any Formula For Excel 2019 Or 2016

  8. #8
    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. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,568

    Re: How to Return All Invoices Avoiding/Skipping Duplicate

    Why? You said in your profile that solutions need to work for 2021. If they need to work with older versions, then change your profile to the OLDEST version that any solution must work with.

  9. #9
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,792

    Re: How to Return All Invoices Avoiding/Skipping Duplicate

    Approval Note




    C11=IFERROR(INDEX(Invoice!$C$4:$C$14,SMALL(IF(FREQUENCY(IF(Invoice!$A$4:$A$14='Approval Note'!$B11,MATCH(Invoice!$C$4:$C$14,Invoice!$C$4:$C$14,0)),ROW(Invoice!$C$4:$C$14)-ROW(Invoice!$C$4)+1),ROW(Invoice!$C$4:$C$14)-ROW(Invoice!$C$4)+1),ROWS('Approval Note'!$A$11:'Approval Note'!A11))),"")


    Contro+shift+enter

    copy down

  10. #10
    Registered User
    Join Date
    04-05-2024
    Location
    pakistan
    MS-Off Ver
    2021 ltsc
    Posts
    6

    Re: How to Return All Invoices Avoiding/Skipping Duplicate

    I Am Really Sorry About This Because i Am new to this forum and didn't know much about rules and regulations
    2ndly i thought profile shows what version i am using not the solution i required for.

  11. #11
    Registered User
    Join Date
    04-05-2024
    Location
    pakistan
    MS-Off Ver
    2021 ltsc
    Posts
    6

    Re: How to Return All Invoices Avoiding/Skipping Duplicate

    Thanks A Lot!!!!! It Works

+ 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] Countif for first 5 digits and avoiding the duplicate
    By Sekars in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-19-2016, 02:49 AM
  2. checkpoint for duplicate invoices
    By dk54 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-06-2013, 04:27 PM
  3. [SOLVED] Avoiding Duplicate Combinations in Access 2007
    By asar_k in forum Access Tables & Databases
    Replies: 2
    Last Post: 11-13-2012, 08:08 AM
  4. Replies: 9
    Last Post: 02-08-2012, 12:08 PM
  5. Avoiding duplicate entries
    By say42 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-11-2011, 01:00 PM
  6. Avoiding duplicate worksheets in different workbooks
    By jonnya in forum Excel General
    Replies: 0
    Last Post: 09-15-2010, 10:59 AM
  7. Avoiding Duplicate entries - from a drop down
    By marie in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-20-2006, 02:15 PM

Tags for this Thread

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