formula other than vlookup

Dummy Excel

Well-known Member
Joined
Sep 21, 2005
Messages
1,004
Office Version
  1. 2019
  2. 2010
  3. 2007
Platform
  1. Windows
Hi All,
i have a few hundred rows of data for maintenance for trucks and the the unique data is the registration (rego) with its status
The rego could be in the column a few times as it might have a few maintenance issues. Once the maintenance issues have been fixed we change the status to "Completed"

I am currently using a vlookup to workout what is available and unavailable although the vlookup only finds the first match and displays the data. Problem i have is the first match could be "Completed" so i dont see the unavailable repairs.

Is there another formula to use apart from vlookup, or how can i change my formula to ignore the "Completed" matches?

Code:
=Iferror(vlookup(C2,Reverse!$B$1:AG2014,32,false),"Available")


Column C= rego
in reverse (lookup table), column B is the rego and column AG is the status


thanks in advance for your help
Sam
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Forum statistics

Threads
1,214,652
Messages
6,120,747
Members
448,989
Latest member
mariah3

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
Back
Top