Forum Discussion

SKA217's avatar
SKA217
Copper Contributor
Aug 22, 2022
Solved

need help with a formula

  1. I have a excel sheet that has an employee's Provident fun deduction amount per month from the starting date
  2. Now I need to bring “from which month and year an employee has started to deduct his Provident fund amount” in another summary sheet from that data series.
  3. Please help me with the formula
  • SKA217 

    The formula that I posted will only work in Excel 365 / 2021. The following version should work in older versions too:

    =INDEX($D$2:$AM$2,MATCH(TRUE,D3:AM3>0,0)) & ", " & INDEX($D$1:$AM$1,QUOTIENT(MATCH(TRUE,D3:AM3>0,0)-1,12)*12+1)

    Confirm with Ctrl+Shift+Enter.

  • Harun24HR's avatar
    Harun24HR
    Bronze Contributor
    Attach a sample file then we could suggest formula for you. I assume VLOOKUP, INDEX/MATCH, XLOOKUP, FILTER all of these function can give you desired result.
    • SKA217's avatar
      SKA217
      Copper Contributor
      attached the excel file. please help me bring the starting date with formula for each employee

Resources