+ Reply to Thread
Results 1 to 4 of 4

Arrange data from excel table in a new worksheet based on criteria

  1. #1
    Forum Contributor
    Join Date
    10-10-2012
    Location
    Mumbai,India
    MS-Off Ver
    Microsoft Excel 2007
    Posts
    104

    Arrange data from excel table in a new worksheet based on criteria

    Hi all
    i have an excel table with data of invoices . What i want is to filter the data into a listbox based on a criteria in combobox . The filtered data should be rearranged as shown in the example file.
    Thanks in advance
    Attached Files Attached Files
    Last edited by Khanzaki; 03-21-2022 at 01:26 PM.

  2. #2
    Forum Expert
    Join Date
    10-11-2021
    Location
    Netherlands
    MS-Off Ver
    365
    Posts
    1,386

    Re: Arrange data from excel table in a new worksheet based on criteria

    First tip, try to generate one row for every product. Now you use 1 row for 3 products, which is not best practice at all if you want to analyze your data.

  3. #3
    Forum Expert
    Join Date
    10-11-2021
    Location
    Netherlands
    MS-Off Ver
    365
    Posts
    1,386

    Re: Arrange data from excel table in a new worksheet based on criteria

    Then you can just use this code behind your combobox. Only thing you need to do, is scale your column widths.

    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    10-10-2012
    Location
    Mumbai,India
    MS-Off Ver
    Microsoft Excel 2007
    Posts
    104

    Re: Arrange data from excel table in a new worksheet based on criteria

    Hi thanks for your efforts.. Reason why i used 1 row for those 3 products is ..to get back values in userforms comboboxes and textboxes using vlookup of invoice no for the sole purpose of updating my data if needed..so in order to go with your suggestion i need a way to update my data by click of a button

+ 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: 1
    Last Post: 11-25-2021, 12:54 PM
  2. [SOLVED] Arrange Two Worksheet Data in One Sheet Table Form
    By KRIXXXX in forum Excel Programming / VBA / Macros
    Replies: 25
    Last Post: 05-27-2020, 12:56 AM
  3. Replies: 2
    Last Post: 05-20-2020, 07:00 PM
  4. [SOLVED] Excel VBA code required to re-arrange the data based on Column condition
    By mchilapur in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-28-2015, 03:48 AM
  5. A new table based on PIVOT: filter & re-arrange the data
    By Ksenia in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-03-2014, 01:58 AM
  6. Replies: 7
    Last Post: 06-21-2012, 06:45 AM
  7. [SOLVED] Re-arrange a worksheet range to a pivot-friendly table?
    By Alabaster in forum Excel General
    Replies: 4
    Last Post: 12-01-2011, 09:19 AM

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