+ Reply to Thread
Results 1 to 7 of 7

Compare two columns and output a result

  1. #1
    Registered User
    Join Date
    03-20-2015
    Location
    birm
    MS-Off Ver
    2013
    Posts
    41

    Compare two columns and output a result

    Hi all

    I want to compare cells in columns D and E and then mark F with a result

    For example

    D E F (results)
    $500 $350 Part Paid
    $320 $320 Paid
    $600 $0 Unpaid


    Result would in f2 would be part paid

    I tried and failed to hash together something:

    Please Login or Register  to view this content.
    Total noob please go easy on me..

    Thanks
    Last edited by Alidamalang110; 04-10-2015 at 06:09 AM.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Compare two columns and output a result

    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    03-20-2015
    Location
    birm
    MS-Off Ver
    2013
    Posts
    41

    Re: Compare two columns and output a result

    Thanks - I tried to modify it so it would give the amount still payable

    Please Login or Register  to view this content.
    At first the problem was I was getting some weird figures i,e 320 - 110 would equal 209.99956454 (?)

    So I tried to round it off. that has worked but I get figures like this $210 or 654.2 instead of $210.00 & $654.20

    Ive tried this:
    Please Login or Register  to view this content.
    No luck ... Your help would be appreciated

    Thanks

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Compare two columns and output a result

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  5. #5
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: Compare two columns and output a result

    Maybe this

    Please Login or Register  to view this content.
    Last edited by mike7952; 04-11-2015 at 03:52 AM.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  6. #6
    Registered User
    Join Date
    03-20-2015
    Location
    birm
    MS-Off Ver
    2013
    Posts
    41

    Re: Compare two columns and output a result

    Hi Mike,

    Tried this but not getting a result - I can see you offset the result to column F - but nothing appears when I run it..

  7. #7
    Registered User
    Join Date
    03-20-2015
    Location
    birm
    MS-Off Ver
    2013
    Posts
    41

    Re: Compare two columns and output a result

    Thats ok solved using Text instead of round Function

    Text(D2-E2, ""$#,##0.00"")
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Compare columns A and B and output data in A that is NOT in B?
    By steviec in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-17-2015, 12:17 PM
  2. Matching 2 columns and output result in third column
    By tubells in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-21-2014, 06:47 PM
  3. Macro to compare two columns and output min/max
    By arpit_rao6 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-03-2010, 01:34 PM
  4. Replies: 3
    Last Post: 07-05-2006, 03:25 AM
  5. Compare 2 columns and output to a 3rd column
    By jamaican jewel in forum Excel General
    Replies: 1
    Last Post: 03-22-2006, 05:30 PM

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