Excel table default value and data validation without VBA -
i have table in excel tracking projects. whenever create new row table i'd auto-populate 1 column project has "not invoiced". column use data validation allow either "not invoiced" or "invoiced" content.
i have been able make both of these things work, cannot seem make them work without error! closest have gotten:
put formula in relevant column. have tried both super basic
="not invoiced"
=if
formula based on blankness of column. correctly carries down each time make new row.i add data validation on column works fine @ first since default value formula 1 of options, when project invoice , select "invoiced" error i'm violating above formula. i've read selecting drop down should replace auto-populated formula, doesn't seem happen, gives me error i've violating column's formula instead.
i've read multiple places if correctly order things (create table, add formula default value, add data validation) above method should work, not me , continue error every time change "invoiced".
you can enter stati "not invoiced" , "invoiced" cells close together, e.g. $g$3 , $g$4. then, create named range $g$3:$g$4, let's "vallist" (menu: formula / define name).
imagine column controlling column, , b status column ("invoiced" / "not invoiced"). example cell b5:
the initial status =if(a5=""; ""; $g$3)
the validation (type "list") must controlled formula =if(a5=""; " "; vallist)
good luck!
Comments
Post a Comment