+ Reply to Thread
Results 1 to 4 of 4

Autogenerating a table from manually entered data

  1. #1
    Registered User
    Join Date
    06-07-2024
    Location
    Minnesota, USA
    MS-Off Ver
    Microsoft 365
    Posts
    1

    Autogenerating a table from manually entered data

    Hello. I am unsure the best way to ask this question, but I have a data set or table that I manually fill in with specific quantities. In order to use this data, I need the data to be reformatted/reorganized into a different format to be used in a different application. I would like this to be automated, but I have been unable to find a lookup or filter formula that can automate the generation of this table.

    I have attached an example spreadsheet. The information in Columns A-G is manually entered, but I would like the information in Columns J-M to auto populate.

    I appreciate any insight any of you can provide.

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,641

    Re: Autogenerating a table from manually entered data

    VBA solution.
    this code is put in sheet event, to trigger any change in range format 1, to update in range format 2
    (Right click on tab's name, view code, then paste below code into
    PHP Code: 
    Option Explicit
    Private Sub Worksheet_Change(ByVal Target As Range)
    Dim lr&, i&, j&, k&, rngres(1 To 1000001 To 4)
    lr Cells(Rows.Count"A").End(xlUp).Row
    If Intersect(TargetRange("A2:G" lr)) Is Nothing Then Exit Sub
    rng 
    Range("A2:G" lr)
    For 
    3 To UBound(rng2)
        For 
    2 To UBound(rng)
            If 
    rng(ij) <> "" Then
                k 
    1
                res
    (k1) = rng(1j): res(k2) = rng(i1)
                
    res(k3) = rng(i2): res(k4) = rng(ij)
            
    End If
        
    Next
    Next
    Range
    ("J3:M100000").ClearContents
    Range
    ("J3").Resize(k4).Value res
    End Sub 
    Attached Files Attached Files
    Quang PT

  3. #3
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,404

    Re: Autogenerating a table from manually entered data

    Power Query
    l
    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,870

    Re: Autogenerating a table from manually entered data

    Clean all expected results.

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

+ 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. Use different cells for calculation when data is manually entered in them
    By bigmac1012345 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-25-2022, 01:49 PM
  2. Replies: 1
    Last Post: 08-02-2016, 05:55 PM
  3. Matching poor manually entered data
    By pilotpond in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-17-2015, 05:58 PM
  4. Replies: 2
    Last Post: 01-14-2014, 04:09 PM
  5. A manually entered cell to automatically update another manually entered cell
    By Head Scratcher in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-29-2013, 08:23 PM
  6. [SOLVED] VLOOKUP only works on data manually entered.
    By Mike Rogers in forum Excel General
    Replies: 6
    Last Post: 04-25-2006, 02:20 PM
  7. [SOLVED] Keeping manually entered data
    By Mike Punko in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-06-2005, 02:05 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