+ Reply to Thread
Results 1 to 9 of 9

Excel formula to check if the exact value in Column XX exists anywhere in Column XXX

  1. #1
    Registered User
    Join Date
    09-24-2016
    Location
    Colombo
    MS-Off Ver
    Excel 2016 MSO (16.0.4266.1001) 64-bit
    Posts
    21

    Cool Excel formula to check if the exact value in Column XX exists anywhere in Column XXX

    If the category (highlighted in green) is found within the material description (highlighted in purple), then the value from the code column (highlighted in blue) should be transferred to the new code column(highlighted in yellow).

    I've attached a sample Excel file for clarification. I need to transfer the values from the blue column(code) to the yellow column(new code).
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by ThiliSuper; 11-08-2024 at 03:29 AM.

  2. #2
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365
    Posts
    3,179

    Re: Excel Formula Help!

    Hi
    which excel version do you use?

  3. #3
    Registered User
    Join Date
    09-24-2016
    Location
    Colombo
    MS-Off Ver
    Excel 2016 MSO (16.0.4266.1001) 64-bit
    Posts
    21

    Re: Excel Formula Help!

    Hi Limor,

    2016 version

  4. #4
    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,197

    Re: Excel Formula Help!

    Administrative Note:

    Better thread titles, please! Read our guidelines on the Forum Rules page. Thanks.

    Is your forum profile up-to-date and showing ONLY the oldest Excel PRODUCT that you need this to work for?

    Members will tailor the solutions they offer to the Office PRODUCT (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your product is for Mac, please also state this.

    The three most recent Excel products are Excel 2019, Excel 2021, Excel 2024 and MS365 - if you are using MS365, please give this name along with the version number in your profile (e.g. MS365 Version 2306). This is in the About Excel section further down the Account page.

    Thanks.
    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.

  5. #5
    Registered User
    Join Date
    09-24-2016
    Location
    Colombo
    MS-Off Ver
    Excel 2016 MSO (16.0.4266.1001) 64-bit
    Posts
    21

    Re: Excel formula to check if the exact value in Column XX exists anywhere in Column XXX

    =SUMPRODUCT(--ISNUMBER(SEARCH($E$2:$E$14,B2)))>0

    So far, I have found a formula, but it only returns true or false. I need a formula that transfers the value from column F

  6. #6
    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,197

    Re: Excel formula to check if the exact value in Column XX exists anywhere in Column XXX

    Before we go any further with this, please update your forum profile with your Excel version, as requested - Word is completely irrelevant. Thanks.

  7. #7
    Registered User
    Join Date
    09-24-2016
    Location
    Colombo
    MS-Off Ver
    Excel 2016 MSO (16.0.4266.1001) 64-bit
    Posts
    21

    Re: Excel formula to check if the exact value in Column XX exists anywhere in Column XXX

    Done. Pls check now.

  8. #8
    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,197

    Re: Excel formula to check if the exact value in Column XX exists anywhere in Column XXX

    Thank you.

    Please explain your expected results - I do not follow your attempted explantion with the arrows, so use words, please.

  9. #9
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365
    Posts
    3,179

    Re: Excel formula to check if the exact value in Column XX exists anywhere in Column XXX

    Hi,
    Try in C2 and drag down and to the left (when more than 1 result) :

    =IFERROR(LET(a,(ROW($E$1:$E$6)*((SEARCH($E$1:$E$6,$B2)>0))),INDEX($F$1:$F$6,AGGREGATE(15,6,a,COLUMNS($B:B)))),"no")
    Attached Files Attached Files

+ 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] Excel formula (Fill Cells) functionality not working with formula linked to another book.
    By grafixmac in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-26-2024, 04:04 PM
  2. [SOLVED] VBA, User-defined formula argument referring to cell value calculated by Excel formula
    By ARAGORN II in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-23-2017, 01:57 PM
  3. Excel formula bar to display the result of the formula , not the formula?
    By max_max in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-18-2016, 07:15 PM
  4. Replies: 10
    Last Post: 12-16-2015, 03:16 PM
  5. Macro: Applying formula to multiple cells in excel (formula editing)
    By city in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-27-2012, 06:41 AM
  6. Replies: 0
    Last Post: 03-19-2012, 07:32 PM
  7. Replies: 1
    Last Post: 03-04-2012, 12:03 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