🐈Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community
Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community
Formula to subtract value in column D from a value in column G, based on a value in column B.
Need to subtract values across rows based on a tiered level? You're likely facing a common spreadsheet challenge. The formula `=IF(B2=3,G5-D2)` provides a solid starting point, but manually extending it for 10 levels is inefficient. Instead, leverage nested `IF` statements or a `VLOOKUP` function to dynamically reference the correct subtraction based on the value in column B. This approach empowers a scalable and future-focused solution, avoiding repetitive formula entry.










![LingBot-Vision: masked boundary modeling for self-supervised pretraining (0.296 NYUv2 linear-probe RMSE at 1.1B vs 0.309 for DINOv3-7B, trails on ImageNet); weights in 4 sizes[R]](https://preview.redd.it/ha08vg49bnbh1.png?width=140&height=78&auto=webp&s=cbd1e4aed6c0571b7f0acee245c21543fe356719)







