Hi,
Hope some one can assist me with this.
I am trying to do a HLOOKUP from data like below
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]13/14 P13W3[/TD]
[TD]13/14 P13W4[/TD]
[TD]14/15 P1W1[/TD]
[TD]14/15 P1W2[/TD]
[/TR]
[TR]
[TD]Bread[/TD]
[TD]46[/TD]
[TD]55[/TD]
[TD]54[/TD]
[TD]33[/TD]
[/TR]
[TR]
[TD]Rolls[/TD]
[TD]28[/TD]
[TD]22[/TD]
[TD]42[/TD]
[TD]12[/TD]
[/TR]
[TR]
[TD]Butter[/TD]
[TD]66[/TD]
[TD]57[/TD]
[TD]58[/TD]
[TD]69[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
On another tab I have a drop down box to select the period/week and I then want it to bring back the data related to the date and the item (like below)
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]14/15 P1W1[/TD]
[/TR]
[TR]
[TD]Bread[/TD]
[TD]54[/TD]
[/TR]
[TR]
[TD]Rolls[/TD]
[TD]42[/TD]
[/TR]
[TR]
[TD]Butter[/TD]
[TD]58[/TD]
[/TR]
</tbody>[/TABLE]
What I have as a formula but keep getting #Ref!
=IF(ISNA(VLOOKUP($B$1,INDIRECT($A1&"!A:K"),11,0)=TRUE),0,VLOOKUP($B$1,INDIRECT($A1&"!A:K"),11,0))
B1 is selecting the Date and the items are in column A from row 21 to 25
Hope this makes sense
Thanks in advance
Hope some one can assist me with this.
I am trying to do a HLOOKUP from data like below
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]13/14 P13W3[/TD]
[TD]13/14 P13W4[/TD]
[TD]14/15 P1W1[/TD]
[TD]14/15 P1W2[/TD]
[/TR]
[TR]
[TD]Bread[/TD]
[TD]46[/TD]
[TD]55[/TD]
[TD]54[/TD]
[TD]33[/TD]
[/TR]
[TR]
[TD]Rolls[/TD]
[TD]28[/TD]
[TD]22[/TD]
[TD]42[/TD]
[TD]12[/TD]
[/TR]
[TR]
[TD]Butter[/TD]
[TD]66[/TD]
[TD]57[/TD]
[TD]58[/TD]
[TD]69[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
On another tab I have a drop down box to select the period/week and I then want it to bring back the data related to the date and the item (like below)
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]14/15 P1W1[/TD]
[/TR]
[TR]
[TD]Bread[/TD]
[TD]54[/TD]
[/TR]
[TR]
[TD]Rolls[/TD]
[TD]42[/TD]
[/TR]
[TR]
[TD]Butter[/TD]
[TD]58[/TD]
[/TR]
</tbody>[/TABLE]
What I have as a formula but keep getting #Ref!
=IF(ISNA(VLOOKUP($B$1,INDIRECT($A1&"!A:K"),11,0)=TRUE),0,VLOOKUP($B$1,INDIRECT($A1&"!A:K"),11,0))
B1 is selecting the Date and the items are in column A from row 21 to 25
Hope this makes sense
Thanks in advance