Need formula to look at two cells that are the same, and extrapolate data from another cell.

whovis

New Member
Joined
May 27, 2014
Messages
27
Office Version
  1. 365
Platform
  1. Windows
I am trying to find a formula that will look at identical data in once column (such as an accession number), then look at data in the same rows but in a different column, and pull that data out into another column, I am trying to identify the name of the phlebotomist. The first 4 rows are the same patient. The same phlebotomist drew all 4 tubes of blood, but one is "NUR". I need to know that in this example "NUR" is "BROWN, CHARLIE"

The data i look at is extremely large. Here is an example:

TestIDAccession #Phlebotomist
HIV12A917009168BROWN, CHARLIE
RPRA917009168BROWN, CHARLIE
REDXA917009168NUR
VENIPA917009168BROWN, CHARLIE
CTGCA917009169LEPEW, PEPPY
CXURNA917009210LEGHORN, FOGHORN
FLCD4A917009305FUDD, ELMER
RCA917009748DUCK, DAFFY
RENALA917010128PIG, PORKY
OSMOA917010129CAT, TOM
GRNXA917010129NUR
MGA917010159DISNEY, WALT
APTTA917010197MOUSE, MINNIE
BLUX2A917010197NUR
DGNAXA917010197NUR
VENIPA917010197DUCK, DAFFY
CBCBOA918001550BUNNY. BUGS
CBCWDA918001550BUNNY. BUGS
CMPA918001550BUNNY. BUGS
CRPA918001550BUNNY. BUGS
MGA918001550BUNNY. BUGS
PHOSA918001550BUNNY. BUGS
SFLGSA918001550BUNNY. BUGS
TRIGA918001550BUNNY. BUGS
GRNXA918001550NUR
VENIPA918001550DUCK, DAFFY

I can sort by accession number to lump them all together. I need to formula to look the accession number (A917009168 in the first four rows), use the data "NUR" in row 3, and return the name in either row 1,2 or 4 (since the all are under the same accession number.
I appreciate any help.
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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