+ Reply to Thread
Results 1 to 5 of 5

Create vertical list from non uniform horizontal list

  1. #1
    Registered User
    Join Date
    11-02-2012
    Location
    London, England
    MS-Off Ver
    Office 365 / 16
    Posts
    9

    Create vertical list from non uniform horizontal list

    Hi

    I have a grid where a user can select different options for the length of different types of cable. From this i need to tally up the different lengths of each type of cable and create a vertical shopping list.

    So for instance the image below would create a list based on the length in row 5 then the type of cable which is in cell N3, X3, AH3 and so on and finally the tallied number. So for instance:

    Col A Col B Col C
    (Qty) (Length) (Type)

    2 25m Motor Cable 3kW EU
    9 30m Motor Cable 3kW EU
    1 35m Motor Cable 3kW EU
    1 30m Motor Cable 11kW EU

    Capture.PNG

    is there a way of doing this through formulae baring in mind that the number of columns showing each cable length may change and the row the list is on might change. I have already started the tally up bit by putting a totals row on the row above the shopping list if that helps (ie shopping list is A96, B96 and C96 so I have totals on row 95

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

    Re: Create vertical list from non uniform horizontal list

    It would help if you attached a sample Excel workbook, rather than a picture of one.

    To do this, click on Go Advanced (below the Edit Window) while you are composing a reply, then scroll down to and click on Manage Attachments and the Upload window will open. Click on Browse and navigate to (and double-click) the file icon that you want to attach, then click on Upload and then on Close this Window to return to the Edit window. When you have finished composing your post, click on Submit Post. Don't try to use the Paperclip icon, as it doesn't work on this forum.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    11-02-2012
    Location
    London, England
    MS-Off Ver
    Office 365 / 16
    Posts
    9

    Re: Create vertical list from non uniform horizontal list

    Sorry Pete, here you go

    I got rid of a few lines to reduce the amount of scrolling and how I'm currently doing this list which is not very neat as an example

    Cheers
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    11-02-2012
    Location
    London, England
    MS-Off Ver
    Office 365 / 16
    Posts
    9

    Re: Create vertical list from non uniform horizontal list

    Sorry the more I look at this the more I think trying to remove the dead rows, although nice, is going to be hard. Think for anything where Qty = 0 then i will just do an if statement to make the row blank or even just have a 0
    Last edited by simonwait; 01-25-2019 at 04:14 AM.

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,548

    Re: Create vertical list from non uniform horizontal list

    Here is a 'low tech' proposal.
    Make a list of every length for every product (?) as modeled (partially) in columns P:Q
    Populate column O using: =INDIRECT(ADDRESS(27,ROW(13:13)))
    Note that this list may be moved and/or hidden for aesthetic purposes.
    The final shopping list, modeled in light green (partially), is populated using:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Note that column X is custom formatted 0"m"
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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] turn vertical list to horizontal list start new row when change in column A, B and E
    By drosew in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-13-2016, 01:13 PM
  2. [SOLVED] How to create vertical list based on horizontal instances
    By escobf in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-03-2013, 10:31 AM
  3. Extract data from a horizontal range with blanks and create a vertical list
    By dommcg in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-07-2013, 10:41 AM
  4. [SOLVED] Convert Vertical list to Horizontal
    By pmor1503 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-14-2012, 10:15 PM
  5. Switching a Horizontal List to a Vertical List
    By mrvp in forum Excel General
    Replies: 2
    Last Post: 02-28-2012, 07:22 PM
  6. Converting vertical list into horizontal list
    By Frenchtom in forum Excel General
    Replies: 2
    Last Post: 09-12-2011, 03:55 PM
  7. Convert from Vertical list to Horizontal
    By ravi_m5_2000 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-14-2009, 03:52 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