Hi All,
I have a multi row formula problem. I have the data in this format:

I then used a sort tool to get all the same PO numbers with the same values to check missing fields in vendor name and vendor number. I then used a multirow formula but when i write the formula it says the function is malformed.
IF [PO Number] = [Row-1:PO Number] THEN
IIF(ISNULL([Vendor Name]) OR [Vendor Name] = "", [Row-1:Vendor Name], [Vendor Name]),
IIF(ISNULL([Vendor Number]) OR [Vendor Number] = "", [Row-1:Vendor Number], [Vendor Number])
ELSE
[Vendor Name],
[Vendor Number]
ENDIF
could I pls ask if you can help with the formula and where i am going wrong?