excel-formula

Excel live data counter (DDE Server)

▼魔方 西西 提交于 2021-01-29 12:14:46
问题 I'm using DDE server to import live data on excel on two columns, the data changes every second. What im currently doing is i have live data on Cell A1 and live data on Cell B1 on Cell C1 i have the following formula =A1=B1 Which is suppose to be true, but sometimes the result is false (as cell A1 doesn't match cell B1) I want to calculate how many times "false" is the result in C1 My problem is its a live data and changes almost every second, and my result should be accumulated. Does anyone

IRR in poi return NaN but correct value in excel

久未见 提交于 2021-01-29 12:01:24
问题 When i calculate Irr value use apache/poi i get Double.NaN, but the same inputs in excel i got a negative value. So why they return different value? inputs here: irr(-1.0601017230994111E8,19150.63,44505.08,22997.34,33936.39,27265.92,2127.66,2108.63,886.53,2482.27,4305.12,3421.58,65644.12,1020.51,2659.57,3191.49,20284508.4,1881279.27,11675415.09,7557862.28,921090.46,622104.32,289267.36,183.41,886.53, 0.1) 回答1: For me it gives the #NUM! error in current apache poi 4.1.0 , not NaN . The problem

How to delete entire row when case sensitive duplicates are found in Excel (for 100k records or more)?

↘锁芯ラ 提交于 2021-01-29 10:30:56
问题 This is a follow up question from How to remove duplicates that are case SENSITIVE in Excel (for 100k records or more)? . Since his code procedure manipulates the data of column A only, I'd like to also delete the entire row of data if case-sensitive duplicate is found. Case sensitive meaning: Case1 case1 cASE1 Are all unique records. 回答1: You can use a Dictionary to check for binary uniqueness and variant arrays to speed things up. To use the dictionary you will need to include a reference

Same value against each cell from a single column?

自作多情 提交于 2021-01-29 09:52:07
问题 I have one column like below: Fruits: Apple Banana Mango Vegetables: Broccoli Tomato Potatoes I would like each value to have their parent name next to it in the cell like below: Apple Fruit Banana Fruit Mango Fruit Broccoli Vegetables Tomato Vegetables Potatoes Vegetables How can I achieve this? 回答1: As per my below screenshot put below formula to B1 cell. =IF(RIGHT(A2,1)=":",LEFT(A2,LEN(A2)-1),B1) Then put following formula to C1 cell =FILTER(A2:B9,RIGHT(A2:A9,1)<>":") 回答2: If your data is

Excel Formula to split columns where cells may contain multiple values into another column, where each cell only contains a single value

拥有回忆 提交于 2021-01-29 09:17:06
问题 I have a column in Excel that looks like the below: And what I want is a formula that can copy the column into the next column splitting each cell with multiple values so that each cell will only contain a single value. Similar to this: Thanks for your help! 回答1: Use Powerquery, Split by linefeed and into new rows =) Let's imagine this set of data: Select your data, A1:A7 in this example. Import this data into PowerQuery AKA Get&Transform (including headers). Under "Home" click, "Split Column

Excel Formula to split columns where cells may contain multiple values into another column, where each cell only contains a single value

ⅰ亾dé卋堺 提交于 2021-01-29 09:09:33
问题 I have a column in Excel that looks like the below: And what I want is a formula that can copy the column into the next column splitting each cell with multiple values so that each cell will only contain a single value. Similar to this: Thanks for your help! 回答1: Use Powerquery, Split by linefeed and into new rows =) Let's imagine this set of data: Select your data, A1:A7 in this example. Import this data into PowerQuery AKA Get&Transform (including headers). Under "Home" click, "Split Column

EPPlus Problem Creating List Validation from Table on another spreadsheet

蓝咒 提交于 2021-01-29 08:32:49
问题 I've created a table on one worksheet (list of state names) and named the table "tblStates". Then, on a second worksheet, there is a column for State where I want list validation for those cells, in which each cell has a dropdown offering the state names from the "tblStates" table. So for the State column in the 2nd worksheet, I created a table named "tblGeoStates" and added list validation to the column that references "=tblStates". (I referenced this article/video, although I don't have a

How to use an IF statement to pull cells only with >= XXXX

南楼画角 提交于 2021-01-29 08:32:29
问题 I'm trying to look at the number of users who are on screens larger than 1400. I have my Excel sheet, and tried doing an IF statement, but because of the "x" in the middle, it's not working properly and is instead just pulling all of the cells, even the ones with screen sizes less than 1400. I've attached my formula and data example for reference. I've also tried putting a space after the fourth integer to separate things that way, but that also goofs things up since there are some screen

How to set the last data row excel macro

孤者浪人 提交于 2021-01-29 08:06:58
问题 I'm trying to make a macro to help me in format some files, but each file has different number of rows (but always same number of columns). I defined the last range as 99999 because i don't know how to make the macro recognize the last row with some data and stop there. Someone can help? Thank you Rows("1:26").Select Selection.Cut Sheets.Add After:=ActiveSheet ActiveSheet.Paste Range("C16").Select Sheets("teste").Select Selection.Delete Shift:=xlUp Range("I3:N99999").Select Selection.Cut

Excel: formula to identify missing sku

99封情书 提交于 2021-01-29 07:01:08
问题 I have a list of 1500 sku. Currently we have an active inventory of 450 sku. I am looking for an excel formula that will identify when the sku inputed is not an active sku of the 450. I have tried various IF functions, but having a hard time breaking it down. I have tried this: =IF($B2=F1:F460, COUNTIF(PRODUCTION!$A$1:$AJ$45, $d2), "") The first part of the equation is where we input the inventory. F1:f460 is a list of all the active sku. The second part of the code is where it goes to look