Example 3 is genius over tested ifs. Love it Mark.
@zingmo3 күн бұрын
This is a great way to have values in one column override the values in another if they are present without having to create a conditional column.
@keylanoslokj18063 күн бұрын
This😊
@ExcelOffTheGrid2 күн бұрын
Yep, you got it 👍
@GrainneDuggan_Excel2 күн бұрын
Intriguing examples. Thanks Mark
@michaelbrown88212 күн бұрын
OK, i subscribed. I coalesced. Thx for this great feature.
@williamelliott59993 күн бұрын
In your trial balance example, the "each [Debit] ?? 0 - [Credit] ?? 0" only seems works when one column or the other is, in fact, null. If there is a risk that there are numbers in each column, the this formula only returns the first column. A safer variant would be to surround the elements with brackets "each ([Debit] ?? 0) - ([Credit] ?? 0" ) . My favoured route is to use List.Sum which acts like Sum in Excel so is quite forgiving (if that's what you want) and i would write "each ListSum({[Debit],[Credit]})" This has the flexibility to work across adding several columns with some safety!
@ExcelOffTheGrid3 күн бұрын
Good point about the calculation precedence. With my data it would be impossible to have a debit and a credit at the same line, so it will work. Good use of brackets and List.Sum to avoid it. 👍
@DaveIsAtWork-Really2 күн бұрын
@@ExcelOffTheGrid Normally it is not possible to have both a Debit and a Credit balance for an account, but I sometimes work with multiple divisions or companies listed side by side, giving something like Co1.Dr, Co1.Cr, Co2.Dr, Co2.Cr ..... = Grand Total Account Balance. Enclosing each element with () would get to the right total.
@Trucpq2 күн бұрын
Another good practice. Thanks
@ziggle3142 күн бұрын
Thanks Mark. Great job.
@pratiklpatel3 күн бұрын
I already subscribed, this would have saved one more record being null :) Great video by the way.
@ExcelOffTheGrid2 күн бұрын
The less nulls the better 😁
@raimundojs95472 күн бұрын
Perfect! Thank you!
@gonzuic2 күн бұрын
Great information, really great. Thanks
@mirrrvelll51642 күн бұрын
This was a neat one. ☝️ I find it useful
@mohammedelsakally5403 күн бұрын
Thank you Mark for the valuable content you are providing to your followers 👍 🙏
@ExcelOffTheGrid2 күн бұрын
Thank you - I’m glad you like it.
@ramruttunaubeeluck92353 күн бұрын
Thank you Mark
@ExcelOffTheGrid2 күн бұрын
You’re welcome 😁
@stefankirst32343 күн бұрын
That´s a really, really useful concept 😃 Never even heard of it before 🤯 Thank´s a bunch!
@ExcelOffTheGrid2 күн бұрын
It’s a niche piece of underground knowledge - I hope you can put it to good use.