Forum Discussion

Rick_Dijs's avatar
Rick_Dijs
Copper Contributor
May 25, 2023
Solved

How can I use content of several columns to create an outcome?

Say in colum A I will put dates in column B I will put a description so text in column C I will type a number. So lets say: If column A is a date in januari and column B contains the text 'loon'...
  • HansVogelaar's avatar
    HansVogelaar
    May 25, 2023

    Rick_Dijs 

    The formula that I posted is for a single cell only. For multiple cells:

     

    ALS((MAAND(Kosten!A2:A60)=1)*(Kosten!B2:B60="loon"); Kosten!g2:g60; "")

     

    If you'd like the sum in a single formula:

     

    =SOMPRODUCT((MAAND(Kosten!A2:A60)=1)*(Kosten!B2:B60="loon")*Kosten!G2:G60)

Resources