Solved

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

Posted on 2011-09-06
2
215 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
  • 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

679 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