YUNOVA · Excel for work

Module 19: Dynamic Arrays

Notes for offline study · 30 November 2026

FILTER/SORT/SORTBY/UNIQUE/SEQUENCE/spill

Key points

  • Dynamic arrays (365, Excel 2021 और 2024; 2019/2016 में नहीं): formula एक cell में, result नीचे/दाएँ spill होता है।
  • =FILTER(A2:D100,C2:C100="North","None")। दो शर्तें AND: (C2:C100="North")*(D2:D100>500); OR के लिए + लगाएँ।
  • =UNIQUE(B2:B100) अलग-अलग values; =SORT(A2:D100,4,-1) चौथे column से बड़े से छोटे; =SORTBY(A2:A100,D2:D100,-1)।
  • Spill का रास्ता भरा हो तो #SPILL!। पूरी spill range को F2# से refer करें। =SEQUENCE(5,1,10,5) = 10, 15, 20, 25, 30।

LET optimization

Key points

  • =LET(name, value, calculation): बीच के result को नाम देकर दोबारा इस्तेमाल करें। 365/2021/2024 में; 2019/2016 में नहीं।
  • =LET(total,SUM(B2:B100),IF(total>100000,total*0.95,total))—SUM एक ही बार calculate होता है, formula छोटा और तेज़।
  • कई नाम: =LET(p,B2,q,C2,p*q)। बाद वाला नाम पहले वाले को इस्तेमाल कर सकता है। आखिरी argument हमेशा calculation हो।
  • नाम A1 या B2 जैसा cell address न हो; total, rate जैसे साफ़ नाम रखें—वही formula की documentation बनते हैं।

LAMBDA reusable formulas (G6 only)

Key points

  • =LAMBDA(parameter, calculation) से अपना function बनता है। Microsoft 365 और Excel 2024 में है; 2021/2019/2016 में नहीं।
  • पहले cell में test करें: =LAMBDA(x,x*1.18)(100) = 118। आखिर के () में values देने पर ही result आता है।
  • Formulas > Name Manager > New: Name में AddGST, Refers to में =LAMBDA(x,x*1.18)। फिर workbook में कहीं भी =AddGST(B2)।
  • Cell में सिर्फ =LAMBDA(x,x*1.18) लिखें (call किए बिना) तो #CALC! आता है। Named LAMBDA उसी workbook के अंदर चलता है।

Free on YUNOVA · yunova.in · Sign in to add your own lesson notes to this sheet.