BookmarkSubscribeRSS Feed
Rimz
Calcite | Level 5
Hi
I have only one column in my excel sheet. I need to create a macro for getting a stratified data for the column which has data.

Example - column A is where i paste the data i need to be stratified and then click on a tab where i can put the number of products i need as my stratified data for example - 1500. This data either comes as a "open or save file"option or it can come in sheet 2 in that same macro.

Can someone help me with this please????
3 REPLIES 3
Rimz
Calcite | Level 5
Hi
I have only one column in my excel sheet. I need to create a macro for getting a stratified data for the column which has data.

Example - column A is where i paste the data i need to be stratified and then click on a tab where i can put the number of products i need as my stratified data for example - 1500. This data either comes as a "open or save file"option or it can come in sheet 2 in that same macro.

Can someone help me with this please????
PaigeMiller
Diamond | Level 26

Duplicate question, the exact same question was asked https://communities.sas.com/t5/SAS-Programming/Macro-for-stratified-sample/td-p/738342

--
Paige Miller
PaigeMiller
Diamond | Level 26

This doesn't appear to be a SAS question.

 

And please don't post the same question twice.

--
Paige Miller

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 866 views
  • 0 likes
  • 2 in conversation