Showing a record if it has a certain label

NJS1982

Board Regular
Joined
Sep 24, 2009
Messages
185
Office Version
  1. 365
Platform
  1. Windows
Hi all, I have a sheet with a list of URNs (Unique Reference Numbers) on one worksheet. Each URN has a 'status'.
On another sheet entirely, I want to be able to lift the URNs with a set status of 'Completeness and Authenticity Checks'. If the status is anything else, I am not bothered.
Does anyone know what formula I should try and use? Assume it is a IF formula, perhaps with some sort of vlookup function?
Thanks!
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Post a sample spreadsheet with expected results, remove any sensitive data, create a mockup example if necessary.
You cant attach files on this forum. There are tools on this forum for adding small spreadsheet images

Attachments

Or upload the file to an online storage site and post a link to it, though some people may not download the file for fear of viruses.
 
Upvote 0
URNZZZYYYCurrent StateDDD# Days
2017005875ZZZYYYCompleteness and Authenticity ChecksDDD4
2017006424ZZZYYYCompleteness and Authenticity ChecksDDD6
2017005622ZZZYYYCompleteness and Authenticity ChecksDDD8
2017006580ZZZYYYCompleteness and Authenticity ChecksDDD10
2017005728ZZZYYYCompleteness and Authenticity ChecksDDD22
2017006937ZZZYYYCompleteness and Authenticity ChecksDDD35
2017006068ZZZYYYCompleteness and Authenticity ChecksDDD45
2017006871ZZZYYYCompleteness and Authenticity ChecksDDD67

<tbody>
</tbody>


URN (col A)Current State (Column B)
2017003323XX
2017004796XX
2017005306XX
2017005875Completeness and Authenticity Checks
2017006424Completeness and Authenticity Checks
2017001182XX
2017001120XX

<tbody>
</tbody>
 
Last edited:
Upvote 0
The good solution will depend on how you want to store the result. But if you are ok with just simple column, then it couldn't be easier: select the range you want your result then Control+Shift+Enter with

=IF(Sheet3!D5:D9="Completeness and Authenticity Checks",Sheet3!C5:C9,"")

adjusting bolded ranges.
 
Upvote 0
So, the first table is my working sheet and the second table is the OA sheet (where the data is coming from).
On the working sheet, I want the URN to be there IF it appears with a 'Current State' of 'Completeness and Authenticity Checks' in column B on my OA sheet. If it has 'xx', then I don't want it to appear on my working sheet.
 
Upvote 0
The good solution will depend on how you want to store the result. But if you are ok with just simple column, then it couldn't be easier: select the range you want your result then Control+Shift+Enter with

=IF(Sheet3!D5:D9="Completeness and Authenticity Checks",Sheet3!C5:C9,"")

adjusting bolded ranges.

Thank you. This half works...this is my formula:

=IF('OA'!$O$2:$O$2500="Completeness and Authenticity Checks",'OA'!$A$2:A2A2500,"")

is there a way of it not using a line if the state is not Completeness and Authenticity? At the minute, lines 2,3,4,5 are blank (as they are ' Submitted'), but lines 10 and 11 are populating (as their state is 'Completeness and Authenticity Checks), lines 12,13,14,15 are blank (their states are 'Submitted'), line 16 is populated (this one is 'Completeness and Authenticity Checks').... I want to really just show lines 10, 11 and 16, if that makes sense? So not have a load of blank lines?

Not sure it is possible without a Macro (and I am a novice at those!)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,221,526
Messages
6,160,340
Members
451,637
Latest member
hvp2262

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