+ Reply to Thread
Results 1 to 10 of 10

Extract Data /Look up Data / To get data automatically by refering invoice number

  1. #1
    Registered User
    Join Date
    06-17-2015
    Location
    singapore
    MS-Off Ver
    2010
    Posts
    43

    Extract Data /Look up Data / To get data automatically by refering invoice number

    Dear All,

    I would like ask for help for the following formulas. I have tried to create by learning , however, I couldn't get the solution.

    Could someone help me please if these will possible to create it ?

    I would like get automatic data ( look up data ) by referring invoice number .
    Attached is sample file .

    1) Inv Details Sheet

    2) Inv Summary Sheet : Wanted to get combine data of multiple item names from "invoice Details sheet" to "Invoice summary Description"
    3) Inv Format Sheet : Wanted to get automatically "Batch Number" and" Expiry Date " data under item name of the invoice by looking up invoice number.

    Kindly guide me , please. Thanks in advance for your valuable time .
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor PFDave's Avatar
    Join Date
    05-17-2012
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2013
    Posts
    1,067

    Re: Extract Data /Look up Data / To get data automatically by refering invoice number

    Hi this file wont open for me, could you try and attach again please?

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Extract Data /Look up Data / To get data automatically by refering invoice number

    Do you require backward compatability with Excel 2003? I ask because you are using the out-of-date xls extension....
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Extract Data /Look up Data / To get data automatically by refering invoice number

    Take a look at this. Is it what you want? I'm happy to explain what's going on. However, your data layout in the invoice is pretty horrible - with different formulae in alternate rows. Much easier if it was all on one row....
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-17-2015
    Location
    singapore
    MS-Off Ver
    2010
    Posts
    43

    Re: Extract Data /Look up Data / To get data automatically by refering invoice number

    Dear Glenn,

    Yes, this is what I want. kindly guide me, please . I think concatall is not in excel build formula.
    I am willing to change data layout formula in the invoice for much better formula .

    I don't need backward compatibility with Excel 2003, can convert to xlsx version as well .

    Thanks again ..

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Extract Data /Look up Data / To get data automatically by refering invoice number

    OK. Back again. For Invoice summary, I pasted this UDF code (shamelessly copied from Tigeravatar) into a module (right click on sheet name)

    Please Login or Register  to view this content.
    It takes the form:

    =concatall(IF('Inv Details'!$A$5:$A$198='Invoice Summary'!A6,'Inv Details'!$F$5:$F$198,""),", ")

    Syntax: = ConcatAll(if(range=criterion, TRUE - do this, FALSE - do that,separator).

    On Invoice summary, I killed a lot of columns and put 1 line = 1 item. Much easier to copy formulae down. You can always set the print/pdf area to landscape to accommodate this change. Your Unit Prices aren't there, so I couldn't fix it up for you. Finally, saved as modern xlsx.

    TaDaa!

    Done. Any Q's, just shout.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    06-17-2015
    Location
    singapore
    MS-Off Ver
    2010
    Posts
    43

    Re: Extract Data /Look up Data / To get data automatically by refering invoice number

    Hi Gleen,

    Firstly, my apologizes for late reply as just came back from long leave. Really appreciate for your help .
    I have managed to learn from your file and followed as the same, Thanks to your well guide.

    Could I ask one more question ?

    And , in Invoice format " Unit Price G", I am using Sumifs function of "SUMIFS('Inv Details'!O:O,'Inv Details'!A:A,"="&'Invoice Format'!$H$5,'Inv Details'!F:F,"="&'Invoice Format!D22)"
    But, this doesn't work if there is two batches under the same name "Colunm H" in Inv Details Sheet.

    Same for Column C in invoice format sheet . Attached is the file. Hope you could help me in this one as well.

    Sincerely thanks again.
    Attached Files Attached Files

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Extract Data /Look up Data / To get data automatically by refering invoice number

    Take a look at this one. Does this do all that you need?





    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    06-17-2015
    Location
    singapore
    MS-Off Ver
    2010
    Posts
    43

    Re: Extract Data /Look up Data / To get data automatically by refering invoice number

    Yeah, this did all of my needs. Thank you so much again.

  10. #10
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Extract Data /Look up Data / To get data automatically by refering invoice number

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ 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. Extract data automatically
    By dtgheath in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 06-10-2016, 01:21 AM
  2. Choose Invoice Number from a userform combobox and copy data to invoice output
    By djemy1975* in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-07-2016, 06:02 AM
  3. [SOLVED] Extract Invoice Information from Source Data Sheet to Individual Worksheets
    By HangMan in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-31-2015, 11:37 AM
  4. update data by looking invoice number
    By z-eighty2 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-18-2013, 03:29 PM
  5. How to automatically extract data in this case
    By wowow in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 12-13-2011, 10:18 PM
  6. Match and Extract Data Automatically
    By bs2713 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-16-2008, 02:00 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