
Originally Posted by
mrsogmax76
Please see attached dummy file. Any assistance you can provide is deeply appreciated.
How would you like to round?
Assuming round to 1 decimal. Ex: 15,583.31 -> 15,583.39 = 15,583.40
Amount should be rounded up: = ROUNDUP(amount,1)
Anyway, 1st line of amount range contains text (column title), so re-define range of the ALL name to start from row(2) (altref, customer, invoice,...) OR use ROUNDUP(IF(ISNUMBER(amount),amount,0),1) without re-define name.
The formula to get invoice ref should be as follow:
=IF(ISERROR(INDEX(altref,MATCH(1,(rtype="Invoice")*(ROUNDUP(IF(ISNUMBER(amount),amount,0),1)=ROUNDUP($D5,1))*(customer=$C5),0))),"Unidentified",INDEX(altref,MATCH(1,(rtype="Invoice")*(ROUNDUP(IF(ISNUMBER(amount),amount,0),1)=ROUNDUP($D5,1))*(customer=$C5),0)))
Hope this works.
Bookmarks