Automatically create a list of column contents based on criteria

danielstone121

New Member
Joined
Feb 14, 2013
Messages
45
Hey gurus!

I have a spreadsheet that lists dates in row 6, columns V through BE. We use these dates to log attendance for kids, so under each date there may be one of many symbols, such as "x" if the student was there. I would like to create a list of the dates that meet one of two criteria: either blank or containing "WR". So, let's say (all in row 7) that columns V and X are blank and Y has "WR" in it. In column FB I would like a list of all of the dates that were blank or WR, so I would want the dates contained in row 6 for V, X, and Y. Is there a function that will 1) look for a blank or WR across a row, 2) find the associated date for that blank in row 6, and 3) write the in another column in the form of a list, each date separated by commas?

I know that sounds really complicated. I just thought I would ask. Please let me know if you have any questions. Thanks!
 

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.
VWXYZAAABAC...FB
1/201/211/221/231/241/271/281/29List of Dates Absent
xxxWRxxx1/23, 1/24
WRxxxxx1/20, 1/21, 1/22
WRWRWR1/20, 1/21, 1/22, 1/23, 1/24, 1/27, 1/28, 1/29

<tbody>
</tbody>

Hey!
This is what I'm thinking. I am looking for a function of some kind to automatically fill in the dates that are blank (or that contain "WR"). So, column FB is the desired result, namely a list of all of the cells in that row (from columns V through BE) that are blank or contain "WR". Does that help?
 
Upvote 0

Forum statistics

Threads
1,215,054
Messages
6,122,895
Members
449,097
Latest member
dbomb1414

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