Return the Value of One Cell only if a Different Cell Contains a Key Word

nikSp910

New Member
Joined
Aug 8, 2019
Messages
2
Hello,
I'm trying to use a contains criteria to pull a time stamp to a new cell. I have tried everything I know. Below is what I'm working with. I'm trying to take the time stamp in the first column and put it in the last column but only if the middle column contains the word "Alerting".

So, start with this:
CallEventLogColumn1assigned userAlert time
8:38:07 ACD interaction assigned to SueMSueM
8:38:07 ACD - Alerting: SueMSueM
8:38:07 Sent to user SueMSueM

<colgroup><col><col><col><col></colgroup><tbody>
</tbody>


End with this:

<colgroup><col><col><col><col></colgroup><tbody></tbody>

CallEventLogColumn1assigned userAlert time
8:38:07 ACD interaction assigned to SueMSueM
8:38:07 ACD - Alerting: SueMSueM 8:38:07
8:38:07 Sent to user SueMSueM

<colgroup><col><col><col><col></colgroup><tbody>
</tbody>
****** id="cke_pastebin" style="position: absolute; top: 0px; width: 1px; height: 1px; overflow: hidden; left: -1000px;">
CallEventLogColumn1assigned userAlert time
8:38:07 ACD interaction assigned to SueMSueM
8:38:07 ACD - Alerting: SueMSueM
8:38:07 Sent to user SueMSueM

<colgroup><col><col><col><col></colgroup><tbody>
</tbody>
</body>
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Welcome to the forum!

Try:


Book1
ABCD
1CallEventLogColumn1assigned userAlert time
28:38:07ACD interaction assigned to SueMSueM 
38:38:07ACD - Alerting: SueMSueM8:38:07
48:38:07Sent to user SueMSueM
Sheet3
Cell Formulas
RangeFormula
D2=IF(ISNUMBER(SEARCH("alerting",B2)),A2,"")
 
Upvote 0

Forum statistics

Threads
1,215,093
Messages
6,123,068
Members
449,091
Latest member
remmuS24

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