![]() |
Matching a sampling # to it's row #number
here is my data:
col A col B col C col D store# row sampling # 3 1 210 5 2 5 7 3 11 10 4 510 12 5 X 42 I want to be able to make an "X" in column C if the row # in column B is also located in column D in the case of store # 12 above, otherwise have the cell in C remain blank. thank you in advance! jane |
In C2 place the formula
=IF(ISNA(VLOOKUP(B2,$D$2:$D$100,1,0)),"","X") and copy down. Hope this helps Rowan "Jane" wrote: here is my data: col A col B col C col D store# row sampling # 3 1 210 5 2 5 7 3 11 10 4 510 12 5 X 42 I want to be able to make an "X" in column C if the row # in column B is also located in column D in the case of store # 12 above, otherwise have the cell in C remain blank. thank you in advance! jane |
you are a life saver :)
it worked perfectly - thank you! "Rowan" wrote: In C2 place the formula =IF(ISNA(VLOOKUP(B2,$D$2:$D$100,1,0)),"","X") and copy down. Hope this helps Rowan "Jane" wrote: here is my data: col A col B col C col D store# row sampling # 3 1 210 5 2 5 7 3 11 10 4 510 12 5 X 42 I want to be able to make an "X" in column C if the row # in column B is also located in column D in the case of store # 12 above, otherwise have the cell in C remain blank. thank you in advance! jane |
You're welcome!
"Jane" wrote: you are a life saver :) it worked perfectly - thank you! "Rowan" wrote: In C2 place the formula =IF(ISNA(VLOOKUP(B2,$D$2:$D$100,1,0)),"","X") and copy down. Hope this helps Rowan "Jane" wrote: here is my data: col A col B col C col D store# row sampling # 3 1 210 5 2 5 7 3 11 10 4 510 12 5 X 42 I want to be able to make an "X" in column C if the row # in column B is also located in column D in the case of store # 12 above, otherwise have the cell in C remain blank. thank you in advance! jane |
All times are GMT +1. The time now is 02:41 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com