?
Solved

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

Posted on 2011-09-06
2
Medium Priority
?
240 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:JP
ID: 36492121
Here you go. File is attached.
Copy-of-Combined-Inventory.xlsx
0
 
LVL 14

Accepted Solution

by:
JP earned 2000 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Microsoft's Excel has many features that most people will never need nor take advantage of.  Conditional formatting is one feature that you may find a necessity once you start using it.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…

588 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