I have applied UNIQUE and FILTER function to obtain required data from my 'DB sheet' to 'TR sheet'. But my output is not appearing as Sort order. How to fix this issue. Seeking an expert assistance. Thanks in advance
I have applied UNIQUE and FILTER function to obtain required data from my 'DB sheet' to 'TR sheet'. But my output is not appearing as Sort order. How to fix this issue. Seeking an expert assistance. Thanks in advance
Wrap your current formula in the SORT function.
Formula:Please Login or Register to view this content.
BSB
Here's a way to do it all in one:
=LET(l,DB!B3:B57,p,DB!D3:D57,s,ROUND(SUMIF(l,l,p),0),SORT(FILTER(HSTACK(l,s),(DB!C3:C57="TR")*(DB!E3:E57="Discuss"))))
If you REALLY need UNIQUE (not sure if you do), then:
=LET(l,DB!B3:B57,p,DB!D3:D57,s,ROUND(SUMIF(l,l,p),0),SORT(UNIQUE(FILTER(HSTACK(l,s),(DB!C3:C57="TR")*(DB!E3:E57="Discuss")))))
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
Seen, but no reply - did it help?
If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.
Also, if you have not already done so, you may not be aware that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.
Sorry, I had some urgent work come up.
Thanks for your reply. I checked the formula, and it's working.
However, Is it possible to sort by total cost column? I would like to see the cost in descending order
Yes:
=LET(l,DB!B3:B57,p,DB!D3:D57,s,ROUND(SUMIF(l,l,p),0),SORT(UNIQUE(FILTER(HSTACK(l,s),(DB!C3:C57="TR")*(DB!E3:E57="Discuss"))),2,-1))
Glad to have helped.
If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.
Also, if you have not already done so, you may not be aware that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.
Last edited by AliGW; 12-18-2023 at 06:40 AM. Reason: Workbook added.
Excellent. Its working perfectly.
Thank you for the support
Great!
Instructions for signing off the thread are above.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks