Getting Value of Last Row
Hi,
I have a smartsheet to track staff working hours and how much time they are up/down based on their contracted hours. I want to be able to get the data in the Minutes Credit/Debit column for the last row (circled in red). The sheet will be added to using a form.
I want to be able to pull the number out to put on a dashboard to show the teams current credit/debit on contracted hours.
Is there a way to do this? I don't mind adding columns if I need to as I have a load of hidden helper columns anyway
Comments
-
Hi,
Try something like this.
=INDEX([Minutes Credit/Debit]:[Minutes Credit/Debit]; COUNT([Minutes Credit/Debit]:[Minutes Credit/Debit]))
The same version but with the below changes for your and others convenience.
=INDEX([Minutes Credit/Debit]:[Minutes Credit/Debit], COUNT([Minutes Credit/Debit]:[Minutes Credit/Debit]))
Depending on your country you’ll need to exchange the comma to a period and the semi-colon to a comma.
Did it work?
Have a fantastic day!
Best,
Andrée Starå
Workflow Consultant @ Get Done Consulting
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Hi Andrée,
Thanks
It doesn't seem to work, gives me a value of 50, not 60 as expected (see screenshot).
-
Correction, it does work if I put a 0 in row 1. Why would that be?
-
Happy to help!
It's not working because the first row is empty. You must add a +1.
=INDEX([Minutes Credit/Debit]:[Minutes Credit/Debit]; COUNT([Minutes Credit/Debit]:[Minutes Credit/Debit])+1)
=INDEX([Minutes Credit/Debit]:[Minutes Credit/Debit], COUNT([Minutes Credit/Debit]:[Minutes Credit/Debit])+1)
Did it work?
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
It's because of the COUNT part of the formula, see my other answer.
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Yes thanks for your help
-
Excellent!
I'm always happy to help!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!