[Cells that I am retrieving information from: Stranding log full_YS oh crap.xlsx]Infostats - sites'!$H:$J) (Site= Gamtoos River Mouth; Lat= 33°58'03.1"S, Long= 25°02'47.8"E)]1
[Row 1: Site= Gamtoos River Mouth; Long: =VLOOKUP($Q58;'[Stranding log full_YS oh crap.xlsx]Infostats - sites'!$H:$J;2;0) (returns 0); Lat: =VLOOKUP($Q58;'[Stranding log full_YS oh crap.xlsx]Infostats - sites'!$H:$J;3;0) (returns 0) Row 2: VLOOKUP($Q59;'[Stranding log full_YS oh crap.xlsx]Infostats - sites'!$H:$J;2;0) (returns corresponding value of cell in Stranding log full_YS oh crap.xlsx]Infostats - sites'!$H:$J)]2
I'm using the vlookup function to retrieve GPS locations from a different document. Image 1 contains the cells I'm retrieving information from (Site= Gamtoos River Mouth; Lat= 33°58'03.1"S, Long= 25°02'47.8"E). The second image shows the formula that I'm using and 2 rows. The 1st row has the information from image 1 (Site= Gamtoos River Mouth) and I want to get the GPS locations in the Lat and Long columns. The second shows how the formula worked for another row.
Function: Long =VLOOKUP($Q58;'[Stranding log full_YS oh crap.xlsx]Infostats - sites'!$H:$J;2;0) Lat =VLOOKUP($Q58;'[Stranding log full_YS oh crap.xlsx]Infostats - sites'!$H:$J;3;0)
I would like to know why the formula is working for some rows but not others and how to fix it?
I'm not sure how to add images yet, sorry.
Thanks!