+ Reply to Thread
Results 1 to 10 of 10

Excel isnumber search string

  1. #1
    Registered User
    Join Date
    11-13-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2003
    Posts
    6

    Excel isnumber search string

    Hi I have a bank statement which has come from online banking and i'm trying to categorize everything. For example i have fuel from a number of different suppliers on my statement but i want the category to be fuel. So i have an if statement to look up the string but this has to be done in seperate columns, i want it to search based on a table of a number of different possible strings and apply a category. Can anyone help?

  2. #2
    Forum Contributor aganesan99's Avatar
    Join Date
    04-26-2013
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    129

    Re: Excel isnumber search string

    Hi Mikeburbs,

    Can you post a sample pic or file, so that it would be easy to help

    Thanks,
    aganesan99

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,890

    Re: Excel isnumber search string

    On a separate sheet, create a table with two columns listing the vendor and category
    On your primary sheet use vlookup in your category cell to determine the category from the table based upon the vendor name.

    Look at this link on vlookup

    http://www.techonthenet.com/excel/formulas/vlookup.php
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Registered User
    Join Date
    11-13-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Excel isnumber search string

    sounds good - i'll give it a go and let you know - thanks!

  5. #5
    Registered User
    Join Date
    11-13-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Excel isnumber search string

    I couldn't work the VLOOKUP

    This is an example of what i am trying to do
    Attached Files Attached Files

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,890

    Re: Excel isnumber search string

    See attached.
    Notes: Case must be the same. Cannot have leading or trailing spaces.

    The matches need to be exact.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    11-13-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Excel isnumber search string

    Thanks for this, but it's not quite what i was after, I want it to search the certain string within the cell, so for example instead of having to put in each type of 'Esso' entry eg 'Esso Sheffield', 'Esso London' i want it to search on Esso. Is this possible?
    Thanks

  8. #8
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,890

    Re: Excel isnumber search string

    This is referred to as a fuzzy search. I don't know of any way to do it with a vlookup. I am giving you a link to fuzzy searches. You may be able to adapt something from this. I personally have not had a need for this and have not done any work in fuzzy searches. It will require some VBA but should be all laid out for you in this link.

    http://www.mrexcel.com/forum/excel-q...planation.html

  9. #9
    Registered User
    Join Date
    11-13-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Excel isnumber search string

    Many thanks. I will look that up.

  10. #10
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Excel isnumber search string

    =SUMPRODUCT(SUMIF(B2:B18,"*"&L3:L5&"*",C2:C18)) would sum for all keywords in range l3:l5
    Attached Files Attached Files
    Last edited by martindwilson; 11-18-2013 at 04:53 AM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ 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] =IF(ISNUMBER(SEARCH Problem
    By 3smees23 in forum Excel General
    Replies: 3
    Last Post: 11-09-2012, 10:54 AM
  2. Nesting - IF, AND, SEARCH, ISNUMBER, do i need them all - if so, how?
    By galvinpaddy in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-24-2012, 09:30 AM
  3. If, or, isnumber, search
    By reb2u in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-15-2012, 10:53 AM
  4. Isnumber(search
    By AVIDDA in forum Excel General
    Replies: 1
    Last Post: 01-14-2011, 02:45 PM
  5. If(isnumber(search question
    By Wskip49 in forum Excel General
    Replies: 2
    Last Post: 12-02-2009, 02:14 PM

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