0

I am exporting the data through Array(Vlookup from different sheet by matching Id's but whenever i sort the data A to Z by using any column. ID's array formula keeps the Id as it is. Due to which data cannot be sorted.

Your help will be much appreciated.

Sheet Link

1 Answer 1

1

try in A1:

={"IDs"; QUERY('Data Sheet'!A2:B, "select A where A <> 0 and A is not null order by B asc")}

and B2:

=ARRAYFORMULA(IF(A2:A="",,IFERROR(VLOOKUP(A2:A, 'Data Sheet'!$A$2:$I, {2,3,4,5,6,7,8}, 0))))

...if you want to keep vlookup

asc can be changed to desc

Sign up to request clarification or add additional context in comments.

1 Comment

Thank you @player0 for posting an answer. The problem i have been facing is i want to sort the data manually using any column. when i sort the Column A to Z-A all other data gone.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.