We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!

Excel formulas help

I have a document which is a list of book titles, what I want is to extract from the titles a subject.

So if the title has, say history in the title of the book then it will put history into the subject box.

Titles are in A coloumn and the Subject is in B
The sign of a wasted life is a tidy house, Welcome to the chaos!

Comments

  • If you PM me an email address I have a spreadsheet that will do this for you

    Regards

    Mark
    Filiss
  • Mark, i don't need the spreadsheet, but i'd be interested to see the theory you've used, can you paste a pic showing the values of the cells?
  • It is a bit of VB code. I have a table which list the key words (e.g. History) then a seperate table that will in the case above lists the book titles.

    The code looks for the keyword listed in the first table and enters it in the second table.
    Filiss
  • timbim_2
    timbim_2 Posts: 1,292
    1,000 Posts Combo Breaker
    Forumite
    Try using vlookup, it won't be perfect but should do the job reasonably well.
    Ubuntu is an ancient African word, meaning: 'I can't configure Debian'.
  • ManAtHome
    ManAtHome Posts: 8,512
    Part of the Furniture Combo Breaker
    Forumite
    Wouldn't it be better to just search column A for a word?

    Just wondering what A Brief History of Time, The History of Mr Polly (first 2 'not really history' titles I could think of) would throw up in column B...
This discussion has been closed.
★ ★ ★ Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 355.7K Banking & Borrowing
  • 254.9K Reduce Debt & Boost Income
  • 456.1K Spending & Discounts
  • 248.3K Work, Benefits & Business
  • 605.9K Mortgages, Homes & Bills
  • 179K Life & Family
  • 263.7K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.2K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.