shreevvairam
New Member
Hi,
I have two tables. I want to update contents from one table to another table. I have tried to use vlookup, match, index, two way match/index, helper column But it update only contents in first row and skip second or any successive row even if it is in different column.I am aware that vlookp update contents of only first match. But I want to update contents of second as well as any successive match as it is of differnt date and different colum.
I have attached sample file to understand this problem. I am sorry I unable to explain properly. I have tried to use below formulas but no result.
IF(ISNA(HLOOKUP(F$7,$F$135:$AJ$247,MATCH($B65,$A$136:$A$247,0)+1,FALSE)),0,HLOOKUP(F$7,$F$135:$AJ$247,MATCH($B65,$A$136:$A$247,0)+1,FALSE))
=IF(ISNA(VLOOKUP($B4,$B$20:D$29,3,0)),0,VLOOKUP($B4,$B$20:D$29,3,0))
I know little about formula and function but not used to VBA or macros
Result File
Emp ID Name 1-Oct 2-Oct 3-Oct 4-Oct 5-Oct 6-Oct 7-Oct
1 A L 0 0 0 0 0 0
2 B 0 0 0 0 0 0 0
3 C 0 0 0 0 0 0 0
4 D L L 0 0 0 0 0
5 E 0 0 0 0 0 0 0
6 F 0 0 0 0 0 0 0
7 G 0 0 0 0 0 0 0
8 H 0 0 L 0 0 0 0
9 K 0 0 0 0 0 0 0
10 L 0 0 0 0 0 0 0
Data File
Emp ID Name 1-Oct 2-Oct 3-Oct 4-Oct 5-Oct 6-Oct 7-Oct
1 A L 0 0 0 0 0 0
1 A 0 0 L 0 0 0 0
1 A 0 0 0 0 0 L 0
4 D L L 0 0 0 0 0
4 D 0 0 0 L 0 0 0
4 D 0 0 0 0 0 L 0
8 H 0 0 L 0 0 0 0
8 H 0 0 0 0 0 0 L
9 K 0 0 0 0 0 0 0
10 L 0 0 0 0 0 0 0
How to attcah file in our post. Can anyone guide me?
Thanking in advance
Regards
Shree
I have two tables. I want to update contents from one table to another table. I have tried to use vlookup, match, index, two way match/index, helper column But it update only contents in first row and skip second or any successive row even if it is in different column.I am aware that vlookp update contents of only first match. But I want to update contents of second as well as any successive match as it is of differnt date and different colum.
I have attached sample file to understand this problem. I am sorry I unable to explain properly. I have tried to use below formulas but no result.
IF(ISNA(HLOOKUP(F$7,$F$135:$AJ$247,MATCH($B65,$A$136:$A$247,0)+1,FALSE)),0,HLOOKUP(F$7,$F$135:$AJ$247,MATCH($B65,$A$136:$A$247,0)+1,FALSE))
=IF(ISNA(VLOOKUP($B4,$B$20:D$29,3,0)),0,VLOOKUP($B4,$B$20:D$29,3,0))
I know little about formula and function but not used to VBA or macros
Result File
Emp ID Name 1-Oct 2-Oct 3-Oct 4-Oct 5-Oct 6-Oct 7-Oct
1 A L 0 0 0 0 0 0
2 B 0 0 0 0 0 0 0
3 C 0 0 0 0 0 0 0
4 D L L 0 0 0 0 0
5 E 0 0 0 0 0 0 0
6 F 0 0 0 0 0 0 0
7 G 0 0 0 0 0 0 0
8 H 0 0 L 0 0 0 0
9 K 0 0 0 0 0 0 0
10 L 0 0 0 0 0 0 0
Data File
Emp ID Name 1-Oct 2-Oct 3-Oct 4-Oct 5-Oct 6-Oct 7-Oct
1 A L 0 0 0 0 0 0
1 A 0 0 L 0 0 0 0
1 A 0 0 0 0 0 L 0
4 D L L 0 0 0 0 0
4 D 0 0 0 L 0 0 0
4 D 0 0 0 0 0 L 0
8 H 0 0 L 0 0 0 0
8 H 0 0 0 0 0 0 L
9 K 0 0 0 0 0 0 0
10 L 0 0 0 0 0 0 0
How to attcah file in our post. Can anyone guide me?
Thanking in advance
Regards
Shree