Hi All,
The worksheet that I am referencing to is my "datasheet"
I have the following formula which is working and returning information from a particular row for a particular date, however I am wanting to lookup a range based on the week num (7 days) that I have in column A in my datasheet rather than a singular date. However everytime I try to reference the week num to lookup I get an error. Currently the columns for date in my workbook look like as follows;
WeekNum Date
12 18/03/2011
12 19/03/2011
12 20/03/2011
13 21/03/2011
13 22/03/2011
13 23/03/2011
13 24/03/2011
13 25/03/2011
13 26/03/2011
13 27/03/2011
14 28/03/2011
My function so far looks like this;
=IF(VLOOKUP(E4,DATASHEET!C2:AU501,42,FALSE)=0,"NIL",VLOOKUP(E4
,DATASHEET!C2:AU501,42,FALSE))
Where E4 = todays date
DataSheet is the worksheet where I am drawing information from.
Columns from C2:AU501 is the data area that I am referencing
42 is the column number that the information is being drawn from
This formula works a dream for plucking out the text that I want it to and put it in a daily report however I would like it to look at the weeknum and pluck out the information for a weekly report.
Can someone please help me
Thanks
M
The worksheet that I am referencing to is my "datasheet"
I have the following formula which is working and returning information from a particular row for a particular date, however I am wanting to lookup a range based on the week num (7 days) that I have in column A in my datasheet rather than a singular date. However everytime I try to reference the week num to lookup I get an error. Currently the columns for date in my workbook look like as follows;
WeekNum Date
12 18/03/2011
12 19/03/2011
12 20/03/2011
13 21/03/2011
13 22/03/2011
13 23/03/2011
13 24/03/2011
13 25/03/2011
13 26/03/2011
13 27/03/2011
14 28/03/2011
My function so far looks like this;
=IF(VLOOKUP(E4,DATASHEET!C2:AU501,42,FALSE)=0,"NIL",VLOOKUP(E4
,DATASHEET!C2:AU501,42,FALSE))
Where E4 = todays date
DataSheet is the worksheet where I am drawing information from.
Columns from C2:AU501 is the data area that I am referencing
42 is the column number that the information is being drawn from
This formula works a dream for plucking out the text that I want it to and put it in a daily report however I would like it to look at the weeknum and pluck out the information for a weekly report.
Can someone please help me
Thanks
M