Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Required Formula using IF condition to find text in a column and depending on th

ID: 3563790 • Letter: R

Question

Required Formula using IF condition to find text in a column and depending on that do some addition and subtraction in the required column

Hi,

I have data something like below table

You can see the Column A has text in cells and 2 cells are empty. I want a excel formula which works like below

IF Column A has text in a cell then add the corresponding values in the same row for example A1 has text Adam in it so B1 should be add to C1.

IF Column A has no text in the cell like A2 then B2 should be subtracted from C2.

Required Formula using IF condition to find text in a column and depending on that do some addition and subtraction in the required column Hi, I have data something like below table You can see the Column A has text in cells and 2 cells are empty. I want a excel formula which works like below IF Column A has text in a cell then add the corresponding values in the same row for example A1 has text Adam in it so B1 should be add to C1. IF Column A has no text in the cell like A2 then B2 should be subtracted from C2.

Explanation / Answer

=if(A1<>"",B1+C1,B1-C1)

copy formula down, if this is not what you are looking for please post the results required

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote