+ Reply to Thread
Results 1 to 6 of 6

Formula for All invoice numbers in Drop down list for specific company

  1. #1
    Forum Contributor
    Join Date
    04-06-2016
    Location
    Singapore
    MS-Off Ver
    MS Office 365 & 2010
    Posts
    698

    Formula for All invoice numbers in Drop down list for specific company

    Hi friends,

    I have a sheet with many companies and invoices numbers, I want specific company invoices numbers in drop down list.

    Please see attachment for better understanding.

    Thank you.
    Attached Files Attached Files

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Formula for All invoice numbers in Drop down list for specific company

    In the attached I've used the below formula in cell N2 and copied down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    This is an array formula and needs to be confirmed with Ctrl+Shift+Enter.

    It creates a list of Invoice Nos. based on the buyer selected in H1.

    This list is then used in a dynamic named range (Press Ctrl+F3 to bring up the name manager to see details on that) which is used to drive the data validation in H2.

    Hope that helps.

    BSB
    Attached Files Attached Files

  3. #3
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: Formula for All invoice numbers in Drop down list for specific company

    Hi there,

    See if the attached workbook does what you need.

    It uses the following code in a standard VBA CodeModule:

    Please Login or Register  to view this content.
    and the following code in the VBA CodeModule of the worksheet which contains your data:

    Please Login or Register  to view this content.
    The highlighted values may be changed to suit your own requirements.


    Hope this helps - please let me know how you get on.

    Regards,

    Greg M
    Attached Files Attached Files

  4. #4
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Formula for All invoice numbers in Drop down list for specific company

    =OFFSET(INDEX(l!$M$2:$M$26,MATCH(l!H1,l!$M$2:$M$26,)),,1,,SUM(--(LEN(INDEX(l!$M$2:$AI$26,MATCH(l!H1,l!$M$2:$M$26,),))>0)))
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    04-06-2016
    Location
    Singapore
    MS-Off Ver
    MS Office 365 & 2010
    Posts
    698

    Re: Formula for All invoice numbers in Drop down list for specific company

    Thank you friends.

  6. #6
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: Formula for All invoice numbers in Drop down list for specific company

    Hi again,

    Many thanks for the Reputation increase - much appreciated

    Best regards,

    Greg M

+ 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. Replies: 3
    Last Post: 10-10-2017, 03:25 PM
  2. Replies: 1
    Last Post: 10-06-2017, 04:29 PM
  3. [SOLVED] Calculate Invoice Due Date from VLOOKUP drop down list
    By Jigby in forum Excel General
    Replies: 13
    Last Post: 04-12-2017, 07:33 AM
  4. [SOLVED] count non duplicate invoice numbers for a specific employee
    By bacardi510 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-26-2016, 04:31 PM
  5. Delete specific suffixes from a list of company names
    By bsmizzle in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-19-2014, 08:09 AM
  6. I need a macro that prints an invoice after choosing a sheet from a drop-down list
    By Robert1311 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-02-2014, 04:49 PM
  7. Excel 2007 : Drop list with invoice auto fill?
    By Ray78 in forum Excel General
    Replies: 6
    Last Post: 03-16-2012, 11:50 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