excel-formula

Formatting numbers with prohibited characters

旧城冷巷雨未停 提交于 2021-02-11 13:25:49
问题 Formatting a value to display units adds clarity while retaining the numerical value in the cell. This can be done using: =TEXT(1000,"#,### kW") or via the formatting dialog: Format Cells > Number > Category Custom But some characters are not allowed by either method. How can this be done for units like "kWh" or "kWh/yr" without converting the value to a text type and thereby preventing the value from being used in a calculation? 回答1: Either enclose your string within quotes, or "escape" each

Formatting numbers with prohibited characters

被刻印的时光 ゝ 提交于 2021-02-11 13:25:16
问题 Formatting a value to display units adds clarity while retaining the numerical value in the cell. This can be done using: =TEXT(1000,"#,### kW") or via the formatting dialog: Format Cells > Number > Category Custom But some characters are not allowed by either method. How can this be done for units like "kWh" or "kWh/yr" without converting the value to a text type and thereby preventing the value from being used in a calculation? 回答1: Either enclose your string within quotes, or "escape" each

Sum up unique values in column per criteria in other column (if columns are filtered)

一曲冷凌霜 提交于 2021-02-11 13:22:46
问题 With reference to this quesion in Cell B1 I use the formula =SUM(INDEX(UNIQUE(A2:B9),,2)) in order to only sumup the unique values per product . All this works perfectly. Now, I set a filter in Column A and exclude for example Product_A and Product_C from the list: As you can see the 1.900 in Cell B1 remains. However, I only want to apply the formula in Cell B1 to the filtered data which means that - in this case - the value in Cell B1 should be 1.000 . Normally, I could achieve this with a

Sum up unique values in column per criteria in other column (if columns are filtered)

江枫思渺然 提交于 2021-02-11 13:22:28
问题 With reference to this quesion in Cell B1 I use the formula =SUM(INDEX(UNIQUE(A2:B9),,2)) in order to only sumup the unique values per product . All this works perfectly. Now, I set a filter in Column A and exclude for example Product_A and Product_C from the list: As you can see the 1.900 in Cell B1 remains. However, I only want to apply the formula in Cell B1 to the filtered data which means that - in this case - the value in Cell B1 should be 1.000 . Normally, I could achieve this with a

Formula for dependent Drop-down list from table data in Excel

♀尐吖头ヾ 提交于 2021-02-11 13:06:17
问题 Excel Noob here. I am trying to create a dropdown list based on a cell value. The data for the dropdown list is in a table called "Data". I want to populate a drop-down box with values based on a column (Status) in the data table. Status Column has 4 values: Open, Closed, Open-Future, Hold. When the Open Status is selected, I would like the dropdown to populate the ticket numbers associated with that status, but I am unable to achieve it. The drop-down is located in another tab, where the

Formula for dependent Drop-down list from table data in Excel

雨燕双飞 提交于 2021-02-11 13:04:43
问题 Excel Noob here. I am trying to create a dropdown list based on a cell value. The data for the dropdown list is in a table called "Data". I want to populate a drop-down box with values based on a column (Status) in the data table. Status Column has 4 values: Open, Closed, Open-Future, Hold. When the Open Status is selected, I would like the dropdown to populate the ticket numbers associated with that status, but I am unable to achieve it. The drop-down is located in another tab, where the

Formula for dependent Drop-down list from table data in Excel

纵然是瞬间 提交于 2021-02-11 13:03:34
问题 Excel Noob here. I am trying to create a dropdown list based on a cell value. The data for the dropdown list is in a table called "Data". I want to populate a drop-down box with values based on a column (Status) in the data table. Status Column has 4 values: Open, Closed, Open-Future, Hold. When the Open Status is selected, I would like the dropdown to populate the ticket numbers associated with that status, but I am unable to achieve it. The drop-down is located in another tab, where the

Excel Formula separate the left numeric values from the data

ぐ巨炮叔叔 提交于 2021-02-11 12:22:40
问题 I have some data in Col"K" where from i am just trying to get the left characters as i tried in Col"H" using formula. But what i used is Left function like =Function(cell,10) that is not the correct way characters can be more than 10 or less than 10. 1st formula should be dynamic to get the left numeric values. 2nd Formula should copy and paste the same numeric values until next value comes as available in Col"I" I tried to make it but what i can do is to create left function and do not know

DYNAMIC EXCEL REPORT - Make Excel Formula automatically add itself when new rows added

南楼画角 提交于 2021-02-11 12:13:03
问题 I have a table in Sheet1 that looks like this **Sport** Basketball Basketball Basketball Volleyball Volleyball Football Football Football Football Football Football Hockey Hockey Hockey I have a table in Sheet2 that looks like: SPORT Basketball Volleyball Football Hockey SCORE 3 2 6 3 I applied the following formula in B1: =TRANSPOSE(UNIQUE(FILTER(Sheet1!$A$2:$A$15,Sheet1!$A$2:$A$15<>""))) formula in B2: =COUNTIF(Sheet1!$A$2:$B$15,Sheet2!B1) However when the column in Sheet1 is updated. For

Get Large and Small for every group where a column value is equal and return a 3rd column value

房东的猫 提交于 2021-02-11 06:57:22
问题 I have a large set of data (approx. 500,000 rows) with water level information. There are 3 columns. A: the water level (i.e. 0.7) B: the date (i.e. 03/01/16) C: the time (i.e 6:06:00) I need to get the 2 largest and 2 smallest values from A for every day B and return A & C. So basically for all the rows where the date is equal find the largest and smaller tell me those values and give me the associated time. Here is a bit of data: 2.730 | 03/04/16 | 3:54:00 2.734 | 03/04/16 | 3:36:00 2.735 |