ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   #N/A Error on VLOOKUP (https://www.excelbanter.com/excel-worksheet-functions/168904-n-error-vlookup.html)

roxiemayfield

#N/A Error on VLOOKUP
 
I have this formula:

=VLOOKUP(A20,EmpInfo,2)

If A20 is Blank, I want the cell blank - instead I am getting #N/A

What am I doing wrong?

Luke M

#N/A Error on VLOOKUP
 
=IF(ISBLANK(A20),"",VLOOKUP(A20,EmpInfo,2))

--
Best Regards,

Luke M


"roxiemayfield" wrote:

I have this formula:

=VLOOKUP(A20,EmpInfo,2)

If A20 is Blank, I want the cell blank - instead I am getting #N/A

What am I doing wrong?


Peo Sjoblom

#N/A Error on VLOOKUP
 
=IF(ISNA(VLOOKUP(A20,EmpInfo,2)),"",VLOOKUP(A20,Em pInfo,2))

or probably

=IF(ISNA(VLOOKUP(A20,EmpInfo,2,0)),"",VLOOKUP(A20, EmpInfo,2,0))


--


Regards,


Peo Sjoblom





"Luke M" wrote in message
...
=IF(ISBLANK(A20),"",VLOOKUP(A20,EmpInfo,2))

--
Best Regards,

Luke M


"roxiemayfield" wrote:

I have this formula:

=VLOOKUP(A20,EmpInfo,2)

If A20 is Blank, I want the cell blank - instead I am getting #N/A

What am I doing wrong?




roxiemayfield

#N/A Error on VLOOKUP
 
Still giving me the #N/A

"Luke M" wrote:

=IF(ISBLANK(A20),"",VLOOKUP(A20,EmpInfo,2))

--
Best Regards,

Luke M


"roxiemayfield" wrote:

I have this formula:

=VLOOKUP(A20,EmpInfo,2)

If A20 is Blank, I want the cell blank - instead I am getting #N/A

What am I doing wrong?


roxiemayfield

#N/A Error on VLOOKUP
 
This one is giving me FALSE unless the cell is blank, then I am still getting
#N/A

"Peo Sjoblom" wrote:

=IF(ISNA(VLOOKUP(A20,EmpInfo,2)),"",VLOOKUP(A20,Em pInfo,2))

or probably

=IF(ISNA(VLOOKUP(A20,EmpInfo,2,0)),"",VLOOKUP(A20, EmpInfo,2,0))


--


Regards,


Peo Sjoblom





"Luke M" wrote in message
...
=IF(ISBLANK(A20),"",VLOOKUP(A20,EmpInfo,2))

--
Best Regards,

Luke M


"roxiemayfield" wrote:

I have this formula:

=VLOOKUP(A20,EmpInfo,2)

If A20 is Blank, I want the cell blank - instead I am getting #N/A

What am I doing wrong?





Pete_UK

#N/A Error on VLOOKUP
 
Try it this way:

=IF(A20="","",VLOOKUP(A20,EmpInfo,2))

then copy down if required. Ensure that A20 and other cells below it
are blank, and not containing spaces.

Hope this helps.

Pete

On Dec 7, 8:15 pm, roxiemayfield
wrote:
Still giving me the #N/A



"Luke M" wrote:
=IF(ISBLANK(A20),"",VLOOKUP(A20,EmpInfo,2))


--
Best Regards,


Luke M


"roxiemayfield" wrote:


I have this formula:


=VLOOKUP(A20,EmpInfo,2)


If A20 is Blank, I want the cell blank - instead I am getting #N/A


What am I doing wrong?- Hide quoted text -


- Show quoted text -



roxiemayfield

#N/A Error on VLOOKUP
 
Thank you! I think that will work.

"Pete_UK" wrote:

Try it this way:

=IF(A20="","",VLOOKUP(A20,EmpInfo,2))

then copy down if required. Ensure that A20 and other cells below it
are blank, and not containing spaces.

Hope this helps.

Pete

On Dec 7, 8:15 pm, roxiemayfield
wrote:
Still giving me the #N/A



"Luke M" wrote:
=IF(ISBLANK(A20),"",VLOOKUP(A20,EmpInfo,2))


--
Best Regards,


Luke M


"roxiemayfield" wrote:


I have this formula:


=VLOOKUP(A20,EmpInfo,2)


If A20 is Blank, I want the cell blank - instead I am getting #N/A


What am I doing wrong?- Hide quoted text -


- Show quoted text -




Pete_UK

#N/A Error on VLOOKUP
 
Glad to hear it - thanks for feeding back.

Pete

On Dec 7, 8:50 pm, roxiemayfield
wrote:
Thank you! I think that will work.



"Pete_UK" wrote:
Try it this way:


=IF(A20="","",VLOOKUP(A20,EmpInfo,2))


then copy down if required. Ensure that A20 and other cells below it
are blank, and not containing spaces.


Hope this helps.


Pete


On Dec 7, 8:15 pm, roxiemayfield
wrote:
Still giving me the #N/A


"Luke M" wrote:
=IF(ISBLANK(A20),"",VLOOKUP(A20,EmpInfo,2))


--
Best Regards,


Luke M


"roxiemayfield" wrote:


I have this formula:


=VLOOKUP(A20,EmpInfo,2)


If A20 is Blank, I want the cell blank - instead I am getting #N/A


What am I doing wrong?- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -




All times are GMT +1. The time now is 08:17 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com