+ Reply to Thread
Results 1 to 3 of 3

Show me the difference

  1. #1
    Registered User
    Join Date
    12-04-2007
    Posts
    1

    Show me the difference

    If I have 2 cells containing us currency values and want to compare them and report the difference in another cell showing the value as a positive or negative value, what might be the proper formula. example: a calculated value in D2 of $6.10 and E2=$6.00 would show -$0.10 in F2
    Conversely if D2=$6.00 and E2=$6.10 then F2 would show +$0.10.
    Any help appreciated.

  2. #2
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,525
    Hi there,

    See if the following six steps does the job for you:

    1. Enter =E2-D2 in cell F2 and copy down as required
    2. Highlight Column F and from the Format menu, select Cells
    3. From the Format Number dialog box, ensure the Number tab is selected
    4. Select the Custom option from the Category listbox
    5. Enter $+#,##0.00;-$#,##0.00 in the Type textbox
    6. Click OK

    HTH

    Robert

  3. #3
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello sgrutherford,

    Format the cells as Currency and then add a formula in the third cell to subtract the first and second cell
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1