Formerly Best Training
© 2024 STL. All Rights Reserved.
All prices offered for business users and exclude VAT. E&OE
2nd Floor, CA House, 1 Northey Street, Limehouse Basin, London, E14 8BT. United Kingdom
Forum home » Delegate support and help forum » Microsoft Excel Training and help » Vlookups with If
Resolved · Urgent Priority · Version 2010
Luke has attended:
Excel Advanced course
How do you perform a V lookup which includes an If function such as the practise activity in unit 2.
Hello Luke,
Hope you enjoyed your Microsoft Excel Advanced course with Best STL.
Thank you for your question regarding using VLOOKUP and IF functions in the same formula.
The exercise activity in unit 2 uses an IF function to work with blank cells. If you enter a VLOOKUP function into a cell that refers to a blank cell then you will get an #N/A error. To remove the error all you have to do is add an IF statement which examines a cell to see if it is blank ("") then returns a blank value (""). At first the formula which produces the #N/A error would look like the following:
=VLOOKUP(A16,Product_list,3,FALSE)
After adding the IF function the formula would look like this:
=IF(A16="","",VLOOKUP(A16,Product_list,3,FALSE))
Give it a try!
I hope this resolves your question. If it has, please mark this question as resolved.
If you require further assistance, please reply to this post. Or perhaps you have another Microsoft Office question?
Have a great day.
Regards,
Rodney
Microsoft Office Specialist Trainer
|
Excel tip:Select only cell that contain text to lock formatFor selecting cells that only contain Text in Excel |
We'll call during UK business hours
Server loaded in 0.08 secs.