I have a list of print titles and a list of eBook titles. I need to do a lookup ot bring across the ISBN of the print book over to the eBook list so I can compare them. I have already done the standard Trim and vlookup, and the "*"&A2&"*" lookup but there are still about 70 titles I need to find. For instance:
Table 1
A1 = BATMAN STORY BOOK 1
B1 = 9780199134979
Table 2
A1 = BATMAN:BOOK 1 STORY
B2 = 9780199135589
Is there a way I can just look up BATMAN from A1 Table 2 so that it returns B1 from Table 1 (the ISBN) in a new cell?
Is it possible to export Excel cell contents to Word fields in a protected Word document? For example...
What code would be needed to tell Excel to open up, copy and export the contents of A2 in the active sheet of a workbook to "Field 2" in a Word document named "Report 01" and then put the contents of B2 to "Field 2" etc?
Do both applications have to be opened up at the same time or is Excel able to open up Word on its own? Will the macro be able to....
1. Automatically open up the correct Word document?
2. Look ONLY in a certain folder for the "Report 01" Word document?
or
Bring up a "selection" box that allows you to select the document you wish Excel to export it's data to?
3. Close and save the Word Document without any user intervention?
I need to count how many times the word Test is in the range B4:H9 with
Range N2 = Test the formula below works if Test is only in the cell once.
=COUNTIF($B$4:$H$9,"*" & N2 & "*")
But I have data in cells like below, this is all in one cell, so how would I have it count all the times test is in the range when some cells have test 2 or more times in a single cell?
I want to be able to lookup if anywhere in a cell contains a word from a list of words, and then provides an output.
Column G: VAT payment HMRC payment Pay VAT
I have a table on the side that shows: Column Y Column Z VATHMRC HMRC HMRC
ie. If anything in column G matches one of the words in Column Y, then output the Column Z. I have use a Vlookup that works for the first two, as VAT is the first thing, but dont know how to make it work if the key word is in the middle of the cell.
I have a bunch of cells in column b that have products.
Column B Dell 24" lcd vaio sony laptop 8.0 mpxl kodak camera photoepsonprinter
Basically in Column A I want a formula that'll say.
If the word "dell" is somewhere in cell b1, then put the word "Dell" in cell a1. If the word "sony" is somewhere in cell b1, then put the word "sony" in cell a1.
And then so on and so forth down through column A. The brand names are potentially endless, so is there a easy way to on like a seperate sheet make a list of brand names and have it pull from there?
Originally I made a if function that said if the brand name was contained in the cell then output the brand name, but that caps at 7 for the amount of brands i can use....
I have an excel program that is supposed to count word instances in a word document. I can't seem to find the right declaration for a word document. For example to declare a workbook in excel its
Dim wb As Work Book
I've tried
Dim doc As Word.Document 'or Dim doc As Word.Application
as shown in some of the forum posts, but an error user-type not defined keeps displaying.
CHAIR EXCEPT WORLD STREET OUTSIDE PEOPLE WINDOW LETTER BOOK
In column B we have another list of words:
NIGHT DREAM EXPECT THOUGHT TEDIOUS OFFICE SETTER LIBRARY BEFORE OFFER
I need a formula in C1 which will check all the words from column B and find the ones which are anagrams of some of the words from column A, and then return those words next to them.
(Anagram is the word made up of another word's letters, without repeating or omitting any, for example anagram of SPARK is PARKS).
In the example above, we would have the words: EXCEPT next to EXPECT (in C3), OUTSIDE next to TEDIOUS (C5), and STREET next to SETTER (C7).
I am trying to bring this data into Excel (2007) but in a way so that:
"Animals" goes into column A.
"Mammals" and "Fish" go into column B (in their own cells, in different rows).
"Dogs" and "Cats" go into column C.
"Beagles" and "Pugs" go into column D...
and so on.
The idea is to have each line in a different row, but have the columns serve more or less the same function that the tab indents do when looking at it in Word. (I'm trying to create a "breadcrumbs" style list for each line item). I've tried using tabs as a delimiter for importing text into word, but it doesn't seem to recognize Word's tabs when applied through a numbered list.
I want to take a string which is a list of words and compile a list of the words listed and how many times each one is listed. For Example, for the string "word1, word2 word1, word3 word2"
I have a very large list of top scorers for a sports team MS Word. The name and number of goals are both on the same line. Is there any possible way I can past them into Excel, so as they are pasted into 2 separate columns?
I am trying to find the most occurances in one column of the same word (List of Suppliers) and return how many times that name cropped up, would like to use a single formula to do so and not have another column with numbers in it if possible.
If a specific word is entered in a cell I want a list to show in another cell. This is better explained in an example. In cell A2 I have a validation list of names, eg. Mary, Mary Birth, John, John Birth,. . .) In cell N2 I have another validation list of places , eg. Ireland, England, Wales, USA, Scotland, . . ) In A2 if a name with Birth is chosen then I only want them to be able to choose from Ireland or England.
I have a sheet where in one column, the word "high" will be repeated. I need to find these multiples and then list down in a seperate column the text relevant to each of those multiples (contained in an adjacent cell). I.e if A1 & A3 hold the text "high", take the corresponding values in b1 & B3 and list them in new column C (C1 & C2 continuing in sequential order). I have searched the forums but i can' t seem to find anything.
I need my macros to search for the word "Cancel" or "Cancelled" in columns "T" and "U". Once found, I need the macros to make that entire row an opaque shading.
There will be other wording in these cells that contain "Cancel" or "Cancelled". Is it possible for the macros to search in the sentence and find the words "Cancel" or "Cancelled"
1. I have a excel file with Japanese words in column A and their English equivalents in column B.
2. I am trying to create a Macro and assign it to a button. On pressing the button Macro should be able to:
3. open a form where I can enter location of a word file.
4. Macro should open the word file specified in (3).
5. Macro will pick up first Japanese word from excel file (Sheet 1 - A1)
6. Search for that word in Word file
7. Replace the Japanese words in Word file with their English equivalent from excel (B1)
8. Then it should search for second word (A2) and replace with its equivalent (B2) and so on till it reaches last filled cell in excel file column A.
After a lot of search I could find a code from net (Below), made a few changes, but it is not working.
======================================================== Private Sub OK_Click() ' Requires a reference to Microsoft Word xx.x Object Library Dim sFile As String
I am trying to write a sub for using vlookup. To enable the vlookup, I want to return a word in a cell to the cell in the next column. I use the InStr function, but it doesn't work. They all return as "Other".
Attached is the worksheet and here are the codes : Capture.JPG
I'm having issues with some coding to work in excel 2003, 2007 & 2010 which will ensure that if cell E3 is changed to anything except "pool_car", then cell D12 is changed to 0.00.
So if a user originally selects "pool_car" in E3 and then enters a figure in D12 (which they are allowed to do using data validation), if they then choose to change the car type in E3, that D12 is then cleared of the figure they entered for the "pool_car".
I'm already using a similar code to clear other cells if another changes but am uncertain of who to change this coding or write other coding to suit.
I have to loop through a range in A, and if the letter "C" or the number "9" appears in the cell anywhere (it won't be a whole cell value) then I need column B to show "C".
I know how to do a whole value loop, but I'm stumped on a 'find X anywhere' search.
I am in the middle of automating a process here at work, the program takes a word, "pencil" for example, from excel. It will then open up a word document with content already in it (premade template). The program will then find all instances of a string, "placepencilhere" for example, and will replace that instance with the string from excel.
Basically I want to be able to take a variable that has a stored string value from excel and use it to replace another variable in a word document.
I tried recording a replace (ctrl+f, replace tab) macro, copying the code, and inserting it into the excel vba code.. but I get a error message. Here is what I have:
As you can see, in D5, I have the charactor chain SRG-DC01-RA-xxxxxxx, and in D6 I have the charactor chain SRG-DC43-RA-xxxxx.
With the formula that I have entered, I would have thought that E5 would have generated "Lawnton". I don't want the formula to pick up the SRG, the RA, or the number, just the DCXX component.
This is what I have now: =IF(OR(ISNUMBER(SEARCH({"DC43","DC01"},D5))),"Erskine Park","Lawnton")
which has not changed a thing from: =IF(OR(ISNUMBER(SEARCH({"DC43"},D5))),"Erskine Park")