Vlookup Error : DoubleConverter cannot convert from (null)

Hi all,

I am a beginner and I am currently doing the RPA developer foundation course. I am getting “DoubleConverter cannot convert from (null)” error while using Vlookup activity for consolidating two excel files as per the tutorial in the RPA developer foundation course.

I also tried changing the type of the variable inside the Vlookup activity from Double to Generic Value. Even though it solved the error in the Vlookup activity it gave me another error in a Write cell activity called " Object reference not set to an instance of an object."

Please help me solve this issue.
Thankyou.

1 Like

Hi @Gladin_Christy

The VLOOUP_Value variable is getting to be null. Please check the same.

Cheers!!

@Gladin_Christy

As per error the variable is empty…the variable is empty because in vlookup either it did not find the value or the cell you are extracting via lookup is empty

Cheers

Hi @Gladin_Christy

If possible, you can share the lookup scenario.

I will provide a xaml file.

Thanks :slight_smile:

I also have same problem when I try to practice the function course.

I follow the direction that adjust the variable from string to double system, but the message " Vlookup Error : DoubleConverter cannot convert from (null)" was occured.



Please help me to solve this problem.

Thank you.

In the practice session it wants you to start looking from CurrentRow.ByField(“Doc. Number”) while you’re starting to look from the CurrentRow.ByField(“Total Sales”)

That’s why it shows you the “empty” Value.

The same issue is with the first post, the Excel file provided in course has a column header Doc. Number, not Document Number.

Before passing the data into the VLookup activity, use an If condition to check if the value is null or empty:

If String.IsNullOrEmpty(yourDataVariable) Then
’ Handle the case where data is null or empty
Else
’ Proceed with VLookup
End I

Did you got any resolution