+ Reply to Thread
Results 1 to 2 of 2

How do I use the vlookup function with merged cells?

  1. #1
    Registered User
    Join Date
    04-22-2013
    Location
    Indonesia
    MS-Off Ver
    Excel 2010
    Posts
    1

    How do I use the vlookup function with merged cells?

    Hi All,

    Iam a newbie and not sure if this is the right sub-forum to ask this query.

    I have a file with a sheet "Master Consumption", here the in the 2nd column I have the item code of a product, with several rows merged together, in the following column it shows the parts used to make up the product with details of those parts (like shape, size, color, unit prc, qty used and total prc etc..) in various rows. This sheet has all the products I have in the same manner.

    The 2nd sheet of the file is where I try to generate the Invoice, what I want to do is when I type the item code, the details of the product must show up in the following columns, and it does (only for the merged cells), but in the following columns where the rows are not merged, it shows result for only the 1st row, but N/A for the rest of the rows. And I have no idea what to do.

    I have the file uploaded for your review. Inventory - Invoice.xlsx

    I will appreciate if someone can help me here, while I browse thru the forum for answers.

    Look forward to a favorable reply to my query.

    Tks/Kevin.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482

    Re: How do I use the vlookup function with merged cells?

    Merged cells always create problems, for example you have a "Type" heading that is merged, but it consists of 4 columns below it. Your results sheet(Order Sheet) only has 1 column for the "Type" column result.

    Try not using merged cells when you are collecting data.

+ 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