SOLVED

Excel formula assistance

Copper Contributor

Dear Team,

 

Please help me to get below solved. Thank you.

 

Required formulaCell "F"Cell "G"
 AmountDebit/Credit
if G6 is "C" F6 cell value in -10001000C
if G7 is D"" F7 cell value in 25002500D
if G8 is "C" F8 cell value in -900900C
if G9 is "C" F9 cell value in -20002000C
if G10 is "D" F10 cell value in 199199D
2 Replies
best response confirmed by Bmahat (Copper Contributor)
Solution
You should add an additional column for this with a formula like:
=IF(G6="D",F6,-F6)

@Bmahat 

As variant

=F6*(1-2*(G6="C"))
1 best response

Accepted Solutions
best response confirmed by Bmahat (Copper Contributor)
Solution
You should add an additional column for this with a formula like:
=IF(G6="D",F6,-F6)

View solution in original post