Blog Stats
 2,608,372 hits
 Follow wmfexcel on WordPress.com
Search wmfexcel
Want Google to translate this page?

Recent Posts
Top Posts & Pages
 How to sort bar chart in descending order?
 Show number in thousand (k) or in million (M) by using custom format
 Date Formats  A trick to format date with "st", "nd", "rd", "th"
 Insert a text string into a specific position of another text string in #Excel
 Perform VLOOKUP with 2 lookup values
 Open an embedded Excel file during a slide show in PowerPoint?
 Be cautious when using XLOOKUP
 Sequential number for visible rows only
 When unhide row doesn't work...
 Highlight weekends and holidays using Conditional Formatting in #Excel
My YouTube Channel
My Facebook page
 My Tweets
Category Archives: Formula
Convert numbers of different digits into text of fixed digits in #Excel
The situation We have an extensive list of numbers in different digits, say from 10 to 13 digits. The problem is, they are supposed to be numbers in thirteen digits stored as text. (Of course, in our example, we work … Continue reading
#Excel INDIRECT function explained with a use case
There are many #Excel functions that you may not find them useful when you first learn them. Sometimes you may even doubt why there are such functions. INDIRECT should be one of them. đ€ What INDIRECT does? It returns the … Continue reading
Have you encountered any weird formula in #Excel?
Happy Halloween! đ» Let’s do something fun. You are invited to leave your comments below. For what? For sharing with us any “weird” formula that you have ever seen in Excel. Real cases please. đ Wait… what do I mean … Continue reading
SUM the last X nonblank values in a column in #Excel
Got this question from my brother. He is tracking scores for game he plays with friends. The game can be played with up to four players. He wants a formula to calculate the last 10 scores of a player. He … Continue reading
Determine leap year with #Excel
Today is a special day.Â Today is February 29th, which happens only once every four years.Â And today is Saturday, when I usuallyÂ post a new blog.Â So letâs talk about how to determine if a year is leap year using … Continue reading
Be cautious when using XLOOKUP
Can you spot the error in the above formula? It’s not about the new function of XLOOKUP.Â It’s about inevitable human error… If you are an Excel fan, you should be aware of the exciting XLOOKUP function in Office 365.Â … Continue reading
Send a cell content to Google search
This is a continuation of previous post,Â in which I talked about the potential use of Smart Lookup for an ExcelÂ dashboard.Â However there is limitation.Â It drove me to think of an alternative. Instead of asking user to trigger Smart … Continue reading
Apply Conditional Format for alternate row color based on groups…
…that works even when filter is applied. The situation: We have a table that we would like to apply color banding based on groups.Â We can achieve this by inserting a helper column to identify the sequence of each group, … Continue reading
Extract FirstLast names in CamelCase with #Excel formula
In the previous blog post, we see how Flash Fill extracts First Name and Last Name from an email address in a format shown above.Â I’ve also recorded a video for that post. Flash Fill is so smart to detect … Continue reading
Highlight weekends and holidays using Conditional Formatting in #Excel Part 2
Conditional Formatting with formula could be tricky (or difficult), especially when the data layout is bad because you have to very clear and careful on the âapplied toâ range and the absolute/relative references set in the formula. Otherwise, it wonât work and can be quite confusing, if not frustrating. đ
In this post, I will talk about a case that you will see how empty rows in a data set would complicate the process in setting up conditional formatting. And then I will show three different approaches to tackle the issues. Hope you find it helpful. Continue reading
Learn something new from something that I think I knew well…
Today is a public holiday in Hong Kong.Â A perfect break in the middle of a busy week.Â What did I do on a public holiday?Â Excel, Excel and Excel. đ I watched a few videos from my favourite YouTube … Continue reading
Change the first letter to upper case, first word only please #Excel
This is a short story of mine, and an imaginary conversation in my head…Â How to change the first letter (of first word only) to upper case in Excel? This was a question from a colleague sitting opposite to me.Â … Continue reading
How to remove leading space in #Excel
When TRIM and CLEAN do not work… Is it something bothering you? To fix this problem, we need to understand where is the “leading space” coming come.Â Before we jump to that, I want to show you two Excel functions … Continue reading
Has Space or NoSpace in worksheet name?
Have you received workbook from others that carries underscore _Â as if a space in their worksheet names?Â Did you wonder why people use underscoreÂ when we can actually use space in worksheet name? Well… didÂ you know… long long time ago, #Excel … Continue reading
The missing link of HYPERLINK function in #Excel help
I seldom use the HYPERLINKÂ functionÂ in #Excel.Â Â Normally I insert hyperlink by CTRL+K, then setting the reference I want the link to go to.Â Â That is super easy (or quick and dirty)! Note: You may go to Insert tab on ribbon … Continue reading
How to lookup an image in #Excel
Lookup an image using “Linked Picture” in #Excel Perhaps you have used VLOOKUP to return a value from a table very often.Â However you cannot use VLOOKUP to return an image…Â So how the above can be done?Â You will … Continue reading
Insert a text string into a specific position of another text string in #Excel
Turn REPLACE function into “INSERT” function Continue reading
How to turn “1st January, 2017” into #Excel recognizable date?
Quite a long time ago, I wrote a post to discuss a trick to format date with “st”, “nd”, “rd”, etc… In this post, I am going to discuss the reversed way: Turning an English written date with “Dst MMMM, … Continue reading
Lookup a specific combination of characters exclusively, e.g. 5A not 5AA
Got the following question: hi, how do i search for a specific combination of characters exclusively i.e. if one cell contains 5A;3B&4C while another cell contains 5AA;3B&4C, and my search criteria is 5A, i want the results to return only … Continue reading
Using MIN/MAX to answer whichever lower/higher questions
What is “Whichever higher”? Situation:Â You call to your favourite restaurant to reserve a private room for family dinner on Saturday.Â The restaurant manager tells you that there will be a minimum charge of $2000 for a private room.Â Â That mean, … Continue reading