Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
How can I do this ?
If d2=Refund then negate the value in e2. ie make it a negative number Cheers |
#2
![]() |
|||
|
|||
![]()
You can actually have VBA code run that will check column D's values and
change the sign in the corresponding value in column E. However, THAT IS A BAD IDEA. It's usually important to preserve the original value, so you know whether you've flipped the sign. Assuming that you *should* keep the value in E2, then in F2 enter the formula: =E2*IF(D2="Refund",-1,1) "Littlebird" wrote: How can I do this ? If d2=Refund then negate the value in e2. ie make it a negative number Cheers |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Hyperlinks using R[1]C[1] and offset function in its cell referenc | Excel Worksheet Functions | |||
Conversion | Excel Worksheet Functions | |||
Trim function doesn't clean out ASCII Code 160 (Space) | Excel Worksheet Functions | |||
Formula to list unique values | Excel Worksheet Functions | |||
Counting Function Dilemma | Excel Worksheet Functions |