use function unique and find in two different sheets of xls

조회 수: 1 (최근 30일)
Nooshin Mahmoodi
Nooshin Mahmoodi 2018년 11월 4일
댓글: dpb 2018년 11월 4일
My data is more than one sheets of excel(the number of rows are more than one sheet), but I need to find the unique value in one column.is it possible to write code in way that function unique works in way that thinks two sheets are continues each other?

채택된 답변

dpb
dpb 2018년 11월 4일
Not directly, no.
Read both sheets; concatenate the two and call unique on the result, or
Read first sheet, call unique on that portion; rinse repeat for second then return intersection of the two results.
  댓글 수: 6
Nooshin Mahmoodi
Nooshin Mahmoodi 2018년 11월 4일
my data are the same in the vertically (columns). sorry, but what is the stream? I never use it
dpb
dpb 2018년 11월 4일
Simply the "stream" of bytes written/read to/from disk w/o the overhead of character translation/formatting. Often called "binary". Use fopen/close, fread/write and friends in Matlab.
Where are all these data coming from and how are they getting into Excel? There would be the place to start removing bottlenecks and making savings/increasing efficiency.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by