Hello, I'm stuck writing a excel formula and need assistance and hopeful someone can help please!

I'm trying to write a formula that I can drag down column "P", that will analyze that row from (B:O) for the cell that has the first "1" in it, from left to right order, and return the header number listed in that column that's under the date in row 2. Thanks for your assistance!

Example 1: Row 3 has the first "1" in column "C" from (B3:O3), so it would return the header "13" in cell C2.

Example 2: Row 4 has the first "1" in column "B" from (B4:O4), so it would return the header "14" in cell B2.

Example 3: Row 5 has the first "1" in column "K" from (B5:O5), so it would return the header "5" in cell K2.

Example 4: Row 9 does not have a "1" in it from (B9:O9), so it would return a "0".

I'm trying to write a formula that I can drag down column "P", that will analyze that row from (B:O) for the cell that has the first "1" in it, from left to right order, and return the header number listed in that column that's under the date in row 2. Thanks for your assistance!

Example 1: Row 3 has the first "1" in column "C" from (B3:O3), so it would return the header "13" in cell C2.

Example 2: Row 4 has the first "1" in column "B" from (B4:O4), so it would return the header "14" in cell B2.

Example 3: Row 5 has the first "1" in column "K" from (B5:O5), so it would return the header "5" in cell K2.

Example 4: Row 9 does not have a "1" in it from (B9:O9), so it would return a "0".