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

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
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.

MONTUESWEDTHURSFRISATSUNStationMonTuesWedThursFriSatSun
ALEXANDRIA#3B/8:30#1
ALISHA#BVIP/9:00#2
ANGELINA#MSTREET/6:30#3
BRAD#9/9:30#3B
BRANDON#11/9:30#4
CANDACE#BOCA/10:00#5
CHRISTOPHER#RUN1/6:30#7
CHRIS W.#DR/8:45#8
ERIK#2/8:30#9
GENAE#12/9:30#10
HEATHER#15/9:30#11
JENNI#1/8:30#12
JERRICA#DOOR/10:00#13
JOSH#7/7:30#15
KAREN#8/7:30#MALF
KAYLA#DJ/10:00#MALB
KEN#MALB/8:30#TIKI

<colgroup><col><col span="4"><col><col span="2"><col><col><col span="7"></colgroup><tbody>
</tbody>
 
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,216,043
Messages
6,128,470
Members
449,455
Latest member
jesski

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