Add value with condition

%3CLINGO-SUB%20id%3D%22lingo-sub-2696992%22%20slang%3D%22en-US%22%3EAdd%20value%20with%20condition%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2696992%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3CBR%20%2F%3E%3CBR%20%2F%3EI'm%20quite%20a%20newbie%20using%20excel%2C%20and%20I%20need%20help%20with%20this%20one.%3CBR%20%2F%3EI%20have%20a%20sheet%20where%20I%20need%20to%20add%20a%20value%20if%20it%20meets%20a%20condition.%20For%20example%2C%20in%20a%20selected%20row%20if%20there%20is%20the%20word%20%22Car%22%20i%20need%20it%20to%20add%20100%20to%20the%20cells%20in%20front%20and%20if%20it%20have%20%22house%22%20instead%20add%2075.%20IS%20this%20possible%3F%20i've%20tried%20some%20formulas%20but%20i%20always%20get%20an%20error%20even%20when%20i%20copi%20it%20exactly%20the%20same%20way%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2696992%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2697016%22%20slang%3D%22en-US%22%3ERe%3A%20Add%20value%20with%20condition%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2697016%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1140710%22%20target%3D%22_blank%22%3E%40Cristiano_Digital%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBetter%20to%20have%20sample%20file%20to%20illustrate%20what%20do%20you%20mean%20exactly.%20And%20that%20could%20be%20dozen%20of%20reason%20why%20formula%20doesn't%20work.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20me%20modify%20attached%20more%20close%20to%20your%20case.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20522px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F306575i9E93012CFF6D7BAC%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2697019%22%20slang%3D%22en-US%22%3ERe%3A%20Add%20value%20with%20condition%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2697019%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1140710%22%20target%3D%22_blank%22%3E%40Cristiano_Digital%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20attach%20a%20small%20sample%20workbook.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hello,

I'm quite a newbie using excel, and I need help with this one.
I have a sheet where I need to add a value if it meets a condition. For example, in a selected row if there is the word "Car" i need it to add 100 to the cells in front and if it have "house" instead add 75. IS this possible? i've tried some formulas but i always get an error even when i copi it exactly the same way

5 Replies

@Cristiano_Digital 

Better to have sample file to illustrate what do you mean exactly. And that could be dozen of reason why formula doesn't work.

 

You me modify attached more close to your case.

image.png

@Cristiano_Digital 

Please attach a small sample workbook.

wow, that was a fast reply. Thank you in advance.

i added a example below, i hope it helps you to help me!

Meanwhile i think i've done it. Your input was excelent in order to help me. Thank again, have a nice day!

@Cristiano_Digital , you are welcome