Forum Discussion

Eqa33's avatar
Eqa33
Brass Contributor
Nov 01, 2021

Formula help

Hi,

 

I have a list of sales in a column and another column that shows if a sale has been cancelled, in this column there are only 2 options Blank and Cancelled. When I choose cancelled I want the corresponding Sales Value in the other column to turn to 0 otherwise if blank I want it to show the $ sales value. If someone could help me with the right formula.

 

Thank you 

Eqa

10 Replies

  • NikolinoDE's avatar
    NikolinoDE
    Platinum Contributor

    Eqa33 

    Here is a simple IF formula that makes it possible. 

    =IF(B2="Cancelled","0",B2)

    Also attached is an example file.

     

    I would be happy to know if I could help.

     

    NikolinoDE

    I know I don't know anything (Socrates)

     

     

     

      • NikolinoDE's avatar
        NikolinoDE
        Platinum Contributor
        Please more details, in which cell is Sales Value?
        only see the amount (I don't know whether this is called a sales value or a deposit).
        Remember that the same cell with value entry and formula is not possible, if ... then with other options such as VBA code.

        Please provide step-by-step information for your project.

Resources