+ Reply to Thread
Results 1 to 16 of 16

Urgent help. Need vlookup forumla

  1. #1
    Registered User
    Join Date
    07-28-2018
    Location
    united states
    MS-Off Ver
    2016
    Posts
    6

    Urgent help. Need vlookup forumla

    I have 2 files. FileA contains the item names. FileB contains a list of keywords. I need a formula that I can use on FileA on the second column that will scan all the keywords listed in FileB and put "1" if it matches and 0 if it doesn't match. I really need help on this. I need it for work and its due tomorrow. Thank you everyone!

  2. #2
    Valued Forum Contributor jtakw's Avatar
    Join Date
    05-05-2018
    Location
    CA, USA
    MS-Off Ver
    2016
    Posts
    668

    Re: Urgent help. Need vlookup forumla

    Hi,

    Showing some samples from each sheet would help us better understand your request.

    Also, you might want to change your thread title to something more descriptive before a MOD comes along and put a Halt on this thread until you do.

  3. #3
    Registered User
    Join Date
    07-28-2018
    Location
    united states
    MS-Off Ver
    2016
    Posts
    6

    Re: Urgent help. Need vlookup forumla

    File A
    red hat
    black hat


    file B
    red hat is cool
    black hat
    blue hat

  4. #4
    Valued Forum Contributor jtakw's Avatar
    Join Date
    05-05-2018
    Location
    CA, USA
    MS-Off Ver
    2016
    Posts
    668

    Re: Urgent help. Need vlookup forumla

    Hi,

    You really should change the thread title.

    Would something like this work for you.

    Excel 2016 (Windows) 64 bit
    A
    B
    1
    red hat
    1
    2
    black hat
    1
    3
    purple hat
    0
    Sheet: Sheet17

    Excel 2016 (Windows) 64 bit
    B
    1
    =IF(COUNTIF(Sheet18!A1:A10,"*"&A1&"*"),1,0)
    Sheet: Sheet17

    Excel 2016 (Windows) 64 bit
    A
    1
    red hat is cool
    2
    black hat
    3
    blue hat
    4
    cool red hat
    Sheet: Sheet18

    Change adjust cell references/range as needed, change sheet names to match yours.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Urgent help. Need vlookup forumla

    formula123 welcome to the forum

    Please take a moment to read the forum rules and then amend your thread title to something descriptive of your problem - not what you think the answer might be. (think google search terms?). Once you have done this please send me a PM and I will remove this request. (Also, include a link to your thread - copy from the address bar)

    Many members search our previous posts, and thread titles play a big part of the search. I doubt anybody would do a search based on your title?

    To change a Title on your post, click EDIT POST then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (note: this change is not optional )
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  6. #6
    Registered User
    Join Date
    07-28-2018
    Location
    united states
    MS-Off Ver
    2016
    Posts
    6

    Re: Urgent help. Need vlookup forumla

    Hi thanks a lot but how come if I use on sheet 17 "red hat" and on sheet 18 "red" it will turn up as 0? can you make it so it will turn up as 1? Thanks!

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Urgent help. Need vlookup forumla

    Sorry to keep "picking on you, but...
    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

    Please make sure to include the full link, so that other members will be permitted to continue helping you

    Note that if you have fewer than 10 posts, you may need to type the link, or past it in pieces (or ask a mod to do that for you)

  8. #8
    Valued Forum Contributor jtakw's Avatar
    Join Date
    05-05-2018
    Location
    CA, USA
    MS-Off Ver
    2016
    Posts
    668

    Re: Urgent help. Need vlookup forumla

    Sorry, can't help further, MOD request pending.

  9. #9
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Urgent help. Need vlookup forumla

    @ FDibbins,

    Hello Ford,

    Wasn't feeling too well and decided to keep myself busy.

    Thank you for being so alert, I also found the same Thread posted here: https://www.mrexcel.com/forum/excel-questions/1064914-urgent-help-need-vlookup-forumla.html

    Under the circumstances, I shall withhold any further assistance.

    Take care,

    Kind regards.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  10. #10
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Urgent help. Need vlookup forumla

    Hi boet, hoe gaan dit?
    wat was fout?

  11. #11
    Valued Forum Contributor jtakw's Avatar
    Join Date
    05-05-2018
    Location
    CA, USA
    MS-Off Ver
    2016
    Posts
    668

    Re: Urgent help. Need vlookup forumla

    @Winon, I've reported the cross post at the link you posted, that's probably why Ford posted #7

    OP, got your PM, sorry, I'm not breaking rules and risking getting "banned", all you have to do is comply with the rules as suggested in Post #5 & #7

  12. #12
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Urgent help. Need vlookup forumla

    @ FDibbins,

    Hello Ford,

    Onstabiele angina, het my keel weer laat toe trek. Sukkel om asem te kry as ek probeer slaap.

    Medication helps my a bit over it after about three minutes.

    Feeling better already.

    Dankie Vriend!

  13. #13
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Urgent help. Need vlookup forumla

    @ jtakw,

    Welldone! Way to go, jtakw!

    Regards.

  14. #14
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Urgent help. Need vlookup forumla

    I guess that seeing as Winon has provided the link, jtakw, go for it

    @ Winon, you better hang in there, boet, I WILL have a castle (of klippies) with you next time I make it over (that is, if we are both allowed a dop LOL)

  15. #15
    Valued Forum Contributor jtakw's Avatar
    Join Date
    05-05-2018
    Location
    CA, USA
    MS-Off Ver
    2016
    Posts
    668

    Re: Urgent help. Need vlookup forumla

    Ok Ford,

    I actually already posted this solution at OPs cross post, but with your permission:

    Excel 2016 (Windows) 64 bit
    A
    B
    1
    red hat
    1
    2
    black hat
    1
    3
    purple hat
    0
    4
    pink hat
    1
    Sheet: Sheet17

    Excel 2016 (Windows) 64 bit
    B
    1
    =--OR(ISNUMBER(LOOKUP(2,1/SEARCH(A1,Sheet18!A$1:A$5))),ISNUMBER(LOOKUP(2,1/SEARCH(Sheet18!A$1:A$5,A1))))
    Sheet: Sheet17

    Excel 2016 (Windows) 64 bit
    A
    1
    red hat is cool
    2
    black hat
    3
    blue hat
    4
    cool red hat
    5
    pink
    Sheet: Sheet18

    Change/adjust cell references/range as needed, change sheet names to match yours.

  16. #16
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,423

    Re: Urgent help. Need vlookup forumla

    The OP ought to have been asked to change the thread title, too.

    Please take a moment to re-read forum rule #1 and then amend your thread title to something that better explains your problem. Changing your thread title is not optional, which means you must change it. Thanks!

    • Use concise, accurate thread titles.
    • Your post title should describe your problem, not your anticipated solution.
    • Use terms appropriate to a Google search - poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice tell us nothing.
    • Responding to a request to change your thread title by doing so is mandatory.

    To change a title go to your first post, click EDIT then Go Advanced and change your title.

    No help to be offered, please, until the OP complies with this request.
    Last edited by AliGW; 07-29-2018 at 03:46 AM.
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. Vlookup with If forumla
    By curness in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-12-2017, 06:23 AM
  2. Special Forumla Help - URGENT
    By pip_kay in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-31-2016, 09:02 AM
  3. Special Forumla Help - URGENT
    By pip_kay in forum Excel General
    Replies: 13
    Last Post: 05-30-2016, 11:37 PM
  4. [SOLVED] Vlookup forumla not functioning
    By HHR in forum Excel General
    Replies: 3
    Last Post: 10-30-2013, 12:34 PM
  5. [SOLVED] Vlookup Sumif Forumla
    By MROMAR in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-27-2012, 02:58 PM
  6. [SOLVED] Urgent Help Required! Double string macro to remove the 1st & last part of Forumla
    By Chrisbaberd in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 05-08-2012, 04:43 AM
  7. Forumla Help - VLookup?
    By m_789 in forum Excel General
    Replies: 5
    Last Post: 10-19-2011, 07:00 AM

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