LucieLiskova
New Member
- Joined
- Jan 19, 2017
- Messages
- 17
Hi,
I'm working on two different sheets - the Payroll File 2023 (picture 1), cell B8 will change based on A5 (dropdown list - showing working weeks), taking information from the Construction - Payroll Hrs 2023 (picture 2), starting with cell AK9 (54.00 in TOTAL column). This value will change each time, depending on the week - weeks are displayed in line 5. So if I select week 19 in Payroll File, I should get number 39.5 in total (BM9 - Construction payroll sheet). I am using the below formula but I have a feeling I've set it up for searching the info vertically rather than horizontally.
{IFERROR(INDEX('[Construction Payroll Hrs 2023 - Copy.xlsx]Construction - Payroll Hrs 2023'!$J$9:$AK$9,SMALL(IF('[Construction Payroll Hrs 2023 - Copy.xlsx]Construction - Payroll Hrs 2023'!$J$5:$DR$5=A5,ROW('[Construction Payroll Hrs 2023 - Copy.xlsx]Construction - Payroll Hrs 2023'!$J$9:$AK$9)-MIN(ROW('[Construction Payroll Hrs 2023 - Copy.xlsx]Construction - Payroll Hrs 2023'!$J$9:$AK$9))+1),COLUMNS(A5:A5))),"")}
Any help much appreciated.
Thank you.
Lucie.
I'm working on two different sheets - the Payroll File 2023 (picture 1), cell B8 will change based on A5 (dropdown list - showing working weeks), taking information from the Construction - Payroll Hrs 2023 (picture 2), starting with cell AK9 (54.00 in TOTAL column). This value will change each time, depending on the week - weeks are displayed in line 5. So if I select week 19 in Payroll File, I should get number 39.5 in total (BM9 - Construction payroll sheet). I am using the below formula but I have a feeling I've set it up for searching the info vertically rather than horizontally.
{IFERROR(INDEX('[Construction Payroll Hrs 2023 - Copy.xlsx]Construction - Payroll Hrs 2023'!$J$9:$AK$9,SMALL(IF('[Construction Payroll Hrs 2023 - Copy.xlsx]Construction - Payroll Hrs 2023'!$J$5:$DR$5=A5,ROW('[Construction Payroll Hrs 2023 - Copy.xlsx]Construction - Payroll Hrs 2023'!$J$9:$AK$9)-MIN(ROW('[Construction Payroll Hrs 2023 - Copy.xlsx]Construction - Payroll Hrs 2023'!$J$9:$AK$9))+1),COLUMNS(A5:A5))),"")}
Any help much appreciated.
Thank you.
Lucie.