Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
Solved

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

Posted on 2015-02-02
Medium Priority
132 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
Question by:jwarren305
[X]
###### Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points
• Learn & ask questions
10 Comments

LVL 11

Expert Comment

ID: 40584435
Hi

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

Author Comment

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

LVL 11

Expert Comment

ID: 40584500
why do you say it should be 13?

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

LVL 43

Expert Comment

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

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
0

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.
0

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.
0

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.
0

LVL 49

Expert Comment

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

Question has a verified solution.

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

Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design â€¦
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
###### Suggested Courses
Course of the Month8 days, 19 hours left to enroll

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

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