+ Reply to Thread
Results 1 to 4 of 4

If cell contains one of many values then get value excel formula

  1. #1
    Forum Contributor
    Join Date
    04-06-2016
    Location
    Singapore
    MS-Off Ver
    MS Office 365 & 2010
    Posts
    698

    If cell contains one of many values then get value excel formula

    Hi Friends,

    I have one formula issue. Please check below.

    IF "A1" VALUE AS = 1, 2, 3, A, E, 6, G

    LIST OF VALUES TO CHECK
    A
    B
    D
    F
    I
    G

    REQUIRE FORMULA IN B2

    SO, I WANT B2 = A, G (BECAUSE A1 HAVE "A" & "G" VALUES FROM LIST OF VALUES.)


    IF A1 VALUE AS = 1, 2, 3, A, E, 6
    HERE A1 HAVE ONLY ONE VALUE OF LIST OF VALUES THEN
    B2 = A


    Please send the required formula


    Thank you.

  2. #2
    Forum Contributor
    Join Date
    04-06-2016
    Location
    Singapore
    MS-Off Ver
    MS Office 365 & 2010
    Posts
    698

    Re: If cell contains one of many values then get value excel formula

    Please find the attachment for example.

    Thank you
    Attached Files Attached Files

  3. #3
    Valued Forum Contributor
    Join Date
    10-29-2012
    Location
    Mojokerto,Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    554

    Re: If cell contains one of many values then get value excel formula

    at B2
    =SUBSTITUTE(TRIM(SUBSTITUTE(IFERROR(MID(A2,FIND($H$2,A2),2),)&IFERROR(MID(A2,FIND($H$3,A2),2),)&IFERROR(MID(A2,FIND($H$4,A2),2),)&IFERROR(MID(A2,FIND($H$5,A2),2),)&IFERROR(MID(A2,FIND($H$6,A2),2),)&IFERROR(MID(A2,FIND($H$7,A2),2),)&IFERROR(MID(A2,FIND($H$8,A2),2),),","," "))," ",",")

    copy down

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: If cell contains one of many values then get value excel formula

    Since you have Office 365 try in cell B2 and fill down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

+ 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. Formula to extract unique values/distinct values in rows in excel
    By bjnockle in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-07-2020, 05:35 PM
  2. Replies: 11
    Last Post: 10-27-2016, 07:33 PM
  3. Replies: 9
    Last Post: 09-07-2016, 11:39 AM
  4. Replies: 1
    Last Post: 08-20-2016, 02:45 PM
  5. Replies: 3
    Last Post: 09-08-2014, 04:29 PM
  6. Replies: 3
    Last Post: 02-07-2012, 09:05 AM
  7. Replies: 2
    Last Post: 10-29-2009, 12:51 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