Excel Complex Lookup: Find Header based on Lookup Criteria in Matrix with INDEX & SUMPRODUCT

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ธ.ค. 2024

ความคิดเห็น • 306

  • @LeilaGharani
    @LeilaGharani  11 หลายเดือนก่อน +1

    Grab the file I used in the video from here 👉 pages.xelplus.com/sumproduct-index-file

  • @vickydsouza4252
    @vickydsouza4252 4 ปีที่แล้ว +24

    Dear Maam,
    I thought I was good at excel .... that was until i started watching your videos. Never fail to learn new things from you. Index with Sumproduct. Amazing.

  • @LeilaGharani
    @LeilaGharani  7 ปีที่แล้ว +19

    I got some queries regarding how to handle cases when there is more than one match per category - so when the data set is not unique - I'll be posting a solution for that this week that uses the AGGREGATE function. Stay tuned....

    • @LeilaGharani
      @LeilaGharani  7 ปีที่แล้ว +3

      Link to 2 other videos that solve for non-unique data sets: th-cam.com/video/ULa7nQrMvoc/w-d-xo.html and this one: th-cam.com/video/TMZEUlFGp1U/w-d-xo.html

    • @joynalabedin6814
      @joynalabedin6814 5 ปีที่แล้ว

      Thanks a lot for this video.

    • @vimalarammohan7345
      @vimalarammohan7345 5 ปีที่แล้ว

      @@LeilaGharani =IF(COUNTIF(INDIRECT($I$4),H5)=0,"",$I$4). . Is this formula okay mam

    • @gauthamn18
      @gauthamn18 4 ปีที่แล้ว

      Damn that's definitely the second problem I'm facing, two days under one date and I need both of them mentioned

    • @lgoopio
      @lgoopio 4 ปีที่แล้ว

      My headers are dates, and i need to return the value under the most recent date. Date progresses to the right. So the rightmost is the most current.

  • @barrysedlik1535
    @barrysedlik1535 2 ปีที่แล้ว

    Leila, I used your Excel Complex Lookup formula to find the correct header in a two-dimensional array. What an elegant solution! Thank you for solving this vexing problem!

  • @jamiemer1109
    @jamiemer1109 3 ปีที่แล้ว +12

    Hey Leila, I have discovered that using SEQUENCE(1, COLUMNS(Header Range) is a real handy way rather than COLUMN(Header Range) because the TRUE FALSE Values from the first part of the formula would always be multiplied by another array that always starts at 1 and goes to however many columns the table has. This is really handy if the leftmost column of the table does not start in the A Column.

    • @ice8433
      @ice8433 2 ปีที่แล้ว +6

      1 year later, you saved me a major headache. bless you

  • @therodgepodge002
    @therodgepodge002 10 หลายเดือนก่อน +1

    Thank you so much, Leila! This was just what I was looking for. I just had to adapt the logic to tables, and it works like a charm.

    • @LeilaGharani
      @LeilaGharani  10 หลายเดือนก่อน +1

      Perfect! Glad you got it sorted out.

  • @BertandRussell
    @BertandRussell 5 ปีที่แล้ว

    Hi Leila,
    Your videos are really great. Probably this is best and most advanced Excel TH-cam channel in the world...I really grateful to you. Thanks a lot. God bless you.

  • @sumanchanda3950
    @sumanchanda3950 7 ปีที่แล้ว

    A week back, one of my colleagues approached me with the same problem and was searching for the solution and here I find it....Thanks Leila....and a special shout to Bill for a shorter solution....

    • @LeilaGharani
      @LeilaGharani  7 ปีที่แล้ว

      That's great! now you have many different solutions :) thanks to get the online Excel team.

  • @albumR
    @albumR 6 ปีที่แล้ว +10

    This video is so great Leila, thanks for sharing. I spent about an hour struggling to find a solution for exactly this problem. You saved my day. Much appreciated!

  • @ricardoluizmarcello
    @ricardoluizmarcello ปีที่แล้ว

    Leila, you will never know how much you helped me….

  • @GosCee
    @GosCee 3 ปีที่แล้ว

    Leila, you're good! Genius! The more I dig into you previous videos, the more gold I find. 😊 Thank you

  • @markrowell4480
    @markrowell4480 4 ปีที่แล้ว

    I enjoy your teaching style/mannerisms. I actually learn things in addition to what you're teaching (like evaluating the formula).
    I've spent a long time trying to grasp INDEX MATCH with significant frustration. Your 2 videos parted the clouds..... thank you so much!

    • @LeilaGharani
      @LeilaGharani  4 ปีที่แล้ว

      You're very welcome, Mark!

  • @uchennaanunike4214
    @uchennaanunike4214 ปีที่แล้ว

    Good one @LeilaGharani, what I want using your matrix, is an spill formular that will return the division of the game instead of the game. So, the result of the spill is where sloops is, productivity will be returned, also where is productivity will also be returned, and where fightrr is, games will be returned, twister will also return games. All these in one formular

  • @AdamKaczmarek
    @AdamKaczmarek 4 ปีที่แล้ว

    I have been battling a problem for hours in my complex spreadsheet, and your video helped me solve it! Thank you!

    • @LeilaGharani
      @LeilaGharani  4 ปีที่แล้ว

      That's great! I'm glad to hear that.

  • @DanielPeraalta
    @DanielPeraalta 5 ปีที่แล้ว +1

    Leila i'm very thankful for your videos, I thought I wouldn't be able to do what I wanted to do, and without your videos it was true! But after watching for of them about Index and match I finally was able to pull this off. You just gained one more subscriber for life, keep up the good work!

    • @LeilaGharani
      @LeilaGharani  5 ปีที่แล้ว

      I'm glad it was helpful. Great to have you here :)

  • @babbleon4826
    @babbleon4826 4 ปีที่แล้ว +2

    i was good at using index() and sumproduct() separately to query data from tables but this is outside the box. I've gone through a number of your tutorials and the way you combine basic excel functions creatively to form elegant solutions is exactly what i have been looking for. There aren't many other sites that deal with the handling of data arrays within excel functions in such an easy-to-understand way. The other vid that uses Aggregate() is also brilliant. can i also request that you show any creative uses of OFFSET() and COUNTIF() i.r.o. arrayed data, that you might have in your arsenal. Please keep up the good work and many thanks.

  • @jastonkong1409
    @jastonkong1409 5 ปีที่แล้ว +4

    wow.... I didn't know what was the double minus sign for "- - " until now. Thanks for explaining it in such an easy way to understand. Once again, you made learning Excel fun and easy! Kudos!!! :D

    • @medadarkasirga2913
      @medadarkasirga2913 3 ปีที่แล้ว +1

      you can also add zero to it. ex. =sumprodcut(0+(array1),array2)

  • @jamesreed8314
    @jamesreed8314 7 หลายเดือนก่อน

    This video helped me so much. I was trying to return dates from a dynamic calendar against two arguments. The INDEX function paired with the match functions is the way to solve it, XLOOKUP was getting confused. Thank you Leila.

  • @kuldeep.3012
    @kuldeep.3012 3 ปีที่แล้ว

    Mam, you are such a great teacher.

  • @gauravvrasttogi
    @gauravvrasttogi 3 หลายเดือนก่อน

    I am encountering this problem 7 years after you solved it 😂. Thank god, you are there. 😊

  • @jollyjuln1054
    @jollyjuln1054 2 ปีที่แล้ว

    All the best for you, Leila. Thank you for sharing your knowledge.

  • @fidget2020
    @fidget2020 5 ปีที่แล้ว +3

    Hi Leila, I have watched many of your videos & I am so impressed with your delivery - it’s simple, clear and without fluff. You launch straight into the problem & solution without mucking around. I suppose it takes a lot more effort than it appears, but I’m curious, do you prepare/write a script and rehearse, or are you pretty much ad-libbing it as you go? I realize that you know your material inside out and upside down, but still, your videos and presentation seem so effortless! Keep them coming, please!

  • @jerry171460
    @jerry171460 4 ปีที่แล้ว

    Good video. I watched it twice already and I took note.
    I do like the thought process before the actual approach to the solutions. Asking oneself to see what the correct and logical solution to the problem is brilliant. The double " --" and the minus column($a$4) were explained clearly! I like the "reasons" of why they are included/excluded in the formula.

  • @MySpreadsheetLab
    @MySpreadsheetLab 7 ปีที่แล้ว +7

    SUMPRODUCT is so incredibly useful! Great video Leila! In this challenge I suppose the idea is that you can't change the data layout? If I were in a hurry I would either create an array formula or a helper column to concatenate text values from columns B,C,D. Then a quick index/match. But then again, your sumproduct doesn't require CSE. One final option would be to quickly normalize using the ALT D P pivot trick.

    • @LeilaGharani
      @LeilaGharani  7 ปีที่แล้ว +1

      Thanks Kevin! Helper column is a good option - I also like the pivot table idea :)Thanks for sharing.

    • @rockguitarist8907
      @rockguitarist8907 7 ปีที่แล้ว +2

      Hi Kevin. Can you please further explain the helper column idea? If you CONCATENATE columns B thru D, your helper column is now the column. And I thought the idea was to get the division each text is part of. Some of the rows have two text strings in them, so you'd have to use SEARCH as part of INDEX/MATCH as well. Please help explain bc I'd love to learn what you and Leila are thinking!

    • @MySpreadsheetLab
      @MySpreadsheetLab 7 ปีที่แล้ว +2

      rockguitarist8907 hi rockquitarist! I will take a look at this tomorrow and maybe do a video. Difficult to beat Leila's sumproduct solution. And you're right that with possibly two items per row it complicates using a helper column. Cheers, Kevin

    • @rockguitarist8907
      @rockguitarist8907 7 ปีที่แล้ว +1

      That would be really great if you could do a video!

    • @MySpreadsheetLab
      @MySpreadsheetLab 7 ปีที่แล้ว +1

      I'm editing my video now!

  • @vps99999
    @vps99999 7 ปีที่แล้ว

    Awesome work Leila... Your concepts are very much clear and you are teaching how to approach in solving the problem... Amongst the best tutorials for sure!!!

    • @LeilaGharani
      @LeilaGharani  7 ปีที่แล้ว

      Thank you very much Vinay for the kind words. Am very happy to hear you find the videos useful.

  •  5 ปีที่แล้ว +2

    Excellent!!! This is the first time I see the most complex lookup like that 🤔🤔😆

  • @ah244895
    @ah244895 4 ปีที่แล้ว

    I recreated your problem and solved it, but with a twist, that I think simplifies it slightly.
    =INDEX($I$3:$K$3,1,SUMPRODUCT(($I$4:$K$15=M5)*{1,2,3}))
    I replaced your columns portion with a hard coded {1,2,3}
    More fun than watching TV!

  • @ram-it.damn-it
    @ram-it.damn-it 4 ปีที่แล้ว +2

    This is genius excel master.

  • @mahadevshah3099
    @mahadevshah3099 5 ปีที่แล้ว

    Superb.....I have become Fan of your skill, I have watched my videos from many instructers but what u did @ 6:59 is out of the box. These helpful trick are never explained. Never seen such output. I will definitely enroll you adv excel course in Udemy, I have already enrolled for your VBA course in Udemy.
    Thank u and God bless u.
    Thank

    • @LeilaGharani
      @LeilaGharani  5 ปีที่แล้ว

      I'm glad to hear that. Many thanks for your support of my courses.

  • @philipmuirhead3351
    @philipmuirhead3351 5 ปีที่แล้ว

    I was struggling to find formula to look up both a column and row heading based off a list of top 10 values from a table... this video gave me the clues to figure it out!!! Thank you!

  • @shrirangshende7024
    @shrirangshende7024 5 ปีที่แล้ว

    Very Nice explained Match and Index function I watch your videos just from one week and your presentation and simple understanding English is very good thanks

  • @saunokchakrabarty8384
    @saunokchakrabarty8384 5 ปีที่แล้ว +1

    Brilliant video. Loved it. Thanks for explaining everything so clearly. Combining all of this makes work incredibly easier.

    • @LeilaGharani
      @LeilaGharani  5 ปีที่แล้ว

      Thank you Sanouk. I’m glad you like the tutorials.

  • @didrechsler330
    @didrechsler330 7 ปีที่แล้ว

    Thanks Leila, I had no idea that you could use SUMPRODUCT for text! It's solved a long standing problem for me.

    • @LeilaGharani
      @LeilaGharani  7 ปีที่แล้ว

      You're welcome Di Drechsler. Very happy to hear that!

  • @johng5295
    @johng5295 4 ปีที่แล้ว

    Your method is the best after comparing it with Ken and Oz de Soleil.

  • @partymaschine92
    @partymaschine92 5 ปีที่แล้ว +6

    I really really like all of your videos! I‘ve learned so much. I like the way you solve problems by using the target function and looking what parameters have to be dynamic.
    However in this case, I think it may work also by using PowerQuery and trying to unpivot the datasets. Am I right ?

  • @vivek1416
    @vivek1416 5 ปีที่แล้ว

    Excellently you have taught the video..Truly amazing madam..Keep helping us in getting to learn many such amazing functions in excel.thank you.

    • @LeilaGharani
      @LeilaGharani  5 ปีที่แล้ว

      I'll definitely do that. Glad you find the video helpful.

  • @sachinrv1
    @sachinrv1 5 ปีที่แล้ว

    Fantastic video Leila :) This is the most groovy video on SUMPRODUCT I've ever seen..

  • @s.y.daniel2137
    @s.y.daniel2137 6 หลายเดือนก่อน

    thanks, just what I needed today ! Thought it was simple to look up a matrix to return the header. with MS 365, is there an easier way to do?

  • @frankyroussos1352
    @frankyroussos1352 3 ปีที่แล้ว

    First of all I would like to thank you a lot for learning new functions like INDEX, MATCH & SUMPRODUCT. Excellent work!
    My solution would be: (I have my source table in cells I3 to K21 with labels from I3 to K3 and my search criteria in cells M3 to N10 with labels from M3 to N3) in cell P4 I wrote the formula =IF(ISERROR(VLOOKUP($M4;I$4:I$21;1;FALSE));0;1) in cell Q4 the formula =IF(ISERROR(VLOOKUP($M4;J$4:J$21;1;FALSE));0;2) and in cell R4 =IF(ISERROR(VLOOKUP($M4;K$4:K$21;1;FALSE));0;3) then in cell S4 I add the three together =SUM(P4:R4) and come up with either number 1, 2 or 3. Then just a simple =VLOOKUP(S4;$P$12:$Q$14;2;FALSE) in cell T4 after using a small reference table for 1 Productivity, 2 Games, 3 Utility in Cells P12:Q14. Finally I drag/copy the formulas down from P4:T4 up to P10:T10 and voila! This way I may use more columns but I also solve problems like repitting values as raised by Mr. Michael Bethel below.

  • @3BoxCreation
    @3BoxCreation 2 ปีที่แล้ว

    great video leila.. thank you so much ♥️♥️

  • @VS-rh8rq
    @VS-rh8rq 7 ปีที่แล้ว

    Sumproduct better approach.i was using index with a match within index to isolate column where the look up value was..This simpler way..thank you

    • @LeilaGharani
      @LeilaGharani  7 ปีที่แล้ว

      Hi Vimal - I was also first thinking of the Index within a match to isolate the column and then sumproduct occurred to me :)

  • @wliu330
    @wliu330 3 ปีที่แล้ว

    Even though this video is 3 years old, it's way more advanced than what I would learn at uni... thank you!! I do have a follow up question if I may? What if one of the apps belonged to multiple categories, say Productivity and Utility? I have a similar spreadsheet but can't figure out how to do a summary because i have duplicate values... (replace date column with user names, and app category with event names... and instead of app names I have role names like trainer or lead trainer... that's pretty much my spreadsheet!) I'd be grateful for any hints on this! Thank you!

  • @tha2irtalib343
    @tha2irtalib343 5 ปีที่แล้ว

    You are great , leila , I'd lost much by not following you earlier .
    In case of my bad English , I apologise .

    • @LeilaGharani
      @LeilaGharani  5 ปีที่แล้ว

      No worries. It's great to have you here!

  • @matiascampiani9156
    @matiascampiani9156 3 ปีที่แล้ว

    Hi Leila, amazing video!! Great explanation and it solved the problem I had. Thanks so much!

  • @KS-qc4lo
    @KS-qc4lo 4 ปีที่แล้ว

    Oh man! This video saved my ass on a project. Thanks!!!!

  • @maurobellotti
    @maurobellotti 5 ปีที่แล้ว

    Awesome... I'd never had this figured out all by myself. Mind blowing. Thanks a lot

  • @DH-sf8lx
    @DH-sf8lx 7 ปีที่แล้ว +2

    simply brilliant!! Thank you for sharing your knowledge.

    • @LeilaGharani
      @LeilaGharani  7 ปีที่แล้ว +1

      You're very welcome D H :)

  • @RakeshSaha1705
    @RakeshSaha1705 4 ปีที่แล้ว

    I love the way you explain the logic to choose any formula. Really a great job you are doing.

  • @sachinrana184
    @sachinrana184 5 ปีที่แล้ว

    I appreciate your effort. Very helpful video.✌️

  • @pipo441
    @pipo441 2 ปีที่แล้ว +1

    Two questions I have for you Leila: What if the same app appears 2 times in the same column? And how would it look like also to look up the date?

  • @KC_47.
    @KC_47. 4 ปีที่แล้ว

    I always watch your video.. You are super genius!! The way u think, so amazing! I'll always support your channel! Pliz upload more videos!

    • @LeilaGharani
      @LeilaGharani  4 ปีที่แล้ว +1

      Thank you so much 😀

  • @eduartshqiptari
    @eduartshqiptari 3 ปีที่แล้ว

    Excellent! Many thnx for being so helpful

  • @michaeldiamond2726
    @michaeldiamond2726 7 ปีที่แล้ว +1

    Nice spin on Index and Sumproduct doing a 2 way lookup (replacing Match with Sumproduct). Interesting how you find new uses for familiar functions (which is fantastic). I could see, though, that you would have a problem if you had duplicate values in your original data. I think you would have to have some sort of mega array formula to display all the values, don't you think?

    • @LeilaGharani
      @LeilaGharani  7 ปีที่แล้ว

      Hi Michael - thanks for you comment. Yes - this is for cases when you are sure you have unique values, otherwise like you say you would run into problems. If you have more than one occurrence, I would probably use the AGGREGATE and the LARGE function inside of INDEX. I'll make a video on this approach as soon as I get a chance :)

    • @michaeldiamond2726
      @michaeldiamond2726 7 ปีที่แล้ว

      I think that would be awesome Leila. Are you on holiday?

  • @michaelbethel8081
    @michaelbethel8081 4 ปีที่แล้ว +9

    WHAT IF SAY "BLEND" APPEARS MORE THAN ONCE UNDER "PRODUCTIVITY" THEN INSTEAD OF "1" IT WOULD COUNT "2" AND GIVE THE WRONG COLUMN WHATS A WORK AROUND OR SOLUTION TO THIS?

  • @chamindabasnayake4844
    @chamindabasnayake4844 7 ปีที่แล้ว

    Hi Leila, Brilliant lesson, Thank you.

    • @LeilaGharani
      @LeilaGharani  7 ปีที่แล้ว

      You're welcome Chaminda.

  • @michaelkim9258
    @michaelkim9258 4 ปีที่แล้ว

    This is next level. Thanks so much.

  • @jayacharya7333
    @jayacharya7333 5 ปีที่แล้ว

    Wow... Great use of Sum Product. Enjoyed it. Thanks..

    • @LeilaGharani
      @LeilaGharani  5 ปีที่แล้ว

      You're very welcome Jay. Glad you liked it.

  • @roystiner3937
    @roystiner3937 9 หลายเดือนก่อน

    I'm having trouble when using this but with table values such as table[#headers], etc... what would you recommend? My case is basically identical to this one but I want it to have the dynamic function that tables grant so I can move things around etc. and not cause errors.

  • @F002boy
    @F002boy 7 ปีที่แล้ว

    Sounds like this is the solution I am looking for, thank you, Leila!

    • @F002boy
      @F002boy 7 ปีที่แล้ว

      Thanks a lot again, Leila!!
      Index + Subproduct is indeed what solved my problem
      However, in my database, sometimes "Blend" appears in more than one column,
      so it adds up the two matched number and returned a wrong column result...
      In my case, the ideal result is have 2+ cells showing the 2+ matched columns...
      Can you please please please teach me how I can do that?
      Thanks so much!!

    • @LeilaGharani
      @LeilaGharani  7 ปีที่แล้ว +1

      Hi F002boy - Yes - this solution is for cases when you are sure you have unique values. In case not, you need to use a different approach. I can think of replacing SUMPRODUCT with AGGREGATE together with the LARGE function to get the first occurrence, then second occurrence and so on.... I can make a video on this and post as soon as I get a chance...

    • @F002boy
      @F002boy 7 ปีที่แล้ว

      Noted.
      Yes, please make this video when you get a chance, I have been stuck on this for a very long time, it will be super duper helpful in many ways if I can do this.
      Many Many thanksss, Leila!!

    • @LeilaGharani
      @LeilaGharani  7 ปีที่แล้ว +1

      Sure. Would gladly do so. It should be out on Wednesday.

    • @F002boy
      @F002boy 7 ปีที่แล้ว

      THANK YOU SO MUCH!!

  • @shironmania
    @shironmania 4 ปีที่แล้ว

    Hi Leila, should we use sumproduct function for sure...any other ways we can solve for this result. But in the process thanks that we were glad we were exposed to usage of sumproduct, F9 and copying them to another field to monitor them.

  • @asmrindia
    @asmrindia 3 ปีที่แล้ว +1

    Amazing Mam

  • @abdanomer
    @abdanomer 7 ปีที่แล้ว

    Brilliant work
    Combination of index with sumproduct could be very powerful.
    I thought of some how using 3 Hlookup ( for the 3 columns) with iferror and if function to identify the column location. But still your idea is more accurate

    • @abdanomer
      @abdanomer 7 ปีที่แล้ว

      In some case if the data have some duplications in different columns what could solution to bring more than one header ?

    • @LeilaGharani
      @LeilaGharani  7 ปีที่แล้ว

      hmmmmm.... I have to think about that....

    • @LeilaGharani
      @LeilaGharani  7 ปีที่แล้ว

      You're welcome Abdelrahman. The HLOOKUP methods sounds very creative....

  • @alexandergerlach4579
    @alexandergerlach4579 6 ปีที่แล้ว

    You are Amazing! Your videos helped me out a lot! THANK YOU!

  • @dhunpagla3871
    @dhunpagla3871 7 ปีที่แล้ว

    Super helping.... Thanks for sharing such knowledge with us 👌

    • @LeilaGharani
      @LeilaGharani  7 ปีที่แล้ว

      You're welcome Dhun. Through sharing and questions from the community, I also learn. So that works out well :)

  • @krn14242
    @krn14242 6 ปีที่แล้ว

    Great approach.

  • @Belttonne1
    @Belttonne1 ปีที่แล้ว

    I have homework to do now! ❤

  • @mayankkapoor6155
    @mayankkapoor6155 4 ปีที่แล้ว

    This one is again mind-blowing video you share...
    I THink you are devloper of Excel??

    • @LeilaGharani
      @LeilaGharani  4 ปีที่แล้ว +1

      I wish! Just a user like you :)

    • @mayankkapoor6155
      @mayankkapoor6155 4 ปีที่แล้ว

      @@LeilaGharani
      I wish just my all teacher 💔 Like you...

  • @abdelkrimmesaiahmed662
    @abdelkrimmesaiahmed662 4 ปีที่แล้ว

    Great video thank you

  • @TheMhujako
    @TheMhujako 5 ปีที่แล้ว

    This is really a great help! You nailed it! :)

    • @LeilaGharani
      @LeilaGharani  5 ปีที่แล้ว +1

      I'm glad to hear that :)

  • @alexandonian1273
    @alexandonian1273 7 ปีที่แล้ว

    Great video. This is very useful!

    • @LeilaGharani
      @LeilaGharani  7 ปีที่แล้ว

      I'm glad to hear that Alex.

  • @Scaw
    @Scaw 5 ปีที่แล้ว

    Truly excellent. And I thought that I knew Excel well......!

  • @muhammadfarooq891
    @muhammadfarooq891 6 ปีที่แล้ว

    Incredibly awesome, Leila please share please make video on countif or counta adjoined with dates.

    • @LeilaGharani
      @LeilaGharani  6 ปีที่แล้ว

      I have sumifs with dates. Countifs will work in a similar way. Check it out here: th-cam.com/video/XIhbL20jTHc/w-d-xo.html

  • @kohyeechang2980
    @kohyeechang2980 5 ปีที่แล้ว

    Hi Leila, your video is awesome and amazing. Can i know if there I were to simply lookup for "AA", what is the result could be? I tried for working file, it will auto default to a header....How can i ensure i will turn out as blank?

  • @dipakacharya6903
    @dipakacharya6903 7 ปีที่แล้ว

    Great. Love the way u make us understand.

    • @LeilaGharani
      @LeilaGharani  7 ปีที่แล้ว

      Thank you. You're very welcome Dipak.

  • @vignesvaranc2013
    @vignesvaranc2013 2 ปีที่แล้ว

    Hi, it was very useful, but like the same I need to know how to match a number, instead of words "Blend" says if "1" or "0.5".

  • @arghoshj
    @arghoshj 4 ปีที่แล้ว

    Awesome 👏

  • @raghuv7114
    @raghuv7114 5 ปีที่แล้ว

    Thank you and well received

  • @hectormunoz4812
    @hectormunoz4812 3 ปีที่แล้ว

    Hello this is a great explanation. In my situation I have a matrix with random numbers. In a separate cell I am calculating a certain value. I want excel to look for the NEAREST value I calculated in the matrix and then tell me the corresponding column and row header. I would greatly appreciate if you can explain.

  • @yurd563
    @yurd563 5 ปีที่แล้ว

    very grateful for the video!

    • @LeilaGharani
      @LeilaGharani  5 ปีที่แล้ว

      I'm glad the video is helpful.

  • @scheekostudio6574
    @scheekostudio6574 4 ปีที่แล้ว

    Thank you very much. It’s superb and really helpful for my work.

  • @jingwu8461
    @jingwu8461 6 ปีที่แล้ว +1

    Great. Hope one day I can use it at work.

  • @esbi1124
    @esbi1124 3 ปีที่แล้ว +1

    Hello, just super.

  • @jeenacandy
    @jeenacandy 11 หลายเดือนก่อน

    Can you please help - I have stores in first column and 600 items listed for each store in 600 columns. I need to get list of items header if the value under any of the item columns for a particular store is greater than 0.

  • @kanjenplays3946
    @kanjenplays3946 5 หลายเดือนก่อน

    What is formula if you look up for the date instead at the left?

  • @xlschool7334
    @xlschool7334 5 ปีที่แล้ว

    very complex I did'nt know what you did
    any your super intelligent teacher

  • @tracymayer780
    @tracymayer780 6 ปีที่แล้ว

    Hi Leila, sorry for such a basic question, but how does the column function know to return the correct column value when the reference argument is the array? I can see that the first part of the sumproduct function knows the position of the matching value, but how does the column function know the position?

    • @LeilaGharani
      @LeilaGharani  6 ปีที่แล้ว

      Hi Tracy - that's not a basic question actually. Arrays took me a while to understand too. The column function returns numbers. So column(B4) returns a 2 since B is column number 2. Inside the array, I refer to COLUMN($B$4:$D$4) which returns {2,3,4} and then I deduct column($A$4) which returns 1. This leaves me with column number {1,2,3} which I can use in the Index function to find the right column. Hope this makes a little sense?

  • @PROHDGaming
    @PROHDGaming 7 ปีที่แล้ว

    Awesome video Leila

  • @teoxengineer
    @teoxengineer 4 ปีที่แล้ว

    Leila Hi,
    So, what should be done in case of repeated naming in the same columns? The index number turns 2 or 3... instead of 1 or 2.

    • @deepaksahu-nf1vb
      @deepaksahu-nf1vb 4 ปีที่แล้ว

      Do you have any better option plz tell us

  • @tonytinderal
    @tonytinderal 6 ปีที่แล้ว

    Great Video!

  • @marlonhalliday3274
    @marlonhalliday3274 4 ปีที่แล้ว

    Hi Leila how would you sumproduct where the criteria is in another column. Eg a table with two columns A1:A10, B1:B10 and criteria in D1:D3. I want to sum the values in B that matches the criteria in A. Thanks

  • @marcosmarcelino4912
    @marcosmarcelino4912 3 ปีที่แล้ว

    Thanks very much!!!

  • @julietthornton6628
    @julietthornton6628 5 ปีที่แล้ว

    Awesome! A great way of looking at the problem and so beautifully explained! This is literally the best excel video I've seen in terms of clarity and delivery :-)
    In the scenario I'm working on, I need to do this with a partial match/contains. e.g. where you are looking at 'blend' in column H, I would be looking at a text string like 'my blend' or 'blend magic' - essentially the word 'blend' could be anywhere in that string so we want to find the first instance of a word in the array partially matching the text string. Anyone got any bright ideas?

  • @allanaahmariee
    @allanaahmariee 3 ปีที่แล้ว

    Good day.
    I would like to ask what to do if my lookup value inside sumproduct is a result of another excel function.
    I initially tried to put "value" before the lookup value but it only works for number, unfortunately I have look up values that is a combination of letters and number.

  • @farmerwang1973
    @farmerwang1973 4 ปีที่แล้ว

    Awesome!!!

  • @HistorianTrevi
    @HistorianTrevi 6 ปีที่แล้ว

    Thanks for the video! Very clear as always! I hope I won't annoy you if I ask a question. Finally I found in this tutorial a table resembling the one in my spreadsheet so perhaps I'm able to explain clearly: suppose you have numbers instead of app names, how can I get two (or one or all depending on the table row composition) results by matching only the date? In other words I'm trying to input a date and get the results for that row in the non-blank columns. I've tried looking for v, hlookups and index(match) functions returning multiple results but I can't get it to work (moreover, all tables in the tutorials I followed were without blanks). Thanks in advance to whoever can help!

  • @ashish291191
    @ashish291191 5 ปีที่แล้ว

    Simply Amazing :)

  • @N_TALK
    @N_TALK 7 ปีที่แล้ว

    Thanks for the Awesom video Leila Gharani....

    • @LeilaGharani
      @LeilaGharani  7 ปีที่แล้ว +1

      You're very welcome.

    • @N_TALK
      @N_TALK 7 ปีที่แล้ว

      Leila Gharani
      Please share your email id i have a problem with data velidation function which i use in Inventory managment (in FIFO) there is some problem.
      The problem is write here in the comment box it is not possible.

    • @LeilaGharani
      @LeilaGharani  7 ปีที่แล้ว

      best is to post your specific question either here: www.mrexcel.com/forum or here: www.excelforum.com/ - you can post a link to your question here too and if I get a chance I can take a look, otherwise you will get answers from others....

  • @lihibiran8648
    @lihibiran8648 5 ปีที่แล้ว

    You have great videos @Leila Gharani !!Thank you. Would you also share a method to lookup the latest date in a table according to multiple criteria match in different columns other then the date?

  • @singhvaranasi
    @singhvaranasi 6 ปีที่แล้ว

    awesome and very helpful, thanks

  • @ابراهيمالرجب-ه9ط
    @ابراهيمالرجب-ه9ط 3 ปีที่แล้ว

    Good go ,please keep up