Solved

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

Posted on 2015-02-02
10
119 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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 46

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

As freelancing is becoming more and more common in the tech industry, certain obstacles are proving to be a challenge to those who are used to more traditional, structured employment. This article is meant to help identify such obstacles and offer a…
Companies keep a much closer eye on costs today, so changing to new Technology – Microsoft Office 365 is the smartest move to take.
XMind Plus helps organize all details/aspects of any project from large to small in an orderly and concise manner. If you are working on a complex project, use this micro tutorial to show you how to make a basic flow chart. The software is free when…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

772 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