Xlambda
Well-known Member
- Joined
- Mar 8, 2021
- Messages
- 837
- Office Version
- 365
- Platform
- Windows
APALINDROME checks an array for palindromes. calls AKEEP , AREVERSE
Excel Formula:
=LAMBDA(a,
LET(x,AKEEP(a,T_CHARS(,2,),),y,AREVERSE(x),
IF(x=y,"Yes !","No !")
)
)
LAMBDA 7.0.xlsx | |||||||
---|---|---|---|---|---|---|---|
A | B | C | D | E | |||
1 | check palindrome sentences | =APALINDROME(A2:A6) | |||||
2 | ¡ Murder for a jar of red rum ! | Yes ! | |||||
3 | Borrow or rob? | Yes ! | |||||
4 | Eva, can I see bees in a cave? | Yes ! | |||||
5 | Yo, banana boy! | Yes ! | |||||
6 | Radar is radar ! | No ! | |||||
7 | |||||||
APALINDROME post |
Cell Formulas | ||
---|---|---|
Range | Formula | |
C1 | C1 | =FORMULATEXT(C2) |
C2:C6 | C2 | =APALINDROME(A2:A6) |
Dynamic array formulas. |
Upvote
0