Roderick_E
Well-known Member
- Joined
- Oct 13, 2007
- Messages
- 2,051
While I have been working with Excel for several decades, I still a lot of blind spots.
I was wondering if I missed that there is a way to alias a segment of a formula within the entire formula so that within the formula you can refer to the alias result? My example below is very simplistic and perhaps even if aliasing were possible, it wouldn't be worth the effort. Also, before someone suggests, I already know that "helper cells" are often used as aliases or /and named ranges
EXAMPLE AS IS:
I was wondering if I missed that there is a way to alias a segment of a formula within the entire formula so that within the formula you can refer to the alias result? My example below is very simplistic and perhaps even if aliasing were possible, it wouldn't be worth the effort. Also, before someone suggests, I already know that "helper cells" are often used as aliases or /and named ranges
EXAMPLE AS IS:
Code:
=if(len(a1)<len(b1),len(a1),len(b1))[ code]
[B]EXAMPLE OF ALIAS:[/B]
[CODE]=if(alias("res1",len(a1))<alias("res2",len(b1)),aliasres("res1"),aliasres("res2"))[ code]<="" html=""></alias("res2",len(b1)),aliasres("res1"),aliasres("res2"))[></len(b1),len(a1),len(b1))[>
Last edited: