+ Reply to Thread
Results 1 to 7 of 7

Help Vlookup on creating report?

  1. #1
    Registered User
    Join Date
    08-14-2006
    Location
    Ontario, Canada
    Posts
    12

    Help Vlookup on creating report?

    Hi,
    I'm trying to build a report whereas someone can type in store number in A2
    and below will generate the following:
    UPC Item Description Item Number, sales etc......


    These metrics (UPC, Item description Item numbers) are all available in the table I'm referencing it to.

    Any suggestions on formula?

    thanks in advance.

  2. #2
    Registered User
    Join Date
    11-22-2010
    Location
    Finland
    MS-Off Ver
    Excel 2003, 2007
    Posts
    95

    Re: Help Vlookup on creating report?

    Like this? There's two alternatives because of a bit of hazy definition.
    Attached Files Attached Files
    An example file is never useless!

    Tried an example function of mine and got errors?
    - Had you found them, replace ; with , and , with .

  3. #3
    Registered User
    Join Date
    08-14-2006
    Location
    Ontario, Canada
    Posts
    12

    Re: Help Vlookup on creating report?

    Thanks this is how I need it to populate. I have gotten this far using the Vlook up function but I'm not getting the formula right as (using your example)
    Store 102 will have multiple of entries in column A (in sheet 2 in your example)

    So it would list all the items reporting into store 102. My reference sheet has over 8,000 entries as example store 102 may have 30 products (and say there are over 250 stores altogether)


    I've been dragging the function all the way to the bottom but getting #N/A's or multiple products

    I've highlighted in yellow what I've added.

    hope this make sense what I require?
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor mahju's Avatar
    Join Date
    11-27-2010
    Location
    Pakistan, Faisalabad
    MS-Off Ver
    Excel 2010 plus
    Posts
    730

    Lightbulb Re: Help Vlookup on creating report?

    Vlookup ffunction is for searching one value.
    One you drag down the formula it changes to A3, A4 etc. and you get an error message

    Use pivot table instead.

    See attached worksheet --- Sheet 2

    One thing --- You should not enter the duplicate value in one store

    i.e all the fields in any two rows should not be same

    otherwise sales will be added


    In last last column total means sale

    The other option is advanced filter that will extract the entries of desired stored No

    That will be given later


    Regards
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    11-22-2010
    Location
    Finland
    MS-Off Ver
    Excel 2003, 2007
    Posts
    95

    Re: Help Vlookup on creating report?

    Yees... pivot table would be good for this. There's no sense to try it with vlookup.

  6. #6
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    Re: Help Vlookup on creating report?

    Vlookup wouldnt work too well in this situation, using the pivot table is the easiest and best option.

    Otherwise if your store data is in order of stores you could use index/match to pull the values across, also you need to limit the range of your VLOOKUPS, if you are only using 8k rows, dont lookup 65k rows!
    Regards
    Darren

    Update 12-Nov-2010 Still job hunting!

    If you are happy with the results, please add to our reputation by clicking the blue scales icon in the blue bar of the post.

    Learn something new each day, Embrace change do not fear it, evolve and do not become extinct!


  7. #7
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    Re: Help Vlookup on creating report?

    I added some Index match formulas and 2 named ranges to cut down on the data!

    The formulas assume that your data is sorted by store number, otherwise they become more difficult to handle and complex!

    This in mind, i converted your data into a List, to allow sorting of the data to meet this requirement, other than the borders and filters it wont affect anything!
    Attached Files Attached Files
    Last edited by squiggler47; 12-03-2010 at 05:21 AM. Reason: Forgot attachment!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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