smide
Board Regular
- Joined
- Dec 20, 2015
- Messages
- 162
- Office Version
- 2016
- Platform
- Windows
Hello.
I have a report in row1 Sheet2 (columns A-EQ).
I need to extract number of column(s) which contains strings/substrings: lines and shop. Column A = 1, Column B = 2 ...
Results should be placed only in column B in Sheet1 (starting from B3 cell).
Example.
Sheet 2
<tbody>
</tbody>
Sheet 1 (after macro run)
<tbody>
</tbody>
I have a report in row1 Sheet2 (columns A-EQ).
I need to extract number of column(s) which contains strings/substrings: lines and shop. Column A = 1, Column B = 2 ...
Results should be placed only in column B in Sheet1 (starting from B3 cell).
Example.
Sheet 2
A | B | C | D | E | F | G | H | I | |
1 | home | moneylines | pattern | shoping | search | lines | linesid | petshop | ..... |
<tbody>
</tbody>
Sheet 1 (after macro run)
A | B | |
1 | ||
2 | ||
3 | 2 | |
4 | 4 | |
5 | 6 | |
6 | 7 | |
7 | 8 | |
8 | .... |
<tbody>
</tbody>