Forum Discussion

Prevenda_XPTA's avatar
Prevenda_XPTA
Copper Contributor
Sep 02, 2021
Solved

Multiple parameters for formula IF (with different cells)

Hello,   I'm trying to compose a formula using "IF", considering the complexity of using parameters informed in  two columns to defining the result in a third column(if true)  based on the selectio...
  • Juliano-Petrukio's avatar
    Sep 02, 2021

    Prevenda_XPTA 

    =IF(AND(A2="Company 01",B2="Project"),120,IF(AND(A2="Company 01",B2="Presales"),90,IF(AND(A2="Company 02",B2="Project"),150,IF(AND(A2="Company 02",B2="Presales"),115))))

     

     

     

    =IF(
        AND(
            A2 = "Company 01"
        ),
    { B2 = "Project"
        )
    ),
    { 120
    ),
    {    IF(
            AND(
                A2 = "Company 01"
            ),
    { B2 = "Presales"
            )
        ),
    { 90
        ),
    {        IF(
                AND(
                    A2 = "Company 02"
                ),
    { B2 = "Project"
                )
            ),
    { 150
            ),
    {            IF(
                    AND(
                        A2 = "Company 02"
                    ),
    { B2 = "Presales"
                    )
                ),
    { 115
                )
            )
        )
    )

     

Resources