Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2011-09-06
2
Medium Priority
?
237 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

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.
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.
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…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

963 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