Forum Discussion
Mhernandez714
Sep 06, 2024Copper Contributor
LOOKUP function
Hello, I am working on creating a formula to auto-populate cell B6 based on the last value in row G55:R55. Any help offered is greatly appreciated. Thank you!
Mhernandez714
Copper Contributor
Patrick2788
Sep 09, 2024Silver Contributor
I see your data has 0s and not blanks. Try this:
=XLOOKUP(TRUE,G55:R55<>0,G55:R55,,,-1)
- Mhernandez714Sep 09, 2024Copper ContributorThis worked! Thank you so much 🙂
- Patrick2788Sep 09, 2024Silver ContributorYou're welcome!