I am trying to do an "if" statement on a lookup field to return a calculate field of another. At the end of the day I have a "lookup" column that I created to extract out "CR" or "DB" from a string. The raw data has CR as positive and DR as negative in some but others DRs are positive. I have an Adj Amt column that has an dollar amt that I need to make lookup column containing CR neg and DB positive however in some instances the DB will need to stay negative and those are the ones with the Adj Amt such as 100.00-. The negative is on the end of the number not front. I tried this formula below and it didn't work. I have attempted to add an .Or. to that statement to keep those negative DR the same but cant get to that step until I get the CR working first. Any help would be appreciated!
if([lookup]="CR",[Adj Amt]*-1,[Adj Amt])
Lookup Adj Amt End result looking for Lookup Adj Amt
CR 100.00 CR -100.00
DR 200.00 DR 200.00
DR 150.00- DR -150.00