Knockoutpie
Board Regular
- Joined
- Sep 10, 2018
- Messages
- 116
- Office Version
- 365
- Platform
- Windows
Hey everyone, long time browser, and i've been able to find many of my answers to questions on here. However i'm having one question stop me in my tracks.
How can i get IFERROR or something similar to return the value of the cell in column P
My vlookup is as follows
Range("M2").Select
ActiveCell.FormulaR1C1 = "=CONCATENATE(RC[-6],RC[-5],RC[-3])"
Or can be translated as
=VLOOKUP(M2,'[Common Report_Inv.xls]Common Report_Inv'!$K:$L,2,FALSE)
I'm trying to get it to when there is #N/A it will then return the value of the cell to the right (column P)
The result of the vlookup returns the value to M. But occasionally it will return an Error (#N/A) because no matching results are found. I would like it to return the value of two cells to the right in P.
Thanks for any help, i'm able to answer questions to clarify further
How can i get IFERROR or something similar to return the value of the cell in column P
My vlookup is as follows
Range("M2").Select
ActiveCell.FormulaR1C1 = "=CONCATENATE(RC[-6],RC[-5],RC[-3])"
Or can be translated as
=VLOOKUP(M2,'[Common Report_Inv.xls]Common Report_Inv'!$K:$L,2,FALSE)
I'm trying to get it to when there is #N/A it will then return the value of the cell to the right (column P)
The result of the vlookup returns the value to M. But occasionally it will return an Error (#N/A) because no matching results are found. I would like it to return the value of two cells to the right in P.
Thanks for any help, i'm able to answer questions to clarify further