Usernameusername
New Member
- Joined
- Oct 5, 2016
- Messages
- 2
Hello,
I have looked hell over for a solution to my problem.
I have a matrix containing a column of text mixing dates and text. I want it so that my formula copies a cell to its left if it contains either monday, or tuesday, or any day of the week, and leaves the left cell blank otherwise. The source cell contains not only the day of the week but also the date (Tuesday January 5th.)
x | Monday blabla
x | Tuesday blabla
x | Wednesday blabla
x | Thursday blabla
x | Friday blabla
I thought of IF.OR. It allows me to enter multiple arguments for every day of the week. However, it seems look for the keyword exactly, rather than the keyword simply being contained along other text within the cell.
Looking for a solution, I found out about IF.ISERROR.LOOKUP. It looks like this (excuse my french):
=SI(ESTERREUR(CHERCHE("*lundi*";D4));"";D4)
This works to find the word within the cell and not the cell being exactly as the searched word. However, I need it to look for more than one word for every cell. All of the days of the week. Here is an example of one of my many attempts; I've made a ton of variants with it.
=SI(ESTERREUR(CHERCHE("*lundi*";"*mardi*";D4));"";D4)
I am at a loss and that's why I'm here. Thanks so much
M
P.S.: I downloaded Mr Excel HTML maker but the program doesn't even open when prompted, so please bear with my ugly little example.
I have looked hell over for a solution to my problem.
I have a matrix containing a column of text mixing dates and text. I want it so that my formula copies a cell to its left if it contains either monday, or tuesday, or any day of the week, and leaves the left cell blank otherwise. The source cell contains not only the day of the week but also the date (Tuesday January 5th.)
x | Monday blabla
x | Tuesday blabla
x | Wednesday blabla
x | Thursday blabla
x | Friday blabla
I thought of IF.OR. It allows me to enter multiple arguments for every day of the week. However, it seems look for the keyword exactly, rather than the keyword simply being contained along other text within the cell.
Looking for a solution, I found out about IF.ISERROR.LOOKUP. It looks like this (excuse my french):
=SI(ESTERREUR(CHERCHE("*lundi*";D4));"";D4)
This works to find the word within the cell and not the cell being exactly as the searched word. However, I need it to look for more than one word for every cell. All of the days of the week. Here is an example of one of my many attempts; I've made a ton of variants with it.
=SI(ESTERREUR(CHERCHE("*lundi*";"*mardi*";D4));"";D4)
I am at a loss and that's why I'm here. Thanks so much
M
P.S.: I downloaded Mr Excel HTML maker but the program doesn't even open when prompted, so please bear with my ugly little example.