Dynamic Named Range with INDEX that handles blanks and errors?

blbat

Active Member
Joined
Mar 24, 2010
Messages
338
Office Version
  1. 2016
  2. 2013
With the outstanding help of jonmo1, I created the following Dynamic named ranges:

Name: LastRow
Scope: Workbook
Refers to: =MATCH(2,1/(Combined!$A:$A<>""))

Name: ColO
Scope: Workbook
Refers to: =Combined!$O$2:INDEX(Combined!$O:$O,Combined!LastRow)

Name: ColP
Scope: Workbook
Refers to: =Combined!$P$2:INDEX(Combined!$P:$P,Combined!LastRow)

Name: ColS
Scope: Workbook
Refers to: =Combined!$S$2:INDEX(Combined!$S:$S,Combined!LastRow)

On the sheet named "Combined", Column "A" will NEVER have blank cells, or errors, within the contiguous range of used cells.

However, Columns O,P, and S can have Blanks or Errors.

My question is- is there a way to write within the "refers to:" formula to handle these blanks and errors using ISERROR and ISBLANK?
 
That's an excellent example T.Valko-

It will make it easier for me to explain to a couple other folks in my office.

I included a column showing the Column "C" values that meet BOTH the criteria sets and a column that shows the values that meet Only the "X" criteria for Column "B" so I can easily show the difference.

I appreciate your time, and everyone else's too!
You're welcome. Thanks for the feedback! :cool:
 
Upvote 0

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

Forum statistics

Threads
1,224,620
Messages
6,179,927
Members
452,949
Latest member
beartooth91

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