Roundup Max Value In Range With #N/A

goss

Active Member
Joined
Feb 2, 2004
Messages
372
Hi all,

Using Excel 2010.

I have a table that summarizes a dataset.
If the dataset is missing a datapoint or if sums to zero, then NA() is returned for charting.

Now I would like to create some custom horizontal lines on the chart so that they may appear in front of the plotted series.

I'm trying =ROUNDUP(MAX(C10:N17),1) to get my uppermost value which may grow/shrink over time. I can then determine additional horizontal lines from that point by subtracting in increments of 0.5 Billion.

However, since there are #N/A within the range, my formula is returning #N/A. LARGE(C10:N17,1) also retruned #N/A.

Is there a way around this?
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Try this array formula confirmed with CTRL + Shift + Enter, not just Enter

=ROUNDUP(MAX(IF(ISNUMBER(C10:N17),C10:N17)),1)
 
Upvote 0

Forum statistics

Threads
1,224,590
Messages
6,179,750
Members
452,940
Latest member
rootytrip

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