VLOOKUP UP PROBLEM

Una_321

New Member
Joined
Nov 11, 2020
Messages
9
Office Version
  1. 2011
Platform
  1. MacOS
Hello!

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 your help!
 

Some videos you may like

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

Yongle

Well-known Member
Joined
Mar 11, 2015
Messages
6,977
Office Version
  1. 365
Platform
  1. Windows
The obvious way to solve the problem would be to add a "dummy" contract for each project when project is created
Then filter out the ones that are not required
 

Una_321

New Member
Joined
Nov 11, 2020
Messages
9
Office Version
  1. 2011
Platform
  1. MacOS
The obvious way to solve the problem would be to add a "dummy" contract for each project when project is created
Then filter out the ones that are not required
Thanks! I did essentially this.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,355
Messages
5,595,678
Members
414,009
Latest member
SNesbyCarr

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top