+ Reply to Thread
Results 1 to 4 of 4

Creating template file, data is mismatch in rows.

  1. #1
    Registered User
    Join Date
    07-26-2023
    Location
    OKC
    MS-Off Ver
    MS Office 365 for Mac
    Posts
    2

    Creating template file, data is mismatch in rows.

    Sample WB For Template.xlsx

    Raw data being pulled occupies multiple rows and columns and instead of aligned in one making difficult to return ideal value. Attached sample data to post. Attempted multiple methods to isolate and display as ideal.

    Data lives between columns A through P. Targeting lines not equal to "Adjusted" in column P, but Parent "Sales Order" info can be dynamic as it can be located 2-8 rows above within column A.

    Im out of ideas in making this work without using VBA or manipulating the source data.

  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,595

    Re: Creating template file, data is mismatch in rows.

    Welcome to the forum.

    So what's the logic? How do you know which codes and descriptions go together? I wouldn't have the first idea about why you've pulled and matched the ones you have on the right.

    More detailed explanation required, please.
    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
    07-26-2023
    Location
    OKC
    MS-Off Ver
    MS Office 365 for Mac
    Posts
    2

    Re: Creating template file, data is mismatch in rows.

    Thank you!

    The only logic is the Sales Order is displayed prior to the actions being reported. I previously attempted a lookup or xlookup in attempt to factor in the hierarchical nature by avoiding the other data existing within column A ie "AGCD, CCGC, and APID". Also attempted to use Offset but due to the inconsistent value of the multiple actions that could occur proved to be a bust. example formula =CHOOSECOLS(FILTER(Sheet1!A:T,(Sheet1!P:P<>"Adjusted")*(Sheet1!P:P<>"")),1,2,7,16,20) As row in 22 through 27, through the filter new row 3 would display correctly, but Row 4 and Row 5 would display "AGCD" instead of DEF5678.

  4. #4
    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,595

    Re: Creating template file, data is mismatch in rows.

    Explain how I would:

    1. Identify what is and what isn't a sales order.
    2. Work out which action applied to any identified sales order.

    You know your data intimately - I don't.

+ 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-13-2017, 01:36 AM
  2. Creating a new CSV file from an existing template or worksheet
    By JackSmith123 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-01-2017, 09:22 PM
  3. Creating a code to count and extract data from template to master file
    By B_Jarbs in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-07-2016, 11:32 AM
  4. [SOLVED] Creating Template from Ugly File
    By ME2014 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-11-2014, 08:32 AM
  5. [SOLVED] exporting data from master file to template file (autopopulate a template)
    By Gti182 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-06-2014, 11:41 AM
  6. Replies: 2
    Last Post: 02-14-2014, 01:39 PM
  7. Setting a Constant when creating a new file from a template?
    By Conan Kelly in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-15-2005, 02:05 AM

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