Community,
I need help to create 3 columns ([STREET],[ADDR1],[ADDR2],[COADDR]) according with the scenarios below. Refer the spreadsheet attached.
- Addr_Care_of is not null --place in COADDR, place Addr_1 in STREET, Addr_2 in ADDR2
- Addr_1 and Addr_2 are not null and Addr_3 is null -- place Addr_1 in STREET, Addr_2 in ADDR2
- Addr_1 and Addr_2 are both null and Addr_3 is not null -- place Addr_3 in STREET.
- Addr_1 is not null, Addr_2 is null, Addr_3 is not null -- place Addr_1 in STREET, place Addr_3 in COADDR
- Addr_1 is null, Addr_2 is not null, Addr_3 is null – place Addr_2 in STREET
- Addr_1 is not null, Addr-2 is not null, Addr_3 is not null -- Addr_1 in COADDR, place Addr_2 in STREET, place Addr_3 in ADDR2 (we will print address exactly like it is in their files as these are scrambled)
- NOTE: If all 4 fields are populated. Please see attached image for output

Thanks in advance