Solved

Excel formula - Index Match works in some cells not in others

Posted on 2015-02-02
10
120 Views
Last Modified: 2015-03-03
Using index match formula,  all works fine except for certain cells it returns 0 for the value.  I've checked for spaces and have checked formatting of cells and nothings seems to be in error.  The formula is in worksheet BOMUPHOL and a typical cell that isn't calculating is cell K354.  It should be returning a value of 13 from BOMASSEMBLY.  Please help as I have tried everything.   Thanks and let me know if there is anything else I can add.
0
Comment
Question by:jwarren305
10 Comments
 
LVL 11

Expert Comment

by:Wilder1626
ID: 40584435
Hi

Do you have a excel template we can look at?
0
 

Author Comment

by:jwarren305
ID: 40584454
Yes.  I thought I had attached it.  Here it is
Inventory-Deduct.xls
0
 
LVL 11

Expert Comment

by:Wilder1626
ID: 40584500
why do you say it should be 13?
component id
On row 354, it is: Staples - ASC-17/12G
0
Don't miss ATEN at NAB Show April 24-27!

Visit ATEN at NAB Show to learn how our "Seamlessly Entertaining" solutions deliver fast, precise video streaming without delays for the broadcasting and media environment. ATEN will showcase its 16x16 Modular Matrix Switch (VM1600) and KVM Over IP Solution (KE6900 series).

 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 40584522
The problem is that row 279 also has Z-U-RC-ST
0
 
LVL 11

Expert Comment

by:Wilder1626
ID: 40584530
From what i understand, you should normally try to match n 2 rows: correct?

Assembly ID and Component ID
0
 

Author Comment

by:jwarren305
ID: 40584586
OK. Regarding the Staples - ASC-17/12G, that is G column of the BOMUPHOL sheet.  The formula should be directing it to BOMASSEMBLY Column G.  Basically, this is the process for using the spreadsheets.  On the model sheet, you enter the quantity of whatever model you have built.  The BOMASSEMBLY sheet then takes that quantity and breaks it down into a bill of materials or its assembly.  That all works well.  However, the assemblies also have subassemblies - these are the ones that begin with Z.  So, on the assemblies sheet it tells me I need 13 of the sub assembly Z-U-RC-ST (as well as others).  Now, the BOMUPHOL is a subassembly breakdown.  It should be taking the amount of subassemblies from the BOMASSEMBLY worksheet and bringing it over so that I can multiply it by how ever many components go into that particular piece.  If you scroll down and look at Z-U-RP27-OT you will see it working correctly.  It goes to the assemblies page, finds how many need to be built and brings over that value so that I can multiply the "Component Qty Needed" in Column H to get the total amount of components I've used.  Hope I haven't confused the issue further.  I just don't understand how it can work in some of the cells in Column K of BOMUPHOL and not others.
0
 

Author Comment

by:jwarren305
ID: 40584809
I just learned a little bit about what may be causing my issue.  I went in an put a quantity in for another model that uses the same subassemblies and it picked those up on BOMUPHOL.  So, it looks like the index match formula starts at the top of Column G in BOMASSEMBLIES and stops with the first match it finds.  I am needing it to catch each match throughout the column.  So, I'm guessing I need to search for matches in both Model name (Column A,BOMASSEMBLY and Column G, BOMASSEMBLY).  To see what I'm talking about you can go to the model sheet and add a qty of 5 to Model Y-IC1281.  This model uses same subassemblies as Y-RC1294.  On the BOMUPHOL sheet the subassembly "Z-U-RC1294-AR" shows 10, which is the correct amount for Y-IC1281 (these are arms so there are two arms per product).  However, it stops there.
0
 

Accepted Solution

by:
jwarren305 earned 0 total points
ID: 40584848
I figured it out.  A SUMIF formula is the correct function for what I'm trying to do.  Thanks to all for your help.
0
 
LVL 47

Expert Comment

by:Martin Liss
ID: 40641352
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question