Another one of those that are probably staring at me in the face:
This is my formula which isn't working properly:
=IF(E3="Office 1",VLOOKUP((TEXT(C3,"@")),($A$1:$B$168),2,1),IF(E3="Office 2",VLOOKUP((TEXT(C3,"@")),($A$89:$B$167),2,1),IF(E3="Office 3",VLOOKUP((TEXT(C3,"@")),($A$169:$B$205),2,1),"")))
In column A I have a series of codes representing let's say the access codes for the door numbers listed in B. The columns have a total of 205 rows.
In Cell E3 I want to be able to type either Office 1, Office 2 or Office 3, and in Cell C3 I want to be able to type the codes as in Column A so that the relevant door number may be returned in B3.
What am I doing wrong?
Thanks
Livia
This is my formula which isn't working properly:
=IF(E3="Office 1",VLOOKUP((TEXT(C3,"@")),($A$1:$B$168),2,1),IF(E3="Office 2",VLOOKUP((TEXT(C3,"@")),($A$89:$B$167),2,1),IF(E3="Office 3",VLOOKUP((TEXT(C3,"@")),($A$169:$B$205),2,1),"")))
In column A I have a series of codes representing let's say the access codes for the door numbers listed in B. The columns have a total of 205 rows.
In Cell E3 I want to be able to type either Office 1, Office 2 or Office 3, and in Cell C3 I want to be able to type the codes as in Column A so that the relevant door number may be returned in B3.
What am I doing wrong?
Thanks
Livia