Solved

Excel - Vlookup? - How do I put contents into appropriate cells?

Posted on 2011-09-06
2
227 Views
Last Modified: 2012-05-12
Hi Experts,

I have attached my file as an example:  Combined-Inventory.xlsx

Inside of this file, there are two sheets.  The main sheet where I need my data to go (Combined) and another sheet which has data I need to reference.
Sheet 1
And the second sheet contains data like this:  
Sheet 2
I need to reference the PLU numbers to the amount we counted.  If someone could help me with the HAVO section, I could understand the formula enough where I could do our other areas (HALE, KAHO, PUHO, PUHE, Etc).

I think this requries a vlookup formula.... but I could be wrong.
0
Comment
Question by:activematx
[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
  • 2
2 Comments
 
LVL 14

Expert Comment

by:peetjh
ID: 36492121
Here you go. File is attached.
Copy-of-Combined-Inventory.xlsx
0
 
LVL 14

Accepted Solution

by:
peetjh earned 500 total points
ID: 36492166
This formula would remove the NA values and replace them with 0. Place it in F4 and copy down.

=IF(ISNA(VLOOKUP(B4,HAVO!A:B,2,FALSE))=TRUE,0,VLOOKUP(B4,HAVO!A:B,2,FALSE))
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

623 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