Autofill formula for cell names in Excel -



Autofill formula for cell names in Excel -

in excel worksheet rows of parameters , columns of systems so:

system1 system2 height 58 65 width 12 17 weight 3 5 ... . . ... . .

i looking way utilize info meaningful names such "height1", "height2". can name cells "height1" "height2" (formulas->define name) , utilize in cell =height1. however, when autofilling dragging equation right, name not alter height2 , left same value of 58.

basically, looking same behavior autofill dragging =b2 =b3, meaningful names.

thank you.

here macro naming them in convention (haven't tried should work):

sub namethem() dim rng range = 0 3 j = 0 1 set rng = range("a1").offset(1 + i, 1 + j) phone call activeworkbook.names.add(rng.end(xltoleft).value & j, rng) next j next end sub

excel formula drag autofill names

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -