Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Fill in fields using data row1

Posted on 2011-03-06
3
Medium Priority
?
327 Views
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 >> http://screencast.com/t/mdhEjeUuGrl .  The sheet is also attached.

Assistance is greatly appreciated.
tos-terms-matrix-.xlsx
0
Comment
Question by:rtod2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
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
0
 
LVL 50

Accepted Solution

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

barry
26866769.xlsx
0
 

Author Comment

by:rtod2
ID: 35046760
perfect!!

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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
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 use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

609 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