How can I read the excel data that is in the following format (Column A is the Target, B is blank , Column C to V is my actual data that I need to summaries after reading ). summary table is to add the column with 1's from Column C to V.
For example I have about 20 columns in forward section( from Column C to V -only 6 is shown here) and 24 columns in Reverse section( Columns Z to AW) and 24 columns in primer section( columns BA to BX in Excel) . All these columns have 0 and 1. Need to summarize all the three sections and create a table.
Any suggestions how to start reading this excel format?
| Reverse | |||||||||
| 1 | 2 | 3 | 4 | 5 | 6 | Mismatched | |||
| Target | G | A | C | A | T | C | Seq | ||
| ht/Bal/alxk/2019 | 1 | 1 | |||||||
| ht/Bal/alxk/2020 | 1 | 1 | 2 | ||||||
| ht/Bal/alxk/2021 | 0 | ||||||||
thank you
Good idea. Will try that solution. Thank you
It would be easier with a CSV file instead of an XSLX file. Then you could write a data step to read it.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.
Ready to level-up your skills? Choose your own adventure.