Weeknumber formula help
I want to count all instances in a weeknumber, but the formula I'm thinking to use is not working and is returning #INVALID DATA TYPE. The 4 is the week number I am looking to count all the instances in.
The reference column is a Date format with nothing but dates in it, so I'm not sure what I am doing wrong, help.
Best Answer
-
Try wrapping an IFERROR Function around the WEEKNUMBER portion of the formula. It might be trying to read blank cells, which would provide you with that error.
=COUNTIFS({Out Sourcing Entry Date}, IFERROR(WEEKNUMBER(@cell), 0) = [Column2]@row)
Cheers!
Genevieve
Answers
-
Try wrapping an IFERROR Function around the WEEKNUMBER portion of the formula. It might be trying to read blank cells, which would provide you with that error.
=COUNTIFS({Out Sourcing Entry Date}, IFERROR(WEEKNUMBER(@cell), 0) = [Column2]@row)
Cheers!
Genevieve
-
@Genevieve P. Thanks! That was it!
-
Glad I could help! 🙂
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.1K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 450 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 289 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!