Hi all,
I am working with a dataset that tracks employees' budgeted and actual hours and dollars, on a week by week basis. My issue is that all weekly columns have embedded newlines within the header. See below for an example.
| Employee Name | Budgeted Total Hours | Actual Hours + Forecasted | Variance | 1/1/2019 Actual | 1/7/2019 Actual | 1/14/2019 Actual | 1/21/2019 Forecasted | 1/28/2019 Forecasted |
| Bob | 100 | 125 | -25 | 25 | 25 | 25 | 25 | 25 |
| Susan | 125 | 125 | 0 | 25 | 25 | 25 | 25 | 25 |
I am trying to track employee hours by week, for ultimate comparison to another dataset that has similar information - however I can't find a way to remove the embedded newlines from those Weekly columns so that I can ultimate compare to true data formats. I've considered using a formula to strip out the words "Actual" or "Forecasted" - however can't do that because other fields in my file also contain those same words. Also, this the various weeks labeled as actual vs forecasted will change on a weekly basis, depending on when I will download an updated file - so anything that involves individual selection of these fields won't be too helpful.
I've also tried using a Transpose / RegEx to do this and replace the newlines with a space, which works, but I cannot then "untranspose" my file and get it back to my original format/layout for further scrubbing.
Any insight into this would be greatly appreciated! - Mike