Can I receive one row per predecessor? - excel

This forum has been very helpful to understand the Rally Excel Add-in.
I am able to extract the Predecessors for a user story.
If there are more than one then they are all placed into one cell separated by a coma.
My syntax is :AcceptedDate,FormattedID,Predecessors.FormattedID
The results is;
2012-11-05T14:38:24.963Z US22938 US19926,
US27528,
US28467,
US29310
The Predecessors are all in one cell: US19926,US27528,US28467,US29310
Is there a way to receive each predecessor in it's own cell? Row?
Regards,
Jim

Unfortunately there's not a way to accomplish this using the Excel add-in. As a workaround, it would be possible to split these out into cells or rows using Excel parsing functions and/or VBA though.

Related

Excel - Generate list that displays cells that meet multiple forms of criteria

I've attempted to dig through this online but surprisingly I can't find any solution to what I'm trying to do within Excel in an attempt to automate a series of tasks.
I have a list/column within excel that contains both numbers and letters, similar to this:
OriginalList
5682se
5385ba
5682aw
4444ss
4444we
8888aa
I currently have a column directly next to it, which displays Yes/No properties if the cells meet the criteria.
=IF(COUNTIF(F5, "44*"),"yes","no")
But this will no longer work as I now have multiple criteria requirements, (Cells that BEGIN with: 44,88,56)
At this point, I would prefer to simply generate a new list the ONLY displays the items that meet ONE of the forms of criteria, instead of what I was doing in the past. Keep in mind, I'm having to avoid generic Excel filters and need this to be performed within a formula. VBA solutions are welcome as well. Example of what I'm trying to do at this point:
OriginalList NewList
5682se 5682se
5385ba 4444ss
5682aw 4444we
4444ss 8888aa
4444we
8888aa
I've managed to get a count formula to work properly, with the same criteria I'm looking for, I've tried adjusting this to create a new Column list, but to no avail:
=COUNTIF($D$2:$D$8000,"44*")+COUNTIF($D$2:$D$8000,"88*")+COUNTIF($D$2:$D$8000,"56")
Here is an alternative using Microsoft365:
Formula in B2:
=FILTER(A2:A7,MMULT(--(--LEFT(A2:A7,2)={44;88;56}),{1,1,1}))
Or maybe rather use MATCH():
=FILTER(A2:A7,ISNUMBER(MATCH(--LEFT(A2:A7,2),{44,56,88},0)))
I hope I didn't get lost in translation there with comma's and semi-colon.
If you have Excel365 then try-
=LET(x,A2:A7,FILTER(x,(LEFT(x,2)="44")+(LEFT(x,2)="56")+(LEFT(x,2)="88")))

Highlight Overlapping Dates based on Range with Unique Identifier (VBA)

First time asking a question and very new to VBA code. I'm trying to write VBA code to highlight when dates overlap across a range of cells based on a unique identifier. Here is an example of the code:
Basically i'm looking to compare the dates associated with the first unique identifier (1234 - which is three rows), highlight whether any dates are overlapping and then move to the next unique identifier (5678) and do the same.
Hope this is clear. Any help is appreciated.
CiarĂ¡n
welcome to SO!
You did forget to include the VBA you already wrote yourself, as that would help people here helping you (and this is not a free coding service platform ;)). Secondly, you could do that without VBA, just using the COUNTIFS formula and conditional formatting. For that solution, see e.g. this tutorial on COUNTIFS: https://exceljet.net/excel-functions/excel-countifs-function and this one on conditional formatting: https://exceljet.net/conditional-formatting-with-formulas

how to auto populate in excel written numbers

this is a very simple question, but I can not find a way arround it. I am working ona MATLAB project and I need to convert numbers from 1 to 1000 to the written form I.E(one, two, three, four...) since I do not know how to do this in MATLAB I was just going to autopopulate the numbers in MS Excel and import the data directly into MATLAB. My problem is I do not know neither how to autopulate numbers in their written form in Excel since it does not work as I would normally do. I.E :Typing one, two, three, four in separate cells; selcting the values and dragging until I hit 1000. Once I start dragging it just repeats the values over and over. I would appreciate if anyone could help me with this issue either in MATLAB or MS Excel. Thank you
To find the auto-populate lists in Excel, go to Options>Advanced>General>Edit Custom Lists
As you can see below, written form numbers are not included in these lists, which explains why they do not autofill when you drag down.
As pnuts alluded to in the comments, a good way around this in Excel would be to create a custom function that will generate a written form number for any numeral cell value. This has already been done by Microsoft support and is very easy to implement by pasting the code on this link into the Visual Basic Editor in your workbook. (credit to pnuts)
https://support.microsoft.com/en-us/help/213360/how-to-convert-a-numeric-value-into-english-words-in-excel
Once you've done that, you just put your numbers from MATLAB into column A, then paste this formula into B1 and drag down.
=SpellNumber(A1)

How to check if any cells in excel matches any other cell

I have several excel files with a single column with thousands of rows with a time in each cell. I'm using them further in another program, but there are some errors in them. In some of the files there are two or more times matching each other, which corrupts my further progress.
I need to see if any cell matches any other cell in the entire spreadsheet. I need to delete any duplicates.
Does anyone need how to do that? I found ways to check column by column, but that's not what i want.
Thanks for all your help!
Magnus
Norway
I think you should write some code to get all data from all of yours worksheet together and then clean your data. You can write a VBA script or use Power Query. Please give me some more detail so i will able to elaborate or give you the final solution.

Filter all unique items like Google Docs

Is there a quick/easy way to filter all unique items in an Excel 2013 column similar to the Google Docs "Unique" function?
This is not a pretty answer, but it works.
Paste this as an array formula into cell B2:
=LOOKUP(2, 1/((COUNTIF(B$1:B1, A:A)=0)*(A:A<>"")), A:A)
With the column that needs to be filtered in A:A
Then drag / copy it down as far as is required.
See it online in Google Spreadsheets
Caveats:
Does not retain original order (resulting order is in fact the reverse)
Does not automatically expand to cover all cells
Not fast, not pretty, not transparent
Footnotes:
It is trivial to use IFERROR() to filter out the #N/A errors, but I've not done this to keep the answer concise
In the same vein the header of the column A is currently also returned. This can be fixed by changing A:A to A$2:$25 in all 3 locations
Original question was for Excel 2013, all of this should work there, but I wrote and tested it in Excel 2016
I would love to hear suggestions on how to make the formula automatically expand down as far as required.
Use the Unique records only feature in Advanced Filter.
Under the DATA tab there is this: "Remove Duplicates". It'll do what you want.
There isn't an equivalent to =unique() in Excel, and I hate having to work without it.
Without =unique() trying to find all of the unique values in a large array of data is impossible. Take a dozen columns of a hundred+ entries and see what the unique values are across the whole mess and pop them nicely into a new columns. I can't figure out how to do it in Excel, but in Gdocs it's simple:
=unique(transpose(split(ArrayFormula(concatenate(A:M&",")),",")))
Using Filters, or PivotTables, or whatever, just doesn't cut it, and I haven't been able to find any hacked together ridiculous excel formula to do anything similar.
filter your data in spreadsheets
This might prove to be of some help to you.

Resources