excel - Searching worksheets to return True or False based on value -
I have 2 Excel worksheets representing values at 1 stop in the first worksheet representing 1 digit route numbers and 4 columns. (See below)
The second worksheet contains columns representing the route number, latitude, longitude and stop number (see below).
I use route numbers I want to find and want to find the matching room to stop numbers in the second worksheet. The first worksheet and value will be returned as correct or incorrect as to whether the value is 0.
Using two of my examples, the results will be shown below.
Let me search for it and What functions will be required to return?
Assume your first sheet is sheet 1, you can use the following formula:
= vlookup ($ A2, sheet1! $ A $ 2: $ E $ 6, match ("stop" and $ d2, sheet 1! $ One $ 1: $ E $ 1,0) , 0) = 0
The match will retrieve the column corresponding to your stop, and vlookup will match the line corresponding to your route.
Comments
Post a Comment