Lookup Formula With Wildcard: Force Excel To See * & ? As Characters
Sep 8, 2006
There might be an easy solution for this, but I can't seem to figure it out. I'm trying to do a vlookup with the lookup value being #CFDMSMCSA*4. But the lookup table also has a value #CFDMSMCSAM4 in it.
It keeps returning the value for this #CFDMSMCSAM4 because of the * in the first string. Any ideas.
View 9 Replies
ADVERTISEMENT
Jun 20, 2012
I maintain a control list of all properties held by the company. Each month I have to manually review all property-related transactions (see transaction description column) and input in column "Key 1" the property it relates to by reviewing the data in the transaction description and finding the property in the control list. Is there a way I can automate this process with a forumla?
some key points:
- the name in the control list can appear at any positiion in the transaction description
- various transactions relating to the same property will appear in the transaction description listing many times and key 1 will need to be completed against each entry
- if there is no match between the transaction descripton and the control list then the relevant cell in column "Key 1" should show as "Not Found"
Control List
Transaction Description
Key 1
Bligh
[Code].....
View 5 Replies
View Related
Jun 16, 2014
Using Excel 2007. I have a limit of 80 characters and spaces in a particular cell and I need to force those characters/spaces over 80 to the next cell. Is that possible?
View 11 Replies
View Related
Oct 22, 2007
I'm trying to create 2 separate data sets based on year (06 vs. 07). To do so, I created a column and created an if then statement that populates with Yes If the date value is "like" 2006". Excel didn't like the ? or asterik. Is there some other syntax that will accomplish.
While I open to other approaches for filtering these 2 data sets, Ive been wondering for awhile about excel and wildcard logic.
View 9 Replies
View Related
Feb 21, 2007
I am attempting to set a value in a cell based on the content of another two cells. I want it set the value to 35 or 38 only if the txtProgram.Text contains Math*. Unfortunately, it always changes it to the Math value based on txtGrade.Text. What mistake am I making?
Application.Goto Reference:="SEFirstPass"
If txtGrade.Text Like "K" Or txtGrade.Text Like "1" Or txtGrade.Text Like "2" Then
ActiveCell = "27"
ElseIf txtGrade.Text Like "3" Or txtGrade.Text Like "4" Or txtGrade.Text Like "5" Or txtGrade.Text Like "6" Then
ActiveCell = "30"
End If....................
View 4 Replies
View Related
May 17, 2014
get the name of the File in a Vlookup VBA using wildcard characters. I have to do a VLOOKUP from a specific file which is stored in the same folder as the file in which I need to get this VLOOKUP done, however the name can change anytime keep a word common only for this specific file...
Ex:
I have a File called "Mapping as on 8th May" from where i need to lookup some information for my file and I intend to do this using VLOOKUP in VBA in a Module but since the name can change to anything such as"Mapping as on 16th May" I cant use it in the VBA code, so is there a way around this where If I have this file stored in the same folder then I keep the word "Mapping" specific and unique for all other files in the same folder that the search can pull this file name to be further used in my lookup..
how to use the wildcards in VLOOKUP lookup range for the file name as the columns are going to remain the same...
View 13 Replies
View Related
Feb 2, 2010
Wildcard characters okay in countdiff and sumproduct? .......
View 9 Replies
View Related
Mar 17, 2014
This is my formula:
=DCOUNT(timeg15w!$A$1:$F$3909, "WPC",Criteria!A1:C2)
My question concentrates on this part of the formula:...Criteria!A1:C2
When I drag down the formula, it changes, as usually, adding 1 to the cells address, like this:
Criteria!A1:C2
Criteria!A2:C3
Criteria!A3:C4
BUT, I want the formula dragged down, adding 2 instead of 1, changing like this:
Criteria!A1:C2
Criteria!A3:C4
Criteria!A5:C6
How can I achieve this result?
View 2 Replies
View Related
Jul 10, 2012
I have a sheet with Names in it. I need to look those names up and find which org they belong to. The problem is the the names have many characters after them, and many names belong to a few orgs, with a the rest belonging to many orgs. (See below)
I have been trying to get a Vlookup to work, but since it can't go left, it won't look up the orgs that don't own at least three names. And I can't get the search to work on the names.
Names:
WSGHG1-8410YFH
WSSMXG-8401B8T
NBSMXG-0310V6R
NBXG-0310V6V
[code]....
View 4 Replies
View Related
Mar 27, 2014
I was wondering is there away where i can lookup A:A anything begging with Ves* ? and then i need to copy the formula down to pick up the next one in the list
im guessing something like =VLOOKUP(A:A,"Ves*") but i havent got a clue
View 1 Replies
View Related
Jan 16, 2008
We have a form that requires descriptive comments to be entered into several rows of merged cells. My goal is to have the form be able to automatically dropped down to the next row of merged cells when the current row of merged cells reaches a maximum number of characters.
And finally, the last row of merged cells would not allow any more characters than the maximum assigned but not advance to another cell automatically.
The rows I am working with specifically are:
Merged Cells F23:R23; A24:R24; A25:R25; A26:R26;...A29:R29
View 5 Replies
View Related
Aug 21, 2013
know if I can use a wildcard on R1C1 notation for my "lookup value" in my Vlookup, so that the Vlookup searches for a not exact match, but on the whole contents of the cell, not just the first several letters? I am using VBA, and the vlookup is in each cell of a for next loop, so I cannot use an actual cell reference which is where I've usually seen, and used wildcards. I've tried changing the Vlookup to have the lookup value be "Cells(n,2)" instead of "RC[-2]" to no avail. I need to make the vlookup evaluate all the words in cell "RC[-2]" prior to returning the value I specified, because otherwise it returns the wrong value even though I sorted my lookup table Column A A to Z.
Start Date
End Date
Event ID
"Trans-Pacific Melodies" : an East-meets-West concert presented by Carolina International Orchestra and the China National Orchestra
10/06/13
10/06/13
22297
[code]....
View 1 Replies
View Related
Dec 6, 2010
I am suffering with split a long descriptions into 3 cells with criteria 1st cell not more than 30 characters, 2nd cell not more than characters and 3rd cell will locate the remaining characters there. I think this is quite easy if I use LEN/MID/RIGHT/LEFT formula. However, I wish the formula will smart enough to split word by word. refer to example below:-
"My lecturer replied, that i really did very bad in final, nothing's gonna change my plan."
If I use left(A1,30) formula, the result is "My lecturer replied, that i re"however, the word "really" is cut half way. I am finding the formula that split description to not more than 30 characters and won't cut my string and become incomplete word. Expected result should be 1st cell "My lecturer replied, that i", then "really did very bad in final," at 2nd cell.
View 5 Replies
View Related
Jan 17, 2012
Is there an Excel formula to remove the spacebar + characters in red, as shown below? I need to be left with only the last name, first name and the semicolon.
Mouse, Mickey ;
Microsoft Outlook has changed the way that email addresses from the global addressbook copy and paste (from version 2003 to version 2010).
View 8 Replies
View Related
Nov 13, 2008
Is it possible to use the wildcard in an IF formula? For instance, I have a spreadsheet with text and numbers in the cells, the number of characters varies in the cells so a left, right or mid is out. I want the formula to look to the cell and if any part of the text contains "ABC" then I want to return 1. =IF(C18="*ABC*",1,"") Cell C18 containts the letters ABC in order but my formula is still returning blanks?
View 4 Replies
View Related
May 1, 2009
Hi I have this formula:
View 3 Replies
View Related
Jan 3, 2013
I have looked and looked for how to use a wildcard with SUMIF (SUMPRODUCT, etc) to sum all numbers that start with 40, but I can not find the solutions to what seems like an easy problem with excel 2003.
In Column A I have numbers In column b values
89394 1
356778784 2
3456 3
400012 4
41788 5
123456 6
4010 7
What I want is =SUMIF(A1:A7,40*,B1:B7) = 11
View 2 Replies
View Related
Feb 8, 2009
I'm trying to use a "WildCard" in an Array Formula to both simplify and handle variations in several formulas.
My work sheet is used for Time Cards. I have a tab for each of the 52 weeks in the year and each tab is labeled "W1", "W2" for Week 1, Week 2, etc.
On my SUMMARY tab, I'm using an array formula that looks at cell "'SUMMARY'!D6" for a project number, and than searches through all of the Week Tabs for anyone that has charged time against that project.
The employee would enter the project number in D12:D35 of a given weeks tab with each row representing a different task for that week. In some cases they may have several rows for the same project number.
On the SUMMARY tab, the formula for Week 1 is in cell E6. For Week 2 it's in F6, etc.
I was thinking I could simply place the sheet tab name in the row above (i.e. D5, E5, F5, etc., and then write the formula for 1 cell and copy it to all of the other cells on that row.
Currently my formula looks like:
{=IF($D$6="","",SUM(IF('W1'!$D$12:$D35=$D6,('W1'!$N$12:$N$35))))}
I was thinking the formula might look like:
{=IF($D$6="","",SUM(IF('&E5&'!$D$12:$D35=$D6,('&E5&'!$N$12:$N$35))))}
But that isn't working.
Additionally I was hoping to do something similar on the SUMMARY tab by referencing a different spreadsheet with something like:
='[&A1&]Sheet1'!$B$51
Where cell A1 has the value "Time Sheets - 01-17-09.xls"Currently the formula looks like:
='[Time Sheets - 01-17-09.xls]Sheet1'!$B$51
But this isn't working either.
View 10 Replies
View Related
Jan 15, 2008
I'm having a hard time getting a MATCH formula to return the correct results. See attached workbook. I have a list of names and wish to look for the first 6 characters of each name in another list and return the row number that the 'MATCH' appears in. The formula I am having problems with is in column 'E' of the ' Analysis' sheet. I have entered the expected result in column 'F'.
View 2 Replies
View Related
May 29, 2013
How this could be addressed.
Col. A = Article, Col.B = Part Number, Col.C = Location
I am currently using an index & match formula to create a search function. For example if I want to know what article number PLU547 has then I use
=INDEX(A3:A12,MATCH("*"&A19&"*",B3:B12,0))
This use of wildcard is fine until it comes to part number searches such as PLU54 (which is not in the list). In this instance the formula returns the first article number from the list that starts with PLU54. However, part number PLU54 is a code in its own right and I fear that using the wildcard approach needs a modification to limit the returns.
ARTICLE:
PART NUMBER
Location:
XCA123
PLU546
A1
[Code] ..........
View 2 Replies
View Related
Apr 30, 2009
i am having some difficulty modifing some existing code which is this: It will count all entries from G14 to G217 if *Ost* is in E14:E217
View 3 Replies
View Related
Jul 29, 2014
I have a formula in column J that is the following:
=IF(I541="",IF(ISNUMBER(SEARCH(LEFT(G541,4)&"*"&RIGHT(G541,4),H541)),G541,""),"")
See screenshot:
I need to replace "G542" in the formula above. For example, in cell J541 shown above, I need it to output "1996-1999|2000-2001" instead of "1996-2001" I need the output to include LEFT(G541,4)&"*"&RIGHT(G541,4)
View 2 Replies
View Related
May 6, 2014
I have a schedule that covers 3 shifts for the entire month. I have another sheet that is used for crew sign in that I want to auto populate with all the people on that shift for that day.
I need to be able to use 2 different cells on the sign in sheet for reference for the formula (one for the day, and the other for the shift. ex. Day 3rd, shift D). I'm wanting to use an array formula to accomplish this. I've uploaded a stripped schedule as this is for the military and can't have any data on it that pertains to what or who it's for.
BTW our current method is to due it manually for every shift for every day that wastes about 12-16 man hours every week. I have excel 2010 at work currently. Access is out of the question and Macro's/vba may or may not work as security is always being increased on our systems so either a single or multiple formula is the route I'm looking to do that will work the the next few years I hope.
View 6 Replies
View Related
Mar 27, 2008
I have some cells in a spreadsheet that contain unique numbers as the beginning of the cell (these numbers are always ten characters). In the rest of the cell there is text. the data would look something like this:-
SGGHNVT561 - 3yr Maintenance
I also have some cells which dont have the unique number at the begging, so the data would just look like:-
3yr Maintenance
In another table I have a list of the unique numbers and the name that they correspond to, for example (this is the 2 columns)
SGGHNVT561 - Dave
HUKIDO8946 - Stuart
HJUTIFHE78 - Graham
I have ben trying to construct a formula that only searches the beginning of the cells to see if it containts one of the unique numbers and if it does to put the name of the person beside the cell. If the unique number is not there to return a value like 'Check'.
i tried vlookup but then i ran out of ideas :/
this is what i came up with so far:-
=IF(P7="","",VLOOKUP(P7,'[Master List.xls]Sheet1'!$B$2:$C$5,2))
The only problem i can see that this is looking for the full cell to be within the master list - but its really just the first 10 characters I want it to check
View 5 Replies
View Related
Apr 28, 2014
I'm having a hard time making this maro work in Excel 2010.
I need it to filter out the items "AR", "BATCH", and the line of "Total:*" where the * is a total amount of any given number dependant on the day.
Below is the coding I have that Excel is not liking.
Sub FilterAccurateRawData()
'
' FilterAccurateRawData Macro
'
'
Rows("1:1").Select
Selection.AutoFilter
ActiveSheet.Range("$A$1:$AA$45415").AutoFilter Field:=1, Criteria1:=Array("<>AR", "<>BATCH", "<>Total:*")
Operator:=xlFilterValues
Sheets("Instructions").Select
Range("A9").Select
End Sub
View 3 Replies
View Related
Jul 17, 2013
I would like to develop a user-friendly Excel 2010 spreadsheet that would allow the user to enter from 1 to 10 (i just picked this number at random just to have an upper limit) employee numbers in cells A1-A10 and "click" on the VBA Code button that would invoke an Access Query and in the process return all the applicable data gathered from the query back into the Excel Spreadsheet. Believe it or not, I can do all this mentioned so far. BUT what i cant do is my second option for the user which is allow them to pull ALL of the employees back into the spreadsheet using the same query.
In summary, using Excel as a frontend dashboard, I know how to get a specific number of employees' information from a query and I know how to get all employees' information from a query but I dont know how to get either/or. In other words, I could do this with two queries and two "VBA-Code" buttons but I would like to do it with one query and one button.
View 1 Replies
View Related
Aug 26, 2009
I am trying to use an If statement and wanting to evaluate another formula.
The formula is as follows: =IF(B6>=7,Table!M16,Table!M47) where B6 =REPLACE(D24,1,3,"") which returns an integer. In this case it is 6.
Unfortunately it doesn't process the formula value correctly in the If statement unless the reference cell is hard coded with the integer. Is there a way to force the formula to evaluate the value of the cell formaula first before doing the If comparison?
View 4 Replies
View Related
Mar 22, 2012
I have this running and Section A is working but Section B is not. I basically want it so that if conditions a, b, and c occur, excel pops up with that messagebox.
Condition A: Cells(8, 3) changes via formula referencing an outside cell
Condition B: The new value of Cells(8,3) is a numeric value.
Condition C: The change in it's value is not more than a given threshold
change as defined in Cells(8, 13)
why the second section is not popping up with a msgbox when the value of Cells(8, 3) changes.
Public bbb as long
Sub Other()
bbb = Cells(8, 3)
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
Dim bb As Integer
Dim cc As Integer
[code]....
View 4 Replies
View Related
Mar 15, 2009
I have a text file I am importing and using text-to-colums.
Some of the text is "+TOL" "-TOL" and when excel converts to columns it is forcing the text to a formula "=+Tol" "=-Tol" giving me #NAME? in those cells.
I can format the cells as text, which is fine for now since I'm using VBA, but if I need to use any formulas then I'm SOL...
View 9 Replies
View Related
Jun 18, 2012
Excel 2010. I have a field that is color formatted based on the value of another field, which is calculated.
The conditional formatting does not refresh when the value is recalculated, but when I go away from the tab and come back, it works fine.
Any simple VB code to refresh the conditional formatting upon a workbook change?
View 1 Replies
View Related