Replicate named array

cnestg8r

Active Member
Joined
Dec 26, 2005
Messages
287
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
Cells A2:A4 are 10, 20, 30
I can name them List and use the in an array formula.

If in B2 I enter ={10:220:30} with CSE, I can't use B2 in the same array formula.

What is wrong?
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Hello,

Why don't you try to explain your actual objective ... :smile:
 
Upvote 0
First, The colons in the array are thread typos. They should be either semi-colon or comma.

I'll build a demo to illustrate what I am trying to do.Thanks
 
Upvote 0
No problem ...

With your example, it will be much easier to try to help you out ... :wink:
 
Upvote 0
I need to vary the filter codes by row. Some internet downloads have undesirable characters, or it may be used as string extractor.


Cell Formulas
RangeFormula
B3="Ne"&CHAR(160)&"w"&CHAR(32)&CHAR(143)&"Y"&CHAR(160)&"ork"
B4="Ne"&CHAR(160)&"w"&CHAR(32)&CHAR(143)&"Y"&CHAR(160)&"ork"
D6=FORMULATEXT(D4)
D4{={160;143;89}}
E3{=TEXTJOIN(,TRUE,IF(COUNTIF(xKey,CODE(MID(B3, ROW(INDIRECT(1&":"& LEN(B3))), 1))),"",MID(B3,ROW(INDIRECT(1&":"&LEN(B3))),1)))}
E4{=TEXTJOIN(,TRUE,IF(COUNTIF(D3,CODE(MID(B4, ROW(INDIRECT(1&":"& LEN(B4))), 1))),"",MID(B4,ROW(INDIRECT(1&":"&LEN(B4))),1)))}
F3{=IFERROR(TEXTJOIN(",",TRUE,CODE(MID(E3, ROW(INDIRECT(1&":"&LEN(E3))), 1))),"EMPTY")}
F4{=IFERROR(TEXTJOIN(",",TRUE,CODE(MID(E4, ROW(INDIRECT(1&":"&LEN(E4))), 1))),"EMPTY")}
C3{=IFERROR(TEXTJOIN(",",TRUE,CODE(MID(B3, ROW($A$1:INDEX($A$1:$A$995, LEN(B3))), 1))),"EMPTY")}
C4{=IFERROR(TEXTJOIN(",",TRUE,CODE(MID(B4, ROW($A$1:INDEX($A$1:$A$995, LEN(B4))), 1))),"EMPTY")}
Press CTRL+SHIFT+ENTER to enter array formulas.
Named Ranges
NameRefers ToCells
'Master (2)'!xKey='Master (2)'!$B$7:$B$9
 
Upvote 0
After posting I see I reference D3 instead of D4 in E4. Corrected, but it still only extracts the first code. Not 143 or 89. E3 and F3 are correct but use the named range.


Cell Formulas
RangeFormula
B3="Ne"&CHAR(160)&"w"&CHAR(32)&CHAR(143)&"Y"&CHAR(160)&"ork"
B4="Ne"&CHAR(160)&"w"&CHAR(32)&CHAR(143)&"Y"&CHAR(160)&"ork"
D6=FORMULATEXT(D4)
D4{={160;143;89}}
C7=CHAR(B7)
C8=CHAR(B8)
C9=CHAR(B9)
C3{=IFERROR(TEXTJOIN(",",TRUE,CODE(MID(B3, ROW($A$1:INDEX($A$1:$A$995, LEN(B3))), 1))),"EMPTY")}
C4{=IFERROR(TEXTJOIN(",",TRUE,CODE(MID(B4, ROW($A$1:INDEX($A$1:$A$995, LEN(B4))), 1))),"EMPTY")}
E3{=TEXTJOIN(,TRUE,IF(COUNTIF(xKey,CODE(MID(B3, ROW(INDIRECT(1&":"& LEN(B3))), 1))),"",MID(B3,ROW(INDIRECT(1&":"&LEN(B3))),1)))}
E4{=TEXTJOIN(,TRUE,IF(COUNTIF(D4,CODE(MID(B4, ROW(INDIRECT(1&":"& LEN(B4))), 1))),"",MID(B4,ROW(INDIRECT(1&":"&LEN(B4))),1)))}
F3{=IFERROR(TEXTJOIN(",",TRUE,CODE(MID(E3, ROW(INDIRECT(1&":"&LEN(E3))), 1))),"EMPTY")}
F4{=IFERROR(TEXTJOIN(",",TRUE,CODE(MID(E4, ROW(INDIRECT(1&":"&LEN(E4))), 1))),"EMPTY")}
Press CTRL+SHIFT+ENTER to enter array formulas.
Named Ranges
NameRefers ToCells
'Master (2)'!xKey='Master (2)'!$B$7:$B$9
 
Upvote 0

Forum statistics

Threads
1,223,897
Messages
6,175,270
Members
452,628
Latest member
dd2

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