Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Placing the content of 3 cells in 1 new cell?


From   "Ziad El-Khatib" <Ziad.El-Khatib@ki.se>
To   statalist@hsphsun2.harvard.edu
Subject   st: Placing the content of 3 cells in 1 new cell?
Date   Mon, 5 Nov 2007 03:25:13 -0800

Dear STATA lister
In Excel the person can have the content of 3 other cells in one cell,
for example


Drug1        Drug2         Drug3         Drugs
--------------------------------------------------------------
Panad        Asp          Val            Panad/Asp/Val

by typing:
drugs=drug1&"/"&drug2&"/"drug3


Is it possible to do something similar in STATA?


Thank you in advance and best regards
ziad
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index