A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi, you don't need a vba, create an invoice format in sheet2, where for example in cell A11 you will enter the employee name and in B11 the date, then in C11 you want the item, in D11 the quantity and in E11 the amount, assuming that the above information is sheet1 and the used columns are A for date, then B,C,D and E in sheet2 cell C11 enter
=index(sheet1!C:C,match($A$11,sheet1!$B:$B,0),match($B$11,sheet1!$A$:A,0))
copy formula to your right