I have an excel workbook that I need some help with. The spreadsheet contains payroll information for biweekly hourly employees and includes columns for name, hours, rate, etc… The system that I import this report from creates a row for each week that an employee works during the two week pay period. What I would like to do is add a column that looks at the name in the row above, and if it is the same as the name in the current row, adds the numbers in the hours column for the two rows. I have tried using If Then statements to look at the names, but I also want the cell in the total hours for week 1 to be blank if there is a week 2.
I have attached a sample of the imported data, with dummy names attached.
I’m sure there is a simple soultion that I am overlooking, but any help I can get would be appreciated