Excel Function - How to excluding certain alphabetically -


i using following function build series of running number in excel file.

"=left(address(row(aa1),column(aa1)+(row(a1:a1)-1),4),2)"

the lists shown in file similar like: aa,ab,ac,ad,...

enter image description here

now, trying exclude alphabetical (such "g, i, o") list, not know how start it.

any advise?

remarks: exclude (g, i, o) -> "ag,ai..,ga,gb...oz"

thanks.

set cell a1 "aa".

in cell a2 put following formula:

=if(find(right(a1,1),"abcdefghijklmnopqrstuvwxyz")=len("abcdefghijklmnopqrstuvwxyz"),mid("abcdefghijklmnopqrstuvwxyz",find(left(a1,1),"abcdefghijklmnopqrstuvwxyz")+1,1)&"a",left(a1,1)&mid("abcdefghijklmnopqrstuvwxyz",find(right(a1,1),"abcdefghijklmnopqrstuvwxyz")+1,1)) 

you can drag down how many ever rows need. might complicated, simple if break down.

to exclude chars "g", "i" , "o", remove them everywhere see "abcdefghijklmnopqrstuvwxyz". become "abcdefhjklmnpqrstuvwxyz". might better put list of chars cell , reference cell instead of repeating string many times in formula.


Comments

Popular posts from this blog

scala - 'wrong top statement declaration' when using slick in IntelliJ -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

PySide and Qt Properties: Connecting signals from Python to QML -