The Excel Formula I Can’t Live Without

  Рет қаралды 34,295

Excel Campus - Jon

Excel Campus - Jon

Күн бұрын

Пікірлер: 71
@PRHC38
@PRHC38 4 ай бұрын
Dude! All do respect...lol. You saved my hide. Been trying to figure out how to do this with multiple criteria into one cell for about two weeks now. I was not able to accomplish this through any other video. My friend this is amazing. Can't thank you enough. Pass the collection plate around for this one...lol.
@ExcelCampus
@ExcelCampus 4 ай бұрын
Glad it helped. 😀
@PRHC38
@PRHC38 4 ай бұрын
@@ExcelCampus absolutely! One thing however. If possible please add how to format using the “unique” function. I was able to create the formula based on what you have here but then I saw that I had duplicates. Then I remembered to use “unique” in order to correct that. Other than that this tutorial is perfect! Thanks again.
@ExcelCampus
@ExcelCampus 4 ай бұрын
Great suggestion, Toure! For anyone else reading this, you can wrap FILTER in UNIQUE to remove duplicates on the results of FILTER. =UNIQUE(FILTER()) I'm planning to do a follow-up video on FILTER based on all the great questions and suggestions in the comments here. I'll include this example. Thanks again and have a nice day! 🙂
@TheBtrivedi
@TheBtrivedi 4 ай бұрын
Found your Channel Today. This video looks like herbs and therapy to me. Great upload. Thank you so much. ❤ Looking forward for more.
@chazhinkeldey2362
@chazhinkeldey2362 4 ай бұрын
Wow! Thanks for this! I literally needed it last night and walked in this morning and had this video in my inbox!!
@ExcelCampus
@ExcelCampus 4 ай бұрын
Amazing! Thanks for sharing Chaz. I'm happy to hear it helped. 🙏
@PaulEBrownbill
@PaulEBrownbill 4 ай бұрын
Excellent filter function, liking the and or logic tips, and hard coding as much of the formula as possible. Paul
@heatherr5191
@heatherr5191 4 ай бұрын
GREAT examples, and very clear explanation - thanks as always Jon. This is going into my current set of review files to help me remember this new way to do things.
@ExcelCampus
@ExcelCampus 4 ай бұрын
Thanks Heather! I'm happy to hear you'll be adopting these techniques. 😊
@IvanCortinas_ES
@IvanCortinas_ES 4 ай бұрын
Excellent tutorial, as always, Jon. Very interesting example using ARRAYTOTEXT combined with FILTER. Thanks for sharing.
@ExcelCampus
@ExcelCampus 4 ай бұрын
You're welcome! 😀
@rrki
@rrki 4 ай бұрын
Great material. Thanks John
@boaznechmad
@boaznechmad 10 күн бұрын
Wow!!!!!! you r amazing!!!!
@chrism9037
@chrism9037 4 ай бұрын
Nice video and very well-explained, thanks Jon!
@ExcelCampus
@ExcelCampus 4 ай бұрын
Thanks Chris! 🙌
@bbotzong
@bbotzong 4 ай бұрын
Nice tutorial, Jon. Thanks for sharing!!!!!
@ExcelCampus
@ExcelCampus 4 ай бұрын
Thanks Bill! 🙌
@bennyjulong2033
@bennyjulong2033 4 ай бұрын
Awesome ! It's very useful tip to me for my daily routine work Thanks a lot ❤
@ExcelCampus
@ExcelCampus 4 ай бұрын
I'm happy to hear it. Thanks Benny! 🙌
@nicolebrocke8989
@nicolebrocke8989 4 ай бұрын
Thank you for this video! I was just trying to use this function for the first time today! Perfect timing! Is there a way to use the filter function with the sort function AND sort the data in a custom order (not ascending or descending)?
@ExcelCampus
@ExcelCampus 4 ай бұрын
Great question, Nicole! Yes, it's definitely possible. When you say custom order, do you want to sort ascending/descending based on another existing column in the source table?
@nicolebrocke8989
@nicolebrocke8989 4 ай бұрын
Another column in the source table, yes. However, not ascending or descending but rather a specific custom order.
@ExcelCampus
@ExcelCampus 4 ай бұрын
Thanks for clarifying. So, yes, this is possible using the SORTBY function. We need to sort both the array and include arguments withing FILTER first. Basically, we sort then filter. This means SORTBY must be used twice. So the formula looks something like the following. =FILTER(SORTBY(),SORTBY()=B4) This will return the sorted arrays to filter, and filter criteria "=B4" can be applied to the sorted array. To do a custom sort we can use the XMATCH function to look up and return the row number on the custom sorted list. Here's an example formula from the Tables example in the video at 3:54. =FILTER(SORTBY(tblContacts3[[Contact Name]:[State]],XMATCH(tblContacts3[State],P7:P14)),SORTBY(tblContacts3[Customer Name],XMATCH(tblContacts3[State],P7:P14))=B4) I have a unique list of the States in a custom order in P7:P14. XMATCH is looking up each value in the state column in that list and returning the row number to SORTBY. I'm planning a follow-up video on advanced techniques for FILTER and I'll include this example. I hope that helps. Thanks again and have a nice day! 🙂
@nicolebrocke8989
@nicolebrocke8989 4 ай бұрын
This is very helpful! Thank you for taking the time to respond! I look forward to watching your follow up video.
@michael6malone
@michael6malone 4 ай бұрын
Thank you Jon. That was very well explained. I feel like an expert :)
@angelaisland4036
@angelaisland4036 4 ай бұрын
Great information as always! Thanks Jon!
@ExcelCampus
@ExcelCampus 4 ай бұрын
Thanks Angela! 🙂
@warrenanderson412
@warrenanderson412 4 ай бұрын
As always...great content!
@deepakmirchandani1348
@deepakmirchandani1348 4 ай бұрын
great video sir. thanks. further how to use filter function for approximate match ?. please help
@tomjun8945
@tomjun8945 4 ай бұрын
Very helpful video! Thank you for your content.
@ExcelCampus
@ExcelCampus 4 ай бұрын
You're welcome! 😀
@OneToothedWonder
@OneToothedWonder 4 ай бұрын
Great tutorial. TYSM.
@KrisArmstrong-n9o
@KrisArmstrong-n9o 4 ай бұрын
Love! Love! Love! ❤❤ Thanks!
@ExcelCampus
@ExcelCampus 4 ай бұрын
Thanks Kris! 😊
@virginia555
@virginia555 4 ай бұрын
Super useful, thank you
@ExcelCampus
@ExcelCampus 4 ай бұрын
Thanks Daniel! 🙂
@yyusof78
@yyusof78 4 ай бұрын
Marvelous mr Jon
@alcol72-0
@alcol72-0 4 ай бұрын
Is it just me or 0+1 should equal 1 at 12:18? Anyways, thanks Jon for another great video!
@ExcelCampus
@ExcelCampus 4 ай бұрын
You are correct. Typo during the editing process. Sorry about that! Thanks for letting us know. 🙌
@mikolajs6067
@mikolajs6067 2 ай бұрын
great! thank you
@potatocraftd6629
@potatocraftd6629 4 ай бұрын
I use this filter function for dynamic live reports
@vinc.7765
@vinc.7765 4 ай бұрын
Very useful! Is it possible to have the timestamps?
@ExcelCampus
@ExcelCampus 4 ай бұрын
Thanks for the reminder, Vin! We just added the timestamps for chapters. 👍
@35jays
@35jays 4 ай бұрын
Thanks!!
@WaqasAhmed-gj3sq
@WaqasAhmed-gj3sq 4 ай бұрын
Which software you use for video effects, editing and transitions?
@kellershouse
@kellershouse 4 ай бұрын
When you are using the ArrayToText could you use an ALT ENTER to delimit the results to the same cell but with a formatted wrap text. So the cells would expand with multiple values?
@ExcelCampus
@ExcelCampus 4 ай бұрын
Great question, Kent! Yes, there are few ways to go about this. You can use the CHAR(10) function as a delimiter for TEXTJOIN. Use TEXTJOIN instead of ARRAYTOTEXT so we can specify the delimiter. The 10 in CHAR(10) returns a line break as the delimiter between each value. The formula looks like the following. =TEXTJOIN(CHAR(10),TRUE,FILTER(tblContacts6[[Contact Name]:[Phone Number]],tblContacts6[Customer Name]=B4)) You must apply Wrap Text formatting to the cell and increase the row height to see the results on multiple lines within the cell. Since the array for FILTER contains two columns, the results will look like the following. Ketty 5552264675 Justine 5552879911 Inger 5553794109 Jimmy 5554385379 If you want to get both name and phone number on the same line, then you can use BYROW with LAMBDA to first join each row with a delimiter, then join the rows with a line break. Here is what that formula looks like. =TEXTJOIN(CHAR(10),TRUE,BYROW(FILTER(tblContacts6[[Contact Name]:[Phone Number]],tblContacts6[Customer Name]=B4),LAMBDA(row,TEXTJOIN(", ",TRUE,row)))) And the results will look like the following. Ketty, 5552264675 Justine, 5552879911 Inger, 5553794109 Jimmy, 5554385379 I hope that helps. I'll do a follow up video on these techniques. I think they are great ones to know for certain scenarios.
@SandeepTiwari-dp2wx
@SandeepTiwari-dp2wx 4 ай бұрын
Hello Jon, thanks this is really very helpful. But how to get details if my required column are not in a sequence. eg. Contact Name is column c and phone number is column h...so on. Please help.. thank you 🙏
@ExcelCampus
@ExcelCampus 4 ай бұрын
Hi Sandeep, Great question! You can still use CHOOSECOLS and specify the column numbers out of order. For example, you could use 1,4,2 for the column numbers to return the State column before the Phone Number column. I talk about CHOOSECOLS at 5:31 in the video. I hope that helps. Thanks again and have a nice day! 🙂
@you_are_kidding_me_right
@you_are_kidding_me_right 4 ай бұрын
Can a drop down box be done for filtering contacts where you can choose from the drop down?
@ExcelCampus
@ExcelCampus 4 ай бұрын
Great question! Yes, I talk about adding a drop-down list at 3:03 in the video. You can use the same technique for filtering contacts instead of customer/company names. If you want to only display contacts in the drop-down for the selected customer, this can also be done. It's typically referred to as dependent drop-down lists. I'm planning a follow-up video on advanced techniques for FILTER and I'll include this one as an example. I hope that helps. Thanks again and have a nice day! 🙂
@you_are_kidding_me_right
@you_are_kidding_me_right 4 ай бұрын
@@ExcelCampus Thanks!!!💯
@richardhay645
@richardhay645 4 ай бұрын
One problem with CHOOSECOLS/ROWS is that they don't accept cell references. If you add or delete rcolums/rows the formulas break. Also clicking on a column name is more convenient than counting columns in a many-column data set
@ExcelCampus
@ExcelCampus 4 ай бұрын
Great point, Richard! We can use the XMATCH function within CHOOSECOLS to help prevent this issue. The formula would look like the following. =FILTER(CHOOSECOLS(tblContacts3[[Contact Name]:[State]],XMATCH(C3:E3,tblContacts3[[#Headers],[Contact Name]:[State]])),tblContacts3[Customer Name]=B4) XMATCH will look up all three header values in C3:H3 in the table that contains the source data, and return an array of column numbers {1,2,4} to CHOOSECOLS. This allows for columns to be inserted/deleted and also more flexibility with what is displayed in the results. I'll do a follow up video on more advanced techniques and include this one. Thanks again and have a nice day! 🙂
@richardhay645
@richardhay645 4 ай бұрын
@ExcelCampus yes!! I'm down for a video on as many advanced topics with FILTER as you can come up with. I'm also down with Microsoft modifying FILTER to accept cell references. Finally I'm down with trying CoPilot to see if it can duplicate your EXMATCH construction to save me a bunch of keystroks!! Thanks for your help.
@viktorasgolubevas
@viktorasgolubevas 4 ай бұрын
@@ExcelCampus Great, Jon! Actually, in most cases of "CHOOSECOLS/XMATCH" we could reference just a table instead of a structured diapason =FILTER(CHOOSECOLS(tblContacts3, XMATCH(C3:E3, tblContacts3[#Headers])), tblContacts3[Customer Name]=B4)
@viktorasgolubevas
@viktorasgolubevas 4 ай бұрын
@@ExcelCampus Also, in case your target non-adjacent header is an ordered (important) subset of the source header, I'm using COUNTIF technique - demo of 2-dimensional slice and dice with FILTER :)) =FILTER(FILTER(tblContacts3, COUNTIF(C3:E3, tblContacts3[#Headers])), tblContacts3[Customer Name]=B4)
@rihanfz9900
@rihanfz9900 2 ай бұрын
👍
@oluwapelumiaroboto5382
@oluwapelumiaroboto5382 4 ай бұрын
Please share the link to the file.
@ashokgaddam8996
@ashokgaddam8996 4 ай бұрын
Nice
@H4XOR23
@H4XOR23 4 ай бұрын
Is there any way I can schedule teams meeting from excel from tables in spreadsheet?
@sanketv1
@sanketv1 4 ай бұрын
Filter is an array function , means it will display #SPILL error if list goes beyond available space below it. Is there a way to restrict the list of rows it displays so we will not get #SPILL error
@ExcelCampus
@ExcelCampus 4 ай бұрын
Great question, Zohar! Yes, we can use the TAKE function to limit the number of rows. =TAKE(FILTER(), 2) That formula will return the first 2 rows from the results of FILTER. You can specify a negative number if you want to return the last rows from the bottom instead. I'm planning a followup video on advanced uses for FILTER and I'll include this example. I hope that helps. Thanks again and have a nice day! 🙂
@redhaakhund1271
@redhaakhund1271 4 ай бұрын
👍👍👍👍👍🙏
The Show Details Checkbox: Advanced Excel Formulas
17:38
Excel Campus - Jon
Рет қаралды 16 М.
2-Way XLOOKUP in Excel: Better than INDEX MATCH?
12:53
Excel Campus - Jon
Рет қаралды 30 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
5 Excel Tricks for Self-Updating Spreadsheets (Files Included)
22:52
MyOnlineTrainingHub
Рет қаралды 166 М.
Excel Settings That ACTUALLY Make a Difference
12:27
Excel Campus - Jon
Рет қаралды 52 М.
5 Excel Secrets You'll Be Embarrassed You Didn't Know
17:32
Excel Campus - Jon
Рет қаралды 291 М.
The Excel Tool That Does What PivotTables Can’t (File Included)
13:59
MyOnlineTrainingHub
Рет қаралды 281 М.
Try This Instead of the XLOOKUP
10:06
Kenji Explains
Рет қаралды 144 М.
This is how I ACTUALLY analyze data using Excel
24:05
Mo Chen
Рет қаралды 395 М.
Next level FILTER Function tricks | Excel Off The Grid
13:23
Excel Off The Grid
Рет қаралды 40 М.
Change These 10 Settings Before You Use Excel Again
12:44
Kenji Explains
Рет қаралды 116 М.
How to use Power Pivot in Excel | Full Tutorial
30:38
Kevin Stratvert
Рет қаралды 1,6 МЛН
The Excel Functions Almost Everyone Overlooks (Better Than SUMIFS)
10:29
MyOnlineTrainingHub
Рет қаралды 129 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН