CasualDabbler
New Member
- Joined
- Oct 29, 2018
- Messages
- 19
- Office Version
- 2016
- Platform
- Windows
Good Afternoon everyone
My data contains numbers and text.
I.e. 13 & ABC1001
Depending on where I get my data from:-
If anyone can advise & explain this it would be appreciated
My data contains numbers and text.
I.e. 13 & ABC1001
Depending on where I get my data from:-
- sometimes the lists are values, so numbers will be as number and text as text.
- sometimes the lists are text, so numbers will be as text and text as text. I.e. 13 may be listed as 0013
- Is there a "Catch all" method which can lookup irrespective of data type in the source or the lookup table
- If it helps, my text numbers are formatted as "0000", and could be any number from 0001 to 9999
If anyone can advise & explain this it would be appreciated
Book2 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | |||
3 | Example of data as text | Return Value | Example of data as values | Return Value | Values to what to lookup | |||||
4 | 0038 | A | 38 | A | 0042 | Should return B, when looking in either data set | ||||
5 | 0042 | B | 42 | B | 42 | Should return B, when looking in either data set | ||||
6 | 0043 | C | 43 | C | GAR1001 | Should return H, when looking in either data set | ||||
7 | 1091 | D | 1091 | D | ||||||
8 | 1092 | E | 1092 | E | ||||||
9 | 1093 | F | 1093 | F | ||||||
10 | ABC1001 | G | DLD1001 | G | ||||||
11 | DEF1001 | H | GAR1001 | H | ||||||
12 | HGI0005 | I | HAR0005 | I | ||||||
13 | HGI0042 | J | HGI0042 | J | ||||||
14 | HGI9992 | K | HAR9992 | K | ||||||
15 | HGI1150 | L | IND1150 | L | ||||||
Sheet1 |