Forum Discussion
CPSR13
Apr 28, 2020Copper Contributor
Grouped text conversion to columns in Excel
I have report data in notepad .txt format that is grouped by employee. I need to convert to columns in an Excel spreadsheet. There are 12477 lines...is there a way to do it without having to perform ...
- Apr 30, 2020Someone was able to use IF, sumifs formulas & pivot tables to convert the data for me. I appreciate your reply!
CPSR13
Apr 29, 2020Copper Contributor
It's an internal program and this forum doesn't allow for a txt upload
SergeiBaklan
Apr 29, 2020Diamond Contributor
IMHO, two main points to clarify
- logic of input file. Is it with fixed width columns or not. If so, how many characters in each column. If not, what the logic. What are flexible -why employee ID/name sometimes in first position, sometimes not, what are the options.
- logic of output. Are employees ID and name in first two columns and all few dozens of other ID:s in other columns or not. Shall they be separated on 4 groups (Pay, Deduct, etc) or not. If yes, when how.
- CPSR13Apr 29, 2020Copper ContributorAll data was in one column when converted or opened in Excel. All possible field identifiers needed to be in columns. Someone was able to use IF, sumifs formulas & pivot tables to convert the data for me. I appreciate your reply!
- SergeiBaklanApr 30, 2020Diamond Contributor
Thanks, but I'm asking not about how it looks if to open in Excel - how data are separated in text file, is that fixed number of characters for each column or what.