SUMIFS
I am using a SUMIFS (formula is posted below) formula to compile multiple billing amounts for one job into a single billing amount for the month. However, when I get to a blank line it gives me #INVALID DATA TYPE error. Please see attachments...
=SUMIFS({Billing Labor Billed}, {Billing Job #}, [Job #]@row, {Billing Date}, MONTH(@cell) = 1)
Best Answer
-
Because your formula is referencing the Job # on each row, it will show an error when processing on a blank line (or any line where job # is blank). To remove the error use the following formula that is preceded with an IFERROR to clear the predicted issue.
=IFERROR(SUMIFS({Billing Labor Billed}, {Billing Job #}, [Job #]@row, {Billing Date}, MONTH(@cell) = 1), "")
Answers
-
Because your formula is referencing the Job # on each row, it will show an error when processing on a blank line (or any line where job # is blank). To remove the error use the following formula that is preceded with an IFERROR to clear the predicted issue.
=IFERROR(SUMIFS({Billing Labor Billed}, {Billing Job #}, [Job #]@row, {Billing Date}, MONTH(@cell) = 1), "")
-
That did it. Thank you so much! Sometimes that tunnel vision kills me.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.1K Get Help
- 444 Global Discussions
- 142 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!