+ Reply to Thread
Results 1 to 8 of 8

combine multiple options IF(OR(ISNUMBER

  1. #1
    Registered User
    Join Date
    04-06-2022
    Location
    Barcelona
    MS-Off Ver
    2010
    Posts
    1

    combine multiple options IF(OR(ISNUMBER

    Hi,

    I have the A1 which is either a cable, an adapter, a mouse or a notebook. I'd like to get the category "accessory" if it's a cable/adapter or a mouse.
    I've tried the following formula but it doesn't work:

    =IF(OR(ISNUMBER(SEARCH("cable","adapter","mouse";a1)));"accessory";"")

    Any tip what the issue is? May be the separator settings?

    Thanks,
    Divi

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,385

    Re: combine multiple options IF(OR(ISNUMBER

    Try this:

    =IF(OR(A1="cable";A1="adapter";A1="mouse");"accessory";"")
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,741

    Re: combine multiple options IF(OR(ISNUMBER

    If there is other text in the cell another option
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Valued Forum Contributor
    Join Date
    07-23-2013
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    988

    Re: combine multiple options IF(OR(ISNUMBER

    If you've given us a complete description then it sounds like you just need:

    =IF(A1="notebook";"notebook";"accessory")

  5. #5
    Registered User
    Join Date
    02-19-2021
    Location
    Wicklow
    MS-Off Ver
    O365
    Posts
    54

    Re: combine multiple options IF(OR(ISNUMBER

    A bit cheeky to follow on from the OP but I have a different but similar question

    I have a time value in B2. If the time value in A2 changes, then B2 must also change. The value in B2 is 10:57. If 11:05 is manually inputted to A2, then B2 must change to 7:24. If A2 is left blank, then B2 should read 10:57
    I'm using B2=IF(ISNUMBER(SEARCH("11:05",A2)),C2,D2) where C2 is 7:24 and D2 is 10:57

    But it isn't working. All advice gratefully accepted!
    .

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: combine multiple options IF(OR(ISNUMBER

    smbyrnecarey... and against the rules, too. Please open your OWN thread, and read the yellow banner (top) and attach a suitable sample file, too.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  7. #7
    Registered User
    Join Date
    02-19-2021
    Location
    Wicklow
    MS-Off Ver
    O365
    Posts
    54

    Re: combine multiple options IF(OR(ISNUMBER

    Hi Glenn

    I just wanted to apologise - I can only plead ignorance. I have followed all your instructions and I will now, as a suitably contrite user, wait with bated breath.....

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: combine multiple options IF(OR(ISNUMBER

    No need to be contrite.... these things happen!!

+ 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] Combine two options
    By declan1983 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-31-2020, 01:15 PM
  2. Combine Isnumber search with index small
    By H2gcya in forum Excel General
    Replies: 2
    Last Post: 08-17-2020, 08:24 AM
  3. Combine VLOOKUP with OR Function with three options
    By kibbles in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-22-2020, 08:00 AM
  4. Combine Options for Single Argument
    By Dimonium_Anonimo in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-14-2018, 09:34 PM
  5. [SOLVED] Combine isnumber(search with choose functions
    By Jietoh in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-26-2016, 10:58 AM
  6. Replies: 0
    Last Post: 08-26-2014, 08:44 AM
  7. Combine IF THEN Function with ISNUMBER SEARCH?
    By alexa_raye in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-26-2014, 11:44 AM

Tags for this Thread

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