+ Reply to Thread
Results 1 to 9 of 9

offset and match formula to extract data from another sheet

  1. #1
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,086

    offset and match formula to extract data from another sheet

    How to extract data from specific columns headers in another sheet using offset and match.

    That is lookup a reference from data sheet and extract data from database as per specific columns headers

    However I know how do it with index and match but I am trying to learn the technique offset and match

    Can anyone assist and explain how it works as per attached sheet as example
    Attached Files Attached Files

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: offset and match formula to extract data from another sheet

    Enter in C2 and copy across and down
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    here is with OFFSET
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by AlKey; 10-28-2017 at 12:37 PM.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    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,730

    Re: offset and match formula to extract data from another sheet

    I can't see OFFSET or MATCH in that formula ...
    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.

  4. #4
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,086

    Re: offset and match formula to extract data from another sheet

    Alkey thank you for the formula, working as requested .

    The ,, represents the no of rows to move but ,1 at end of formula means what



    Please Login or Register  to view this content.
    Also from this site but I saw a sample of their formula of offset and match but it is hard coded .

    Can this technique applied to my sample file




    Please Login or Register  to view this content.

  5. #5
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: offset and match formula to extract data from another sheet

    Hi JEAN,
    The 1 is Height (Optional). The height, in number of rows, that you want the returned reference to be. Height must be a positive number.

  6. #6
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,086

    Re: offset and match formula to extract data from another sheet

    Thanks for help

    I have tried using the offset and match using different approach. getting same results .

    Any suggestions would be welcome
    Attached Files Attached Files

  7. #7
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: offset and match formula to extract data from another sheet

    I am not quite sure what results you expect to see. If you need to return Barcode and Statistic no columns with use of OFFSET and MATCH try this:
    Enter in E2 and copy across to F2 and down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  8. #8
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: offset and match formula to extract data from another sheet

    DataBase

    Row\Col
    A
    B
    C
    D
    1
    Item no
    Barcode
    Statistic no Value
    2
    SP8100120
    8711295601811
    95030021
    64.8
    3
    SP8100130
    8711295602313
    95030021
    388.8
    4
    S30000280
    8711295188534
    95030081
    777.6
    5
    S30820050
    8719202037258
    95030070
    243
    6
    S34080700
    8718158920683
    95030095
    108
    7
    S34089310
    8711295723179
    95030070
    268.8
    8
    S34089350
    8711295723803
    95030070
    345.6
    9
    AAE042030
    8719202228984
    95051090
    277.2


    Data Sheet

    Row\Col
    A
    B
    C
    D
    E
    F
    G
    H
    I
    1
    Item no Item description
    Barcode
    Statistic no Value
    Expected Result
    2
    SP8100120 DOLL WITH SOUND 30CM 2ASS
    8711295601811
    95030021
    64.8
    8.71E+12
    95030021
    64.8
    3
    SP8100130 DOLL WITH SOUND 25CM 2ASS
    8711295602313
    95030021
    388.8
    8.71E+12
    95030021
    388.8
    4
    S30000280 SPACE GUN PP BATTERY OPERATED
    8711295188534
    95030081
    777.6
    8.71E+12
    95030081
    777.6
    5
    S30820050 SHOPPINGBASKET 6ASS GROCERY
    8719202037258
    95030070
    243
    8.72E+12
    95030070
    243
    6
    S34080700 MOTOR TOWN PP SET OF 31PCS INC
    8718158920683
    95030095
    108
    8.72E+12
    95030095
    108
    7
    S34089310 KITCHEN TOOL SET PP 10PCS 2ASS
    8711295723179
    95030070
    268.8
    8.71E+12
    95030070
    268.8
    8
    S34089350 DOCTORSET PP 6PCS IN PP CASE A
    8711295723803
    95030070
    345.6
    8.71E+12
    95030070
    345.6
    9
    AAE042030 DIADEM CHRISTMAS 4ASS DESIGNS
    8719202228984
    95051090
    277.2
    8.72E+12
    95051090
    277.2


    C2=OFFSET(DTABASE!B$1,MATCH($A2,DTABASE!$A:$A,0)-1,,,)

    Copy towards D and down.

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


    Both copy down.!!!

    As per you Post#1 attached file.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  9. #9
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,086

    Re: offset and match formula to extract data from another sheet

    @Alkey @shukla.ankur281190 thank you for assistance

+ 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: 11
    Last Post: 06-15-2017, 08:34 PM
  2. Replies: 9
    Last Post: 11-07-2014, 07:10 AM
  3. [SOLVED] VBA Macro for extract data to new sheet with match criteria.
    By santosh226001 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 09-16-2014, 10:43 AM
  4. Extract data between match pattern, process in another sheet
    By 123raajesh in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-30-2014, 12:38 PM
  5. Extract data from one sheet to another (Index/Match Formula)
    By pauldaddyadams in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-31-2013, 06:51 PM
  6. Replies: 1
    Last Post: 02-22-2006, 03:55 PM
  7. [SOLVED] formula to extract specific data if match occurs
    By jerry in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-24-2005, 08:06 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