Hi Community, I'm needing some help with a IF and INDEX formula, and here is what I have so far:
1) I have a data validation List ranging from A1:A25 (working sheet)
2) I have a data sheet that includes a list of names with their work schedules
a) on the data sheet cell A1 will be a name, B1 will be a start time, and C1 will be a end time
3) I am trying to create a IF formula on my working sheet that will basically look for a specific value in cell A1 and return the corresponding value into cell B1... i am using this formula =IF(A1=Datasheet!A2:A25,INDEX((Datasheet!!B2:Z25),1,0,1))
4) Essentially what i would like to happen is that IF any value in cell A1 on my working sheet = a corresponding value from the data sheet that it will return in cell B1 and C1 the start and end time of that corresponding person.
After using the formula I am getting a FALSE message, am i doing something wrong. I know this can be doing by writing a separate IF statement for every name, but was hoping there was a better or easier way to do this.
Any help would be much appreciated...
1) I have a data validation List ranging from A1:A25 (working sheet)
2) I have a data sheet that includes a list of names with their work schedules
a) on the data sheet cell A1 will be a name, B1 will be a start time, and C1 will be a end time
3) I am trying to create a IF formula on my working sheet that will basically look for a specific value in cell A1 and return the corresponding value into cell B1... i am using this formula =IF(A1=Datasheet!A2:A25,INDEX((Datasheet!!B2:Z25),1,0,1))
4) Essentially what i would like to happen is that IF any value in cell A1 on my working sheet = a corresponding value from the data sheet that it will return in cell B1 and C1 the start and end time of that corresponding person.
After using the formula I am getting a FALSE message, am i doing something wrong. I know this can be doing by writing a separate IF statement for every name, but was hoping there was a better or easier way to do this.
Any help would be much appreciated...