Excel Dynamic Array Formula Help

mazher

Active Member
Joined
Nov 26, 2003
Messages
363
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hi Excel Gurus,

I need sone help / suggestion and explanation

I am using the below formula and is working fine. (Excel 365)

=UNIQUE(Pending[[INVOICE NO]:[CONTRACT]])

Column N is the INVOICE Number
Column M Is the CONTRACT

I am using this formula in O5 = MID(N5,5,3) and is working fine

Is there a way I can just use
=MID(UNIQUE(Pending[INVOICE NO]), 5-3)

I need to use the MID function only first column spilled range

Thanks is advance
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
How about
Excel Formula:
=LET(u,UNIQUE(Pending[[Invoice No]:[Contract]]),HSTACK(MID(INDEX(u,,1),5,3),INDEX(u,,2)))
 
Upvote 1
Solution
another option for your reference. change A1:B2 to your actual table reference.
工作簿1
ABCDEF
1abcd123tdef123def
2ccccggy2hhhhggyhhhh
3
Sheet1
Cell Formulas
RangeFormula
D1:E2D1=MID(A1:B2,{5,1},{3,99})
Dynamic array formulas.
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,191
Members
452,616
Latest member
intern444

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