IFERROR, NETWORKDAYS, and MATCH all in one?

Is it possible to have a formula that includes IFERROR, NETWORKDAYS, and MATCH?

I'm working with two different sheets, both of which have a start date and an end date column, along with a project ID column. In a third sheet, I need to reference the start and end dates of both sheets using the NETWORKDAYS formula to calculate the days that lapsed between start and completion, and I need it to pull based on matching project IDs.

My rudimentary formula looks like this right now:

=IFERROR(MATCH([PROJID]@row, {Sheet 1 PROJID}, NETWORKDAYS({Sheet 1 Start Date}, {Sheet 1 End Date}, 0)), "") + IFERROR(MATCH([PROJID}@row, {Sheet 2 PROJID}, NETWORKDAYS({Sheet 2 Start Date}, Sheet 2 End Date}, 0)), "")

I have probably flubbed this up something fierce, but any help would be appreciate, please!

Tags:

Best Answer

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!