+ Reply to Thread
Results 1 to 4 of 4

'if' 'and' formula

  1. #1
    Registered User
    Join Date
    02-17-2007
    Posts
    22

    'if' 'and' formula

    I am trying to get the payment type to put "partial" if the BALANCE is < COMMISSION AMT(in the first row for that customer), and put "Final" if the BALANCE = 0.

    It looks like it works in some instances, but not all.

    Please see attached copy of the spreadsheet.

    (I have modified each group of payments per customer to reflect the proper row for the commission amount).

    Thanks !!

    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,936
    When I reformatted your numeric cells to show more decimal places (15), I saw that two balances were not actually zero for some reason; so I used the round(#,2) function on column H and it corrected the payment type.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    02-17-2007
    Posts
    22

    Talking

    Thanks so much !!! That worked perfectly.

    I don't understand, though, how it ended up with such a weird number of decimal positions, since all the amount columns were formatted as 2 decimal place numbers...


    Thanks again.

  4. #4
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127
    Quote Originally Posted by mystic342005
    Thanks so much !!! That worked perfectly.

    I don't understand, though, how it ended up with such a weird number of decimal positions, since all the amount columns were formatted as 2 decimal place numbers...


    Thanks again.
    When you use the FORMAT NUMBERS feature, and choose decimal places, it only changes how the number is displayed. So, the number 1.0035 would show as 1.00, but Excel stores it as 1.0035. The ROUND function forces the number to actually change to 1.00. Hope that clears it up for you (and others with the same problem).

+ 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