Find text and return the cell to the right in the same row

bnbrilhart

New Member
Joined
Jun 12, 2015
Messages
3
I am working on a spreadsheet looking a different timestamp data.
For each record there are multiple and varying locations that the timestamps can originate and end. Some go A to B and some B to A but there are like 50 possibilities.
EX:
name loc 1 time 1 loc 2 time 2 loc 3 time 3
Joe A 12:00 B 1:00 C 1:20
Bob B 3:00 F 3:15 C 4:00
Sue A 5:00 B 9:00 G 9:15


I am trying to figure out a way to add another column next to this table to only depict what time they were in location B.

Thank you for any help!
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
This worked for me:
=INDEX(B2:G2, 1,MATCH("B", B2:G2, 0)+1)

where my data table is in columns A:G with name in A, loc1 in B, time1 in C and so on...
 
Upvote 0

Forum statistics

Threads
1,203,246
Messages
6,054,373
Members
444,720
Latest member
saathvik

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