+ Reply to Thread
Results 1 to 9 of 9

Formula for extracting data, lookup value in noncontinuous layout

  1. #1
    Registered User
    Join Date
    10-02-2018
    Location
    Yamunanagar,India
    MS-Off Ver
    2010
    Posts
    35

    Formula for extracting data, lookup value in noncontinuous layout

    Hello, I'm trying to create workbook for tracking orders & bom for ordered items. My data looks as shown below, assuming data in column no. A,B,C,D and starts from Row 2.

    format query.gif



    Query is, if item code for a new order is entered in column A & it is already present in rows above the point of entry, then all data related to that item code is extracted & placed alongside the new entry. If not then we can manually enter the same. Kindly suggest a formula, assuming data set can finally increase to approx. 4000 rows.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,462

    Re: Formula for extracting data, lookup value in noncontinuous layout

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    10-02-2018
    Location
    Yamunanagar,India
    MS-Off Ver
    2010
    Posts
    35

    Re: Formula for extracting data, lookup value in noncontinuous layout

    Refer the attachment. Related queries are also mentioned in the attached file.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,680

    Re: Formula for extracting data, lookup value in noncontinuous layout

    Code for worksheet event
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  5. #5
    Registered User
    Join Date
    10-02-2018
    Location
    Yamunanagar,India
    MS-Off Ver
    2010
    Posts
    35

    Re: Formula for extracting data, lookup value in noncontinuous layout

    Thanks for the reply.
    Can we do it with a formula , as I'm inexperienced with VBA.

  6. #6
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,680

    Re: Formula for extracting data, lookup value in noncontinuous layout

    It is not possible with formula.When there is new entry you have to put new data.

  7. #7
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,462

    Re: Formula for extracting data, lookup value in noncontinuous layout

    @kvsrin

    Are you positive about that? If so, I will move it to the VAB forum

  8. #8
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: Formula for extracting data, lookup value in noncontinuous layout

    Please try at

    B12:C12

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    D12 copy across
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Copy B12:I12 Down
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    10-02-2018
    Location
    Yamunanagar,India
    MS-Off Ver
    2010
    Posts
    35

    Re: Formula for extracting data, lookup value in noncontinuous layout

    Thanks, Bo-Ry.
    It seems to work well, can you explain what does look up value "zz" imply, since there is no entry in column A by this name.
    Secondly any reply on query 2, viz. how to auto calculate data in column K( quantity of parts) for an item based on qty. given in column J(qty. of item).

+ 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: 6
    Last Post: 10-17-2017, 07:31 AM
  2. Extracting string with certain layout from a text
    By Jacobs.ya in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-12-2016, 03:35 AM
  3. Extracting data from dates-lookup function or macros?
    By pahari75 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-03-2014, 01:24 AM
  4. Take Sheet1 layout and Create Sheet2 layout with Macro
    By theglitch in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-18-2013, 03:50 PM
  5. Convert data from column layout to row layout
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-28-2010, 03:28 PM
  6. Extracting data via lookup from Multiple files
    By Funky Niblet in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-10-2008, 07:41 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