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

Posted on 2015-02-02
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.
Question by:jwarren305
LVL 11

Expert Comment

ID: 40584435

Do you have a excel template we can look at?

Author Comment

ID: 40584454
Yes.  I thought I had attached it.  Here it is
LVL 11

Expert Comment

ID: 40584500
why do you say it should be 13?
component id
On row 354, it is: Staples - ASC-17/12G
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 40584522
The problem is that row 279 also has Z-U-RC-ST
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

LVL 11

Expert Comment

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

Assembly ID and Component ID

Author Comment

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.

Author Comment

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.

Accepted Solution

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.
LVL 45

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.

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Outline Suppose you have some simple text based data in Excel that you would like to display as a PowerPoint presentation. Of course it would be possible to write some fairly complex VBA code that created a new slide for each line of the Excel data…
This article will shed light on the latest trends when it comes to your resume building needs. For far too long, the traditional CV format has monopolized the recruitment market.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

744 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now