☑ This topic is solved.
Need further help from the community? Please
sign in and ask a new question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Posted 02-28-2023 10:23 AM
(1115 views)
Hello, hope everyone is doing ok. I just wanted to ask help with a job that i'm doing. I wanted to replace blank values with values from another column.
data have
Product A | Product B |
S | |
S | |
L | L |
M | |
S | S |
L | |
M | |
M | |
M | M |
L | |
L | |
L | L |
wanted to have the below result:
Product A | Product B |
S | S |
S | S |
L | L |
M | M |
S | S |
L | L |
M | M |
M | M |
M | M |
L | L |
L | L |
L | L |
Thanks a lot!
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
In a data step
if missing(productb) then productb=producta;
--
Paige Miller
Paige Miller
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
In a data step
if missing(productb) then productb=producta;
--
Paige Miller
Paige Miller
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for the quick response.