Hi all! I have some messy data below that I am trying to tag with an account code. Is anyone able to help me with how I should update a multi-row formula in order to get the column in red below ("What I want")? I tried doing this: iif([Value]!=null(),[Row+1:Code],null()), but instead of replicating the Code everywhere there is a value (value not null), it is shifting the Code 1 row up.
| Dept | Description | Value | Code | What I want |
| | | | | |
| | Balance Forward | | | |
| | | | | |
| | | | | |
| | | | | |
| | *** FISCAL YEAR END *** Opening Balance for Year | 0 | | 110105-1201 |
| | | 0 | | 110105-1201 |
| ** Account Totals | | 0 | 110105-1201 | 110105-1201 |
| | 110105-1201 | | | |
| | Balance Forward | | | |
| | | | | |
| | | | | |
| | Opening Balance for Year | 0 | | 110105-1501 |
| | | 0 | | 110105-1501 |
| ** Account Totals | *** FISCAL YEAR END *** | 0 | 110105-1501 | 110105-1501 |
| | 110105-1501 | | | |
| | | | | |
| | Balance Forward | | | |
| | | | | |
| | | | | |
| | Sample Data | 0 | | 110105-1506 |
| | | 0 | | 110105-1506 |
| | Sample Data | 0 | | 110105-1506 |
| | | 0 | | 110105-1506 |
| | Sample Data | 0 | | 110105-1506 |
| | Sample Data | 0 | | 110105-1506 |
| | Sample Data | 0 | | 110105-1506 |
| | | 0 | | 110105-1506 |
| | Sample Data | 0 | | 110105-1506 |
| | | 0 | | 110105-1506 |
| ** Account Totals | | 0 | 110105-1506 | 110105-1506 |
| | 110105-1506 | | | |