Been on this for nearly three hours now researching and on youtube and pulling my hair out.
Trying to create an IF function for the following
Cell B3 the calculation within it is =A3-C3
However, i need to set up an If function whereby the following conditions have to be met so that B3 returns the correct answer. Conditions are as follows;
=If D3=0 then A3-C3
=If D3>0 then (A3-C3)-D3
=If E3=0 then A3-C3
=If E3>0 then (A3-C3)+E3
In summary, if cells D3 & E3 are empty then A3-C3, but if there is a value in D3 or E3 then carry out the normal calculation but either add or subtract the specific cell. Note both D3 & E3 will never have a value in both i.e. it will either be the following;
D3 & E3 empty
D3 with a value and E3 empty
or D3 Empty with E3 with a value
Trying to create an IF function for the following
Cell B3 the calculation within it is =A3-C3
However, i need to set up an If function whereby the following conditions have to be met so that B3 returns the correct answer. Conditions are as follows;
=If D3=0 then A3-C3
=If D3>0 then (A3-C3)-D3
=If E3=0 then A3-C3
=If E3>0 then (A3-C3)+E3
In summary, if cells D3 & E3 are empty then A3-C3, but if there is a value in D3 or E3 then carry out the normal calculation but either add or subtract the specific cell. Note both D3 & E3 will never have a value in both i.e. it will either be the following;
D3 & E3 empty
D3 with a value and E3 empty
or D3 Empty with E3 with a value