Home › Forums › Google Sheets & Forms › OR function using reference of text as part of a sentence
Tagged: Advanced, conditional functions, Formula, Google Sheets, OR function
- This topic has 3 replies, 3 voices, and was last updated 7 years, 3 months ago by Emma Riddell.
-
AuthorPosts
-
-
September 14, 2017 at 9:48 am #2825
Using the formula =(IF(RegExMatch(AS2,”Invalid”),”CHECK”,””)), which is fine when I only have one cell to check if contains required word. However now need to check multiple cells (AS2, AW2, BA2). OR function works when its just that one word, but is part of an merge sentence outcome.
Its probably simple, but…
Fiona
- This topic was modified 7 years, 3 months ago by Rob Clarke.
-
September 14, 2017 at 10:00 am #2829Rob ClarkeKeymaster
Hi Fiona,
I wonder if you can search according to a phrase using OR…? So to clarify your question, are you asking:
‘How do I use the OR function to search for a phrase (or series of words)?’
…is that right?
Rob
-
September 14, 2017 at 2:02 pm #2830
Correct – added Spreadsheet as a search word as a lot of the answers relate to DOC as its not reading OR in the appropriate manner. Still trying to work it out.
Fiona
-
September 23, 2017 at 10:29 am #2976
Hi Fiona (and Rob)
Have you built your own Regex expressions? I haven’t used them before, but have just spent the morning so far watching tutorials! I’m really intrigued and want to know what you use them for? I am seeing (possibly) how useful they would be for analysing open question parent/student voice surveys etc.
Sorry, I know this isn’t answering your question, but…
-
October 2, 2017 at 3:33 pm #3339
Hi Emma,
This is the only Regex expression I have built – very much trial and error and watching tutorials….
A colleague uses a mail merge spreadsheet to automatically produce and email letters. Unfortunately she doesn’t pick up when there is an error and the merge doesn’t work or send. I use this expression to locate the word INVALID in amongst all the automatic document merge status (ie: Document successfully merged; !!Error Sending Emails: Invalid email: <xxx Email>>; Manually run by [email protected]; Timestamp: Sep 20 2017 9:51 PM) , which results in the cell turning red and the work CHECK flash up.
Fiona
-
-
October 2, 2017 at 3:26 pm #3338
The cells are automatically filled in based on the type of merge document I am using. Merge letter 1 creates one set of columns, merge letter 2 creates a second set, Merge letter 3 a third set etc (Tho we are only using three types of letters). Trying to auto-combine data into previous cell so the check can be done on this.
Issue is that this needs to be bomb proof for a colleague to use it…
Fiona
-
October 2, 2017 at 3:48 pm #3341Rob ClarkeKeymaster
Hi Fiona,
Okay, so there may be a couple of ways to make it ‘bomb proof’ so others can use it. Have you seen how to protect ranges in a Sheet?
Here is a reference in case you’ve not considered this aspect…
-
-
AuthorPosts
- You must be logged in to reply to this topic.