Please Help me. Searching for a certain text in a column, and entering yes/no in a certain cell

djbadabing1

New Member
Joined
Jun 24, 2014
Messages
6
Im am looking to create a schedule template where:
Row #1 has Monday - Sunday
Column A has a list of employee names

The employees work at certain stations 1-15 that will be placed under certain days of the week in their row.

I want a reference column to the right of this table that lists all stations in numerical order 1-15, and another column to the right of that column that has a header of "check". When station number 4 is entered in a column for monday, I want YES to appear in the check column next to station 4. And the same for all other stations. It will be a way for me to easily verify that all stations are scheduled for that day. I need to have a verification section for each day of the week. Im not great with formulas, I've tried IF, VLOOKUP, SEARCH, and I'm having no luck with my basic knowledge of excel. That is why I came here. I would appreciate any help with this formula, as I have too many hours wasted with no end result. Thank you for your time.
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Similar to this?

Excel 2010
ABCDEFGHIJKLMNOPQ
1MonTueWedThurFriSatSunstationMonTueWedThurFriSatSun
2john1361YES
3mark22YES
4phil843YES
5david54YES
6matt975YES
76YES
87YES
98YES
109YES
djbadabing1
 
Upvote 0
That is exactly what I am looking for. You brought a tear to my eyes! lol
Put this formula in cell K2...

=IF(COUNTIF(B:B,$J2),"YES","")

Then copy it across to cell Q2, then copy the range K2:Q2 down to the bottom of the list of stations you have in Column J.
 
Upvote 0
Put this formula in cell K2...

=IF(COUNTIF(B:B,$J2),"YES","")

Then copy it across to cell Q2, then copy the range K2:Q2 down to the bottom of the list of stations you have in Column J.




That worked perfectly! The only issue that I'm having, is that I put a time in the same box as their time to come in example: #12/9:00pm If i use #12 by itself, the formula works fine. but if I add anything else to that box, it rejects the formula. I will be using the number sign in front of the station if i can get it to just search for #XX? Let me know what you think. Thanks again for helping out. You guys are crazy good at this stuff.
 
Upvote 0
please provide small sample with expected result.
you can copy paste small sample directly into your reply.
 
Upvote 0
please provide small sample with expected result.
you can copy paste small sample directly into your reply.

[TABLE="width: 712"]
<colgroup><col><col span="4"><col><col span="2"><col><col><col span="7"></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AYLA[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]#DJ/10:00[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]#MALB[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]KEN[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]#MALB/8:30[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]#TIKI[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
And what would be in the cells of Columns B thru H... the number (or text) by itself or the number (or text) with the # sign in front of it?
 
Upvote 0
And what would be in the cells of Columns B thru H... the number (or text) by itself or the number (or text) with the # sign in front of it?


The example that I posted, is the text that would be in row "F". I gave an example for "friday" only, the other rows would look similar to row "F" (friday).
 
Upvote 0
The example that I posted, is the text that would be in row "F". I gave an example for "friday" only, the other rows would look similar to row "F" (friday).
Okay, I see (the posted layout was not all that clear to me). See if this formula in K2 copied across and down does what you want...

=IF(COUNTIF(B:B,$J2&"*"),"YES","")
 
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,988
Members
452,373
Latest member
TimReeks

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