chrono2483
Board Regular
- Joined
- Aug 23, 2014
- Messages
- 164
- Office Version
- 2016
Hello,
I have raw data being pasted. I need a formula to use to extract data from the raw data into another spreadsheet. There is no common heading in which I can reference. Also, the array/range will vary, as the pasted raw data can be shorter or longer. The last thing is that within the raw data, are multiple sections of the same data I need to reference:
[RANGE=cls:xl2bb-100][XR][XH=cs:6]Excel 2012[/XH][/XR][XR][XH][/XH][XH]A[/XH][XH]B[/XH][XH]C[/XH][XH]D[/XH][XH]E[/XH][/XR][XR][XH]1[/XH][XD=h:l|c:ff0000]Brad Smith[/XD][XD=c:ff0000][/XD][XD=h:r|bc:000000][/XD][XD=h:r][/XD][XD=h:r][/XD][/XR][XR][XH]2[/XH][XD=h:c|c:ff0000]Start Time[/XD][XD=h:c|c:ff0000][/XD][XD=h:r|bc:000000][/XD][XD=h:c|fw:b]Scheduled Start Time[/XD][XD=h:c|fw:b]End Time[/XD][/XR][XR][XH]3[/XH][XD=h:c|c:ff0000]From[/XD][XD=h:c|c:ff0000]To[/XD][XD=h:r|bc:000000][/XD][XD=h:c]???[/XD][XD=h:c]???[/XD][/XR][XR][XH]4[/XH][XD=h:c]10:30 AM[/XD][XD=h:c]12:30 PM[/XD][XD=h:r|bc:000000][/XD][XD=h:c]???[/XD][XD=h:c]???[/XD][/XR][XR][XH]5[/XH][XD=h:l|c:ff0000]Peter May-Locke[/XD][XD=c:ff0000][/XD][XD=h:r|bc:000000][/XD][XD=h:c]???[/XD][XD=h:c]???[/XD][/XR][XR][XH]6[/XH][XD=h:c|c:ff0000]Start Time[/XD][XD=h:c|c:ff0000][/XD][XD=h:r|bc:000000][/XD][XD=h:r][/XD][XD=h:r][/XD][/XR][XR][XH]7[/XH][XD=h:c|c:ff0000]From[/XD][XD=h:c|c:ff0000]To[/XD][XD=h:r|bc:000000][/XD][XD=h:c]I need the start from and to times to be
pulled from the data on the left into
the headings above.[/XD][XD=h:c][/XD][/XR][XR][XH]8[/XH][XD=h:c]--:--[/XD][XD=h:c]--:--[/XD][XD=h:r|bc:000000][/XD][XD=h:c][/XD][XD=h:c][/XD][/XR][XR][XH]9[/XH][XD=h:c]8:00 AM[/XD][XD=h:c]9:45 AM[/XD][XD=h:r|bc:000000][/XD][XD=h:r][/XD][XD=h:r][/XD][/XR][XR][XH]10[/XH][XD=h:l|c:ff0000]Regina Petrovik[/XD][XD=c:ff0000][/XD][XD=h:r|bc:000000][/XD][XD=h:r][/XD][XD=h:r][/XD][/XR][XR][XH]11[/XH][XD=h:c|c:ff0000]Start Time[/XD][XD=h:c|c:ff0000][/XD][XD=h:r|bc:000000][/XD][XD=h:r][/XD][XD=h:r][/XD][/XR][XR][XH]12[/XH][XD=h:c|c:ff0000]From[/XD][XD=h:c|c:ff0000]To[/XD][XD=h:r|bc:000000][/XD][XD=h:r][/XD][XD=h:r][/XD][/XR][XR][XH]13[/XH][XD=h:c]--:--[/XD][XD=h:c]--:--[/XD][XD=h:r|bc:000000][/XD][XD=h:r][/XD][XD=h:r][/XD][/XR][XR][XH]14[/XH][XD=h:c]8:15 AM[/XD][XD=h:c]10:00 AM[/XD][XD=h:r|bc:000000][/XD][XD=h:r][/XD][XD=h:r][/XD][/XR][XR][XH]15[/XH][XD=h:r][/XD][XD=h:r][/XD][XD=h:r|bc:000000][/XD][XD=h:r][/XD][XD=h:r][/XD][/XR][XR][XH=cs:6][RANGE][XR][XD]Sheet2[/XD][XH][/XH][/XR][/RANGE][/XH][/XR][/RANGE]
Can an index/match work for this, if the headings are not the same OR would a vlookup/hlookup work? What would the formula look like? I thought the following could work for a index/match but I'm stuck on the fact that I cannot match the name and the fact that I have to index/match in a range that could vary in size, as well the names will change:
=INDEX($A$1:$B$4,MATCH(????)
What would be the best formula to use?
I have raw data being pasted. I need a formula to use to extract data from the raw data into another spreadsheet. There is no common heading in which I can reference. Also, the array/range will vary, as the pasted raw data can be shorter or longer. The last thing is that within the raw data, are multiple sections of the same data I need to reference:
[RANGE=cls:xl2bb-100][XR][XH=cs:6]Excel 2012[/XH][/XR][XR][XH][/XH][XH]A[/XH][XH]B[/XH][XH]C[/XH][XH]D[/XH][XH]E[/XH][/XR][XR][XH]1[/XH][XD=h:l|c:ff0000]Brad Smith[/XD][XD=c:ff0000][/XD][XD=h:r|bc:000000][/XD][XD=h:r][/XD][XD=h:r][/XD][/XR][XR][XH]2[/XH][XD=h:c|c:ff0000]Start Time[/XD][XD=h:c|c:ff0000][/XD][XD=h:r|bc:000000][/XD][XD=h:c|fw:b]Scheduled Start Time[/XD][XD=h:c|fw:b]End Time[/XD][/XR][XR][XH]3[/XH][XD=h:c|c:ff0000]From[/XD][XD=h:c|c:ff0000]To[/XD][XD=h:r|bc:000000][/XD][XD=h:c]???[/XD][XD=h:c]???[/XD][/XR][XR][XH]4[/XH][XD=h:c]10:30 AM[/XD][XD=h:c]12:30 PM[/XD][XD=h:r|bc:000000][/XD][XD=h:c]???[/XD][XD=h:c]???[/XD][/XR][XR][XH]5[/XH][XD=h:l|c:ff0000]Peter May-Locke[/XD][XD=c:ff0000][/XD][XD=h:r|bc:000000][/XD][XD=h:c]???[/XD][XD=h:c]???[/XD][/XR][XR][XH]6[/XH][XD=h:c|c:ff0000]Start Time[/XD][XD=h:c|c:ff0000][/XD][XD=h:r|bc:000000][/XD][XD=h:r][/XD][XD=h:r][/XD][/XR][XR][XH]7[/XH][XD=h:c|c:ff0000]From[/XD][XD=h:c|c:ff0000]To[/XD][XD=h:r|bc:000000][/XD][XD=h:c]I need the start from and to times to be
pulled from the data on the left into
the headings above.[/XD][XD=h:c][/XD][/XR][XR][XH]8[/XH][XD=h:c]--:--[/XD][XD=h:c]--:--[/XD][XD=h:r|bc:000000][/XD][XD=h:c][/XD][XD=h:c][/XD][/XR][XR][XH]9[/XH][XD=h:c]8:00 AM[/XD][XD=h:c]9:45 AM[/XD][XD=h:r|bc:000000][/XD][XD=h:r][/XD][XD=h:r][/XD][/XR][XR][XH]10[/XH][XD=h:l|c:ff0000]Regina Petrovik[/XD][XD=c:ff0000][/XD][XD=h:r|bc:000000][/XD][XD=h:r][/XD][XD=h:r][/XD][/XR][XR][XH]11[/XH][XD=h:c|c:ff0000]Start Time[/XD][XD=h:c|c:ff0000][/XD][XD=h:r|bc:000000][/XD][XD=h:r][/XD][XD=h:r][/XD][/XR][XR][XH]12[/XH][XD=h:c|c:ff0000]From[/XD][XD=h:c|c:ff0000]To[/XD][XD=h:r|bc:000000][/XD][XD=h:r][/XD][XD=h:r][/XD][/XR][XR][XH]13[/XH][XD=h:c]--:--[/XD][XD=h:c]--:--[/XD][XD=h:r|bc:000000][/XD][XD=h:r][/XD][XD=h:r][/XD][/XR][XR][XH]14[/XH][XD=h:c]8:15 AM[/XD][XD=h:c]10:00 AM[/XD][XD=h:r|bc:000000][/XD][XD=h:r][/XD][XD=h:r][/XD][/XR][XR][XH]15[/XH][XD=h:r][/XD][XD=h:r][/XD][XD=h:r|bc:000000][/XD][XD=h:r][/XD][XD=h:r][/XD][/XR][XR][XH=cs:6][RANGE][XR][XD]Sheet2[/XD][XH][/XH][/XR][/RANGE][/XH][/XR][/RANGE]
Can an index/match work for this, if the headings are not the same OR would a vlookup/hlookup work? What would the formula look like? I thought the following could work for a index/match but I'm stuck on the fact that I cannot match the name and the fact that I have to index/match in a range that could vary in size, as well the names will change:
=INDEX($A$1:$B$4,MATCH(????)
What would be the best formula to use?