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

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.
Who is Participating?

Author Commented:
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

Commented:
Hi

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

Author Commented:
Yes.  I thought I had attached it.  Here it is
Inventory-Deduct.xls
0

Commented:
why do you say it should be 13?

On row 354, it is: Staples - ASC-17/12G
0

EngineerCommented:
The problem is that row 279 also has Z-U-RC-ST
0

Commented:
From what i understand, you should normally try to match n 2 rows: correct?

Assembly ID and Component ID
0

Author Commented:
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 Commented:
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

Older than dirtCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.