Ramnik Bansal
New Member
- Joined
- Mar 24, 2022
- Messages
- 1
- Office Version
- 365
- Platform
- Windows
- MacOS
Hi please refer the image as well as mini-sheet.
Excel 365. Dynamic Arrays.
In a formula if MID function when combined with IF function, it gives #VALUE error when creating a text string longer than 255 chars. On the other hand, the MID function alone does not have this problem.
Thanks in advance
RB
Excel 365. Dynamic Arrays.
In a formula if MID function when combined with IF function, it gives #VALUE error when creating a text string longer than 255 chars. On the other hand, the MID function alone does not have this problem.
Thanks in advance
RB
Cell Formulas | ||
---|---|---|
Range | Formula | |
C3:C5 | C3 | =REPT("a",1+B3:B5) |
D3:D5 | D3 | =MID(C3:C5,1,B3:B5) |
E3:E5 | E3 | =IF(B3:B5=0,0,MID(C3:C5,1,B3:B5)) |
Dynamic array formulas. |