Similar to this old thread
But, I have a string in column A like below, outputs in D & E and two IPs in B&C.
Appreciate for a VB Script if possible, or is there another way aside from vlookup function?
vlookup to return Yes and No values
Is it possible to write a vlookup that will return a value of Yes if the value is true and a value of No if the value is false? I have data in column A on sheet 1 so the lookup value starts in cell A2 and the table array is on sheet 2 in columns A and B so the column index is 2.
www.mrexcel.com
But, I have a string in column A like below, outputs in D & E and two IPs in B&C.
Appreciate for a VB Script if possible, or is there another way aside from vlookup function?
SOURCE | First IP | Second IP | RESULT First IP | RESULT Second IP |
TEST 172.26.56.104 | 172.26.56.104 | 255.255.255.0 | YES | NO |
TEST | 172.26.56.105 | 255.255.255.1 | NO | NO |
TEST 172.26.56.106 255.255.255.2 | 172.26.56.106 | 255.255.255.2 | YES | YES |
TEST 255.255.255.3 | 172.26.56.107 | 255.255.255.3 | NO | YES |
Last edited: