excel-formula

Convert three letter country codes to full country names

瘦欲@ 提交于 2020-06-24 14:43:17
问题 I need to convert a few hundred three letter country codes (ISO 3166-1 alpha-3) to their full country name in MS EXCEL. I imagine this can be done with a VLOOKUP formula, does anyone have it handy? 回答1: OK, so this was pretty simple in the end. First I just created a list to be used in the vlookup array of the countries & codes in a new sheet: ABW Aruba AFG Afghanistan AGO Angola AIA Anguilla ALA Åland Islands ALB Albania AND Andorra ARE United Arab Emirates ARG Argentina ARM Armenia ASM

Convert three letter country codes to full country names

戏子无情 提交于 2020-06-24 14:43:13
问题 I need to convert a few hundred three letter country codes (ISO 3166-1 alpha-3) to their full country name in MS EXCEL. I imagine this can be done with a VLOOKUP formula, does anyone have it handy? 回答1: OK, so this was pretty simple in the end. First I just created a list to be used in the vlookup array of the countries & codes in a new sheet: ABW Aruba AFG Afghanistan AGO Angola AIA Anguilla ALA Åland Islands ALB Albania AND Andorra ARE United Arab Emirates ARG Argentina ARM Armenia ASM

How to lookup a value based on two columns (column values are not unique)

戏子无情 提交于 2020-06-23 08:31:55
问题 This is my data: File1 Name School Age Weight Jack St John 15 Jack St Mary 14 Jack St Michael 12 Mary St John 16 Mary St Mary 12 Mary St Michael 15 Raw data Name School Weight Jack St John 80 Jack St Mary 75 Jack St Michael 95 Mary St John 75 Mary St Mary 65 Mary St Michael 80 I want to fetch Weight values referring Raw data. I tried with MATCH and INDEX, however I kept on getting #VALUE! . Any ideas what to use to fetch these Weight values? 回答1: The conventional solution is to use a helper

How to lookup a value based on two columns (column values are not unique)

久未见 提交于 2020-06-23 08:31:48
问题 This is my data: File1 Name School Age Weight Jack St John 15 Jack St Mary 14 Jack St Michael 12 Mary St John 16 Mary St Mary 12 Mary St Michael 15 Raw data Name School Weight Jack St John 80 Jack St Mary 75 Jack St Michael 95 Mary St John 75 Mary St Mary 65 Mary St Michael 80 I want to fetch Weight values referring Raw data. I tried with MATCH and INDEX, however I kept on getting #VALUE! . Any ideas what to use to fetch these Weight values? 回答1: The conventional solution is to use a helper

Subtracting a comma separated string from another one in Excel [closed]

隐身守侯 提交于 2020-06-22 13:20:05
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 4 months ago . Improve this question How can I subtract a comma seperated string from another one in Excel? If A1: 1,2,3,4,5,6,7,8,9 And A2: 2,6,9 My desired result should be in cell A3, after subtraction (A1-A2): 1,3,4,5,7,8 It was very easy when A2=2,3,4 (serially) via SUBSTITUTE function,

How to remove #DIV/0 errors in excel

妖精的绣舞 提交于 2020-06-22 12:55:08
问题 I am trying to remove or replace the DIV error with blank and i have tried to use the ISERROR function but still does not work. This is what it looks like my data: COLA COLB COLC ROW1 $0 $0 #DIV/0 ROW2 #VALUE! so i get these kind of errors when i have something like above and i would like to replace with blanks. Here is my formula that does not work. thanks =IF((ISERROR(D13-C13)/C13),"",(D13-C13)/C13) 回答1: The suggestions are all valid. The reason why your original formula does not work is

How to find directional roots of a tree using Excel?

谁说我不能喝 提交于 2020-06-21 05:45:09
问题 I have the following question. Thank you for helping There is a tree with directional roots from bottom to top. How can find all connections (in pairs) by using Excel? For example, for column E-> for the child 12; 12-9, 12-6, 12-3 and 12-1, for the child 9; 9-6, 9-3 and 9-1, for the child 6; 6-3 and 6-1, for the child 3, 3-1 are the connections. What am I supposed to write to L2 and M2 to copy down? (it should not have blank or repeating connections) Thank you for helping. 回答1: Big Picture :

Need to replicate All rows in one tab by All rows in another tab in Excel

大城市里の小女人 提交于 2020-06-17 15:57:46
问题 Hello Excel Vlookup Experts, I am trying to get a VLOOKUP formula to do the following. Replicate the number of records from the "sample" tab for as many items there are in the "options" tab. I believe this would be some type of distributive action achieved in Excel although I suppose it could be done using coding. (A) Here is the initial "sample" data set. There are actually 41565 rows in the actual sample set but I have included the first 10 for illustration. (B) Here is the initial "options

How to perform sum of previous cells of same column in PowerBI

徘徊边缘 提交于 2020-06-13 06:12:47
问题 I am trying to replicate Excel formula to PowerBI.Which is Is There any DAX to perform this calculation((1-0.2)*B2+0.2*C2). Thanks. 回答1: There no inherent way to do relative row reference in DAX, so you need to explicitly tell it which row to reference. CalculatedColumn = VAR PrevDate = MAXX ( FILTER ( Table1, Table1[Date] < EARLIER ( Table1[Date] ) ), Table1[Date] ) VAR B = LOOKUPVALUE ( Table1[B], Table1[Date], PrevDate ) VAR C = LOOKUPVALUE ( Table1[C], Table1[Date], PrevDate ) RETURN ( 1

Excel - Count unique values that meets multiple criteria

◇◆丶佛笑我妖孽 提交于 2020-06-13 06:01:25
问题 I have 5 columns: Quarter, Item, Type, Count, Date I am trying to pull a UNIQUE count of date for each Quarter & Item combination ie. FY20Q3-AU has 2 different dates, FW20Q3-GLW has 1 unique date, FY20Q3-GLE also has only 1 unique date Does anyone have any idea how I can accomplish this? I have been trying for a few hours modifying formulas that I found online without success. If possible, I am trying to do this without an array formula (not sure if that is even possible) I have tried: {=SUM(