worksheet-function

Is there way to find duplicate words?

╄→гoц情女王★ 提交于 2019-12-06 13:56:28
So I'm trying to find/make a program that will find all my duplicate words in excel. For example in A1 "someone" in A2 ""person" and ect but I'll have "someone" multiples times or another word and I need to condense that information together. But I need to do it in a way where I don't search manually to concatenate duplicates. So is there a way to find the duplicate words and concatenate them? I have also been looking into doing it using "FIND" to look for them but it has yielded no luck yet. I also have been using the "FILTER" but I don't know a way to condense the duplicates without doing it

remove duplicate value but keep rest of the row values

☆樱花仙子☆ 提交于 2019-12-06 05:38:23
问题 I have a excel sheet(csv) like this one: and I want the output(tab delimited) to be like this: Basically: replace duplicates with blanks but if col6 value is different from the previous row for the same col1 value, all the data fields should be included. I am struggling to create a formula which would do this. If I try to "Remove Duplicates" it removes the value and shifts the values up one row. I want it to remove the duplicates but not shift the values up. 回答1: Try this (note, you need a

calling excel worksheet function from excel cell

佐手、 提交于 2019-12-06 03:01:04
问题 I have a set of user defined vba functions that sit in an excel module, which are then called from an excel spreadsheet... everything has worked fine at this point. I've been asked to move the vba from the module to the worksheet's code page. When I did this, I've found I can't call any of the functions from cells on the worksheet... the names simply don't show as existing. Is there a way to call worksheet functions from an excel cell? Also, is there any problem calling a worksheet function

Pretty Print Excel Formulas?

可紊 提交于 2019-12-06 01:12:45
问题 Does anyone know of a (free) tool to pretty print Excel formulas? A Google search didn't turn anything up. I've got a few worksheets of semi-complex formulas to slog through, so this would make my life a bit easier. I'm just looking to turn something like this AC6+AD6+(IF(H6="Yes",1,IF(J6="Yes",1,0)))+IF(X6="Yes",1,0) into something more readable without manually doing it in Vim or the like. Excel does do color-matching on the parentheses, but it's still all mashed together on one line. 回答1:

How to create a spreadsheet with formulas using Rails?

拜拜、爱过 提交于 2019-12-06 00:58:06
I need some gem/plugin to create an Excel spreadsheet with formulas to use in my Rails application. Any suggestions? I've used Roo and it's quite good and easy to do spreadsheet processing (once you get all the gem dependencies installed). However, it doesn't support formulas natively. It won't eval the formula and return the result (this would be difficult I think -- use the excel engine?) but it will give you the text of the formula, for example: =SUM(.A1,.B1) It'd be pretty easy to handle this specific case but if you have many different formulas and functions then rolling your own

Excel date/time difference

自古美人都是妖i 提交于 2019-12-05 23:44:30
I would like to work out the current time since a date and time specified. If the specified data is : 19/01/2013 16:44:00 and now the time is : 19/01/2013 16:45:00 the difference is 0 years 0 months 0 days 0 hours 1 minute 0 seconds This can be done easily just by taking the current time and minus the previous time and format it but this is hard to crunch data so what I wish to do is break each date/time segment into its own cell Let's say cell A1 has the previous time and cell A2 has the current time Cells a5 trough f5 would contain 0 years 0 months 0 days 0 hours 1 minute 0 seconds On a

Array Constants in Excel

人走茶凉 提交于 2019-12-05 20:11:57
I have an array constant defined in cell A1 as {1,2,3}. This displays as "1" (the first value in the array). I would like to have the formula SUM(A1) return 6. However, SUM is using A1 as a single-celled array, rather than the array constant contained inside A1 - and therefore SUM(A1) returns 1. Likewise, I would expect AVERAGE(A1) returns 1 instead of 2. So simply speaking, how do I get SUM(A1) to return the same value as SUM({1,2,3})? I don't want to make the array constant a named reference because i'm defining a different array constant for every row. It feels like i'm stuck in C++ w/o a

How to import data from one sheet to another

天大地大妈咪最大 提交于 2019-12-05 16:25:38
I have two different work sheets in excel with the same headings in in all the row 1 cells(a1 = id, b1 = name, c1 = price). My question is, is there a way to import data(like the name) from 1 worksheet to the other where the "id" is the same in both worksheets. eg. sheet 1 sheet2 ID Name Price ID Name Price xyz Bag 20 abc 15 abc jacket 15 xyz 20 So is there a way to add the "Name" in sheet 1 the "Name" in sheet 2 where the "ID" in sheet 1 = "ID" in sheet 2? Without coping and pasting of course Thanks VLookup You can do it with a simple VLOOKUP formula. I've put the data in the same sheet, but

No max(x,y) function in Access

血红的双手。 提交于 2019-12-05 13:23:01
问题 VBA for Access lacks a simple Max(x,y) function to find the mathematical maximum of two or more values. I'm accustomed to having such a function already in the base API coming from other languages such as perl/php/ruby/python etc. I know it can be done: IIf(x > y, x,y) . Are there any other solutions available? 回答1: I'll interpret the question to read: How does one implement a function in Access that returns the Max/Min of an array of numbers? Here's the code I use (named "iMax" by analogy

Check the number of unique cells in a range

只谈情不闲聊 提交于 2019-12-05 02:54:32
问题 I have an excel sheet. Under column E, I have 425 cells with data. I want to check if the same data (i.e. text inside the cell) is repeated anywhere else in any of the remaining 424 cells under column E. How do I do this? For example, in E54 I have Hello Jack How would I check this value to see if it was in any other of these cells? 回答1: You could use =SUMPRODUCT(1/COUNTIF(E1:E425,E1:E425)) to count the number of unique cells in E1:425 An answer of 425 means all the values are unique. An