Issue with VLOOKUP

Copper Contributor

Hi,

 

I have 2 spreadsheets, in the first there is a list of projects with associated IDs, in the second there is a list of contracts associated to the project IDs. There can only ever be one project line yet there can be several contract lines for one project.

 

I used VLOOKUP to include all info for all lines (both project and contract) into one spreadsheet in order to carry out data quality controls. This works well for cases where there are contracts associated to a project, however when there is no contract line associated to a project, the project line does not appear because the result of the vlookup is looking for project id from project level in the project id at contract level.

 

I assume VLOOKUP won't work in this case, can anyone suggest another formula or way around this?

 

Thanks in advance for any help on this!

1 Reply

@Una_321 I think you might be able to use IFERROR() function to catch that error and act accordingly but I also think you should be looking at using power query for this functionality.