Fill in fields using data row1

Posted on 2011-03-06
Last Modified: 2012-05-11
Without having to select a macro to implement, I would like to fill in column B with the items in row 1?  Cell B5 contains an example of what I am trying to accomplish annotated here >> .  The sheet is also attached.

Assistance is greatly appreciated.
Question by:rtod2
  • 2
LVL 50

Expert Comment

by:barry houdini
ID: 35046734
....but you only want to show "Options" once even if it's selected more than once? There isn't a "native" formula that can concatenate an array but you could use concatenated IF functions, e.g. in B5 copied down

=SUBSTITUTE(IF(D5="x",", "&D$1,"")&IF(E5="x",", "&E$1,"")&IF(F5="x",", "&F$1,"")&IF(G5="x",", "&G$1,"")&IF(H5="x",", "&H$1,"")&IF(OR(I5="x",N5="x",Q5="x"),", "&I$1,"")&IF(J5="x",", "&J$1,"")&IF(K5="x",", "&K$1,"")&IF(L5="x",", "&L$1,"")&IF(M5="x",", "&M$1,"")&IF(O5="x",", "&O$1,"")&IF(P5="x",", "&P$1,"")&IF(R5="x",", "&R$1,"")&IF(S5="x",", "&S$1,"")&IF(T5="x",", "&T$1,"")&IF(U5="x",", "&U$1,"")&IF(V5="x",", "&V$1,"")&IF(W5="x",", "&W$1,"")&IF(X5="x",", "&X$1,"")&IF(Y5="x",", "&Y$1,""),", ","",1)

regards, barry
LVL 50

Accepted Solution

barry houdini earned 500 total points
ID: 35046743
See your sheet modified.....


Author Comment

ID: 35046760

I notice that you are using a numbering system.  Is that something automated that you have set up?

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Tags from access to excel 3 32
Merging-Splitting-Multiple-Rows 33 46
increment numbers by 10 11 31
Excel 2010 - Comparison of texts in a cell 14 40
Introduction This Article is a follow-up to my Mappit! Addin Article (, it was inspired by an email posting I made to EUSPRIG (, I will briefly cover: 1) An overvie…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now