+ Reply to Thread
Results 1 to 4 of 4

combining or statements into one statement

  1. #1
    Registered User
    Join Date
    10-03-2015
    Location
    west coast is the best coast
    MS-Off Ver
    excel 2010
    Posts
    113

    combining or statements into one statement

    Is there a way to combine the or statements below?

    Please Login or Register  to view this content.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: combining or statements into one statement

    Hi,

    Not entirely sure what you mean. Those 'statements' are in fact a single statement, you've just wrapped them onto other rows. There's no reason why you couldn't remove the " _" line break editor symbol.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: combining or statements into one statement

    I wouldn't do like this though...
    1) Add following lines before the loop
    Please Login or Register  to view this content.
    then
    Please Login or Register  to view this content.
    or
    2) no case-sensitive...
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    10-03-2015
    Location
    west coast is the best coast
    MS-Off Ver
    excel 2010
    Posts
    113

    Re: combining or statements into one statement

    @ Mr Buttrey, I was just curiuos if there was a more effecient way to write the code instead of repeating the or's.

    @ Mr. Jindon. The looks a little more efficient but it will take me a bit to interpret it haha. I'll get back. Thanks!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Combining IF, OR, AND statements together
    By lindsgray in forum Excel General
    Replies: 3
    Last Post: 02-19-2015, 02:45 PM
  2. [SOLVED] Combining four IF statements
    By bellevue in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-03-2014, 12:51 PM
  3. [SOLVED] Combining IF Statements
    By RaydenUK in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 04-30-2014, 09:43 PM
  4. Combining two IF statements into one IF statement
    By jonvanwyk in forum Excel General
    Replies: 4
    Last Post: 03-06-2012, 12:58 PM
  5. Combining Or Statements (or If Any Statement)
    By Angrygerbil in forum Excel General
    Replies: 5
    Last Post: 02-22-2012, 08:34 PM
  6. VBA help combining if statements
    By jarretth17 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-20-2011, 04:36 PM
  7. Combining two IF statements
    By hekla149 in forum Excel General
    Replies: 6
    Last Post: 03-28-2011, 08:20 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1