Solved

In Excel 2007, how should I change my formula so I don't get a #VALUE error?

Posted on 2016-11-27
3
39 Views
Last Modified: 2016-11-27
I have this formula now in O27:

=VLOOKUP(C12;Travbanor!B6:M100;13;"")

The value in column 13 (referred to in the formula) is a customized date value in the format YYYYMMDD (localized: ÅÅÅÅMMDD), which I however need to enter as, for example, "2016-11-27" whereupon Excel automatically converts it to "20161127" in O27.

But I get a #VALUE error for above VLOOKUP formula for some reason.
0
Comment
Question by:hermesalpha
  • 2
3 Comments
 
LVL 18

Accepted Solution

by:
Roy_Cox earned 500 total points
ID: 41903095
Try

=IFERROR(VLOOKUP(C12;Travbanor!B6:M100;13;""),"")
0
 

Author Closing Comment

by:hermesalpha
ID: 41903501
Thanks, now the #VALUE error disappeared.
0
 
LVL 18

Expert Comment

by:Roy_Cox
ID: 41903644
Pleased to help.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

772 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