Forumla help: pull over number based on date
@Paul Newcome Hey Paul, reaching out for your help again. I've got a field log sheet that I'm hoping to automate. I've figured out how to count the number of panels erected automatically, but now I can't figure out the number of men column. The number of men/day stays here's a published sheet.
The challenge is it's not really doing any counting or math, just pulling over a number from the #men column, here's a filtered view of 4/16. I only want 8 to automatically be pulled into the number of men/day column for the day the work was done, its not adding or counting.
Best Answers
-
Happy to help!
Ok.
I've added this one instead.
=IFERROR(INDEX([# Men]:[# Men], MATCH([Erection date]@row, Erect:Erect, 0)), "")
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.
-
Ok.
I've added it
to one of the columns that weren't locked.=IF(COUNTIFS(Erect:Erect, [Erection date]@row) = 0, "", COUNTIFS(Erect:Erect, [Erection date]@row))
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.
Answers
-
Hi Sean,
I’ve added the formula to your sheet and also updated the formula for the ”Number of Panels erected by day”.
I've simplified the formula with @row, and also I removed the @cell because it's not needed.
For the Number of men/day I used:
=SUMIF(Erect:Erect, [Erection date]@row, [# Men]:[# Men])
For the Number of Panels erected by day I used:
=COUNTIFS(Erect:Erect, [Erection date]@row)
Did that work?
I hope that helps!
Be safe and have a fantastic week!
Best,
Andrée Starå
Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to 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.
-
@Andrée Starå Thank you. The simplification helps, but the sumifs is not what i'm looking to accomplish. The way the same number of men erected the panels on the day so the number should only be 8 on 4/17
-
Happy to help!
Ok.
I've added this one instead.
=IFERROR(INDEX([# Men]:[# Men], MATCH([Erection date]@row, Erect:Erect, 0)), "")
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.
-
That's perfect. Thank you
-
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.
-
@Andrée Starå one last question, how can I make the number of panels cell be blank instead of zero if none?
-
I unlocked the column
-
Ok.
I've added it
to one of the columns that weren't locked.=IF(COUNTIFS(Erect:Erect, [Erection date]@row) = 0, "", COUNTIFS(Erect:Erect, [Erection date]@row))
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.
-
Thanks!
-
You're more than welcome!
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.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!