vlookup

How can I pull hashtags out of a text column?

喜夏-厌秋 提交于 2019-12-11 22:31:04
问题 I have an Excel sheet in which there is a "description" column. The values in this column often contain anywhere from 0-3 tags, all starting with the # symbol. Is there a way to pull all of these tags out in to columns? Perhaps just have 3 blank columns called hashtag 1, 2, 3 and pull them in to each column. It isn't even important that it remove them from the description column while pulling them out. Example of descriptions: "#0034 #lost client lost file" - pull out 0034 and lost "worker

See if any values in array exist in a column (excel)

喜你入骨 提交于 2019-12-11 20:14:06
问题 I have an array of 30 columns and 800 rows (Sheet 1), each cell has either text or is blank. I want to check if ANY values in this array (specificially row by row) exist in a column (Custody List Hedge): Example: Sheet 1: ASKF AQA6 ARO3 ASKD AQA5 ASKA ARMA ARNA ARMB ARBA ARMV ARN6 ARNS ARO6 AQFS ARQ4 ARMJ ARN4 ARNJ ARO4 ARBJ Custody List Hedge: MCH Fund Number BWTZ AEGF AEGH AEGJ AEGL AEGM AEGP I've tried count, match index, vlookups but nothing seems to really be working. I don't want to use

Is it possible to lookup for a value from another sheet in the same workbook?

久未见 提交于 2019-12-11 18:26:47
问题 I have a workbook with multiple spreadsheets. One of the sheets is called "Master Filtered" and the other is called "MTL OR TOR" I want to fill in the column K of the "Master filtered" sheet with a lookup value from the "MTL or TOR" sheet in the second column. I wrote this piece of code but it is not working. Sub MTL_OR_TOR() Dim AcctNb As String Dim result As String Worksheets("Master Filtered").Activate Dim lastrow As Long lastrow = Cells(Rows.Count, 1).End(xlUp).Row For G = 4 To lastrow

VLOOKUP Formula places Apostrophe in front of text and generates Run-time error '1004'

余生长醉 提交于 2019-12-11 15:53:18
问题 I am writing a macro which inserts some formulas into a column array. I am trying to automate a weekly process, so the input files are variable and are selected through the msoFileDiaglogFilePicker application. Dim wb_Final As Workbook, nameFinal As String Set wb_Final = Workbooks.Open(Filename:=Final_Directory) nameFinal = wb_Final.Name Dim wb_Summary As Workbook, nameSummary As String Set wb_Summary = Workbooks.Open(Filename:=Summary_Directory) nameSummary = wb_Summary.Name wb_Summary

Combining COUNTIFS with a VLOOKUP

空扰寡人 提交于 2019-12-11 15:35:13
问题 I have looked through other posts on here and cannot find the solution I need. I am currently using this formula: =COUNTIFS(Tracking!$F$3:$XA$3,$F1,Tracking!$F4:$XA4,"~*") This is counting all the * values that match to the reference "Attainment" (This is cell F1), but is relying on my 2 worksheets to have the people listed in exactly the same order. What I really want is the countif to calculate based on matching the person ID. I have 2 sheets that use a unique ID for each person. I want to

Make the VBA code go faster

混江龙づ霸主 提交于 2019-12-11 12:08:52
问题 How can i make my code go faster? It's go real slow when the Vlookup is active and i don't know how to make it go fast. It takes more than 2 minute and it's the same as doing manually. Sub Columns("I:I").Select Selection.Insert Shift:=xlToRight, CopyOrigin:=xlFormatFromLeftOrAbove Selection.Insert Shift:=xlToRight, CopyOrigin:=xlFormatFromLeftOrAbove Range("J1").Select ActiveCell.FormulaR1C1 = "KEY" Range("I1").Select ActiveCell.FormulaR1C1 = "CHECK" Range("J2").Select ActiveCell.FormulaR1C1

How to make Excel consider ONLY rows that have a given value

允我心安 提交于 2019-12-11 11:22:40
问题 Here is an image, followed by description of data Description of Columns: Column A (Key) is strictly increasing sequence of decimals Column B (Group) represents a group the value in A belongs to. Column C (Data) is assorted data Inputs (in column F) Exact Group number in i.e. {1, 2, 3, 4} in F4 A decimal value (unrestricted), call it DecimalValue , in F5 Task Find row that belongs to the given Group , where ABS( Key - DecimalValue ) value is minimized. Return Data from that row. Ideally

Excel: Lookup value in one table column and find the nearest value in another column that is sparsely populated

倾然丶 夕夏残阳落幕 提交于 2019-12-11 10:46:44
问题 I have a table of data such as below in Excel. I would love to know how to find the nearest value to the correct data. So a worked example I can do a VLOOKUP or INDEX MATCH for 6th Jan. However if I lookup for 8th Jan I will get 0, but I want to get the nearest value, or if easier I would like to get the last known previous value from the next column which is 103. For the 19th Jan I would like 92 etc. I can code this up in VBA but I would really like an Excel formula to do this and I can't

Using Index and Match in Excel VBA VLookup function

帅比萌擦擦* 提交于 2019-12-11 10:46:03
问题 I have an excel formula that I use often that does a VLookup . It has an embedded Index/Match that gives the last numeric value in the "M" Column. The Worksheet formula is this: =VLOOKUP(INDEX($M$10:$M75,MATCH(9.99999999999999E+307,$M$10:$M75)),Data,4) Cell $M75 being the cell of the row this formula is in. There are numeric, non-numeric and blank cells in Column M but the ID's that I want are always numeric. So I am trying to write a custom function that would let me simply write =current()

Multiple VLOOKUP or INDEX MATCH

ε祈祈猫儿з 提交于 2019-12-11 10:26:07
问题 I am trying to use INDEX MATCH to return a value based on multiple criteria. Someone has helped me get to a point but I cannot find a way to add additional criteria. The formula I am working from at the minute is: =IFERROR(INDEX(DATA!$H$2:$H$2000,SMALL(IF(DATA!$K$2:$K$2000="Yes",ROW(DATA!$A$2:$A$2000)-ROW(DATA!$A$2)+1,""),ROWS(DATA!$A$2:A2))),"") This returns a person's name from my list of data based on the answer to a criteria being "YES". I need to add two more criteria to return fewer