Extracting string data to match search and find cell location

aussiebail

New Member
Joined
Jun 14, 2019
Messages
4
Thank you all for the great help this site has already been to me. I apologize upfront if I provide too much detail, but I do want you to be clear with my request.

Column E Column F
hQAAAABJRU5ErkJggg==


Summary: What I need to accomplish is to extract the string data from column F to see if it has a match. In this example there are 2 order numbers. A pickup "P", and a delivery "D". The "D"'s have a value that I need to reference in column O. The "P"'s have no value.

This is the formula that I currently have and I am close, but I need the formula to give the "P" cell the corresponding "D" row location, and then reference the location for column O to output the full O address. So the issue I see is that I am subtracting the wrong thing. I thought that I was subtracting the "p" cell, but it introduced an error, which now gives me a value of zero.

=IFERROR(ADDRESS(AGGREGATE(15,3,(SEARCH(MID(F341,1,13),F340:F344)*(ROW(F340:F345))-SEARCH("P",F340:F345)/(SEARCH("P",F340:F345))*(ROW(F340:F345))),1),15),"")
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

Forum statistics

Threads
1,223,896
Messages
6,175,263
Members
452,627
Latest member
KitkatToby

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