hello all. Im working on a report in the following format.
ID Name Type Amount
1001 AAAA RF 100
-- -- TF (in cell below RF) 200
1002 BBB TF 150
11 CCC RF 90
1075 DDD FAP 150
-- -- RF(in cell below FAP) 250
-- -- TF(in cell below RF) 1000
I want a macro that would bring all the data with respective ID in one line in a standard format. For the above data the report woul look like the following:
ID Name Type Amount
1001 AAAA RF 100 TF 200 - -
1002 BBB - - TF 150 - -
11 CCC RF 90 - - - -
1075 DDD RF 250 TF 1000 FAP 150
Notice how RF is always in first type column otherwise its empty. Similarly TF is always in the second type column if its there with a particular ID. Types include RF,TF and FAP. If an ID has more than 1 type, then ID and Name only appear once. Kindly help.
ID Name Type Amount
1001 AAAA RF 100
-- -- TF (in cell below RF) 200
1002 BBB TF 150
11 CCC RF 90
1075 DDD FAP 150
-- -- RF(in cell below FAP) 250
-- -- TF(in cell below RF) 1000
I want a macro that would bring all the data with respective ID in one line in a standard format. For the above data the report woul look like the following:
ID Name Type Amount
1001 AAAA RF 100 TF 200 - -
1002 BBB - - TF 150 - -
11 CCC RF 90 - - - -
1075 DDD RF 250 TF 1000 FAP 150
Notice how RF is always in first type column otherwise its empty. Similarly TF is always in the second type column if its there with a particular ID. Types include RF,TF and FAP. If an ID has more than 1 type, then ID and Name only appear once. Kindly help.
Last edited: