[TABLE="class: cms_table, width: 300"]
<tbody>[TR]
[TD]Employee id[/TD]
[TD]name[/TD]
[TD]month[/TD]
[TD]LWP[/TD]
[TD]Salary Payable[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Prasun[/TD]
[TD]May'18[/TD]
[TD]1[/TD]
[TD]12000[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Alok[/TD]
[TD]May'18[/TD]
[TD]0[/TD]
[TD]10000[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Rahul[/TD]
[TD]May'18[/TD]
[TD]0[/TD]
[TD]9000[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Deepak[/TD]
[TD]May'18[/TD]
[TD]0[/TD]
[TD]8000[/TD]
[/TR]
</tbody>[/TABLE]
I have named the table as May_18 and the sheet name is May'18
[TABLE="class: cms_table, width: 300"]
<tbody>[TR]
[TD]Employee id[/TD]
[TD]name[/TD]
[TD]month[/TD]
[TD]LWP[/TD]
[TD]Salary Payable[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Prasun[/TD]
[TD]Jun'18[/TD]
[TD]1[/TD]
[TD]12000[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Alok[/TD]
[TD]jun'18[/TD]
[TD]0[/TD]
[TD]10000[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Rahul[/TD]
[TD]jun'18[/TD]
[TD]0[/TD]
[TD]9000[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Deepak[/TD]
[TD]jun'18[/TD]
[TD]0[/TD]
[TD]8000
[/TD]
[/TR]
</tbody>[/TABLE]
I have named the table as jun_18 and the sheet name is jun'18
Like this i have made the monthly salary sheet from may'18 to apr'19.
PAYSLIP I HAVE MADE IN A DIFFERENT WORKSHEET SOMEWHAT LIKE THIS:-
[TABLE="class: cms_table, width: 500"]
<tbody>[TR]
[TD="align: center"]COMPANY NAME[/TD]
[TD][/TD]
[TD]MONTH[/TD]
[TD]MAY'18[/TD]
[/TR]
[TR]
[TD]EMP ID[/TD]
[TD]1[/TD]
[TD]FILL THIS COLUMN OF EMP ID AND MONTH MANUALLY[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]NAME[/TD]
[TD][/TD]
[TD]WILL PUT FORMULA IN NAME COLUMN[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]LWP[/TD]
[TD][/TD]
[TD]WILL PUT FORMULA IN LWP COLUMN[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Salary Payable[/TD]
[TD][/TD]
[TD]WILL PUT FORMULA IN SALARY PAYABLE COLUMN[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]TOTAL[/TD]
[TD]TOTAL AMOUNT PAYABLE[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I WANT THE FORMULA IN SUCH A WAY THAT I ONLY FILL MONTH AND EMP ID AND I AUTOMATICALLY GET THE EMPL CODE DETAILS FROM THE RESPECTIVE MONTH SHEET.
I TRIED ONE FORMULA USING INDEX AND MATCH BUT IT WAS TAKING ONLY ONE SHEET AND WITH ONLY ONE MATCH. PLZ CAN YOU TELL ME HOW TO MAKE THE FORMULA.
MY FORMULA WAS :-
=INDEX('May ''18'!$B$2:$E$5,MATCH($A$2,'May ''18'!$A$2:$A$5,0),MATCH(D3,'May ''18'!$B$2:$E$5,0))
I HAVE PUT THE ABOvE FORMULA IN NAME AND HAVE COPIED THE SAME IN LWP AND SALARY PAYABLE COLUMN.
BUT THIS IS ONLY GIVING ME THE MAY MONTH DATA TAKING EMPID AS A MATCH COLUMN WHICH DOES NOT SOLVE MY PURPOSE.
I WANT TO TAKE ALL SHEETS AND WANT TO USE EMP ID AND Month COULMN AS MATCH .
Plz can u hep me wit full formula as i am not good with excel . I tried to make above formula but it was not fully helpful..
Thanks