#N/A problem.

apw420

New Member
Joined
Oct 21, 2002
Messages
34
I'm using this formula to sum up a row of data:
=SUMPRODUCT(($B$2:$CB$2="Revenue")*($B93:$CB93))

Yet, this data spans the range of the entire month. So on a day where there's no data yet (like tomorrow!) I get a #N/A in the cell. And when it's total using the above formula - I get an #N/A also. Is there anyway to sum it up so it totals what I have so far and ignores the dates that haven't been filled in yet?

Thank you!

AW
 
On 2002-10-29 16:45, rss5995 wrote:
Use ISERROR. This is what your formula will look like:
=IF(ISERROR(SUMPRODUCT(($B$2:$CB$2="Revenue")*($B93:$CB93))),"",(SUMPRODUCT(($B$2:$CB$2="Revenue")*($B93:$CB93))))

I hope you have a "thick skin"...

The formula you suggest an almost mechanical application of ISERROR... It suggests computing the same thing twice by a means of a costly function. Moreover, a single #N/A in the range of interest leads to "" instead of a sum/total despite #N/A the OP wants.
 
Upvote 0

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

Forum statistics

Threads
1,213,482
Messages
6,113,915
Members
448,532
Latest member
9Kimo3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top