My trip to Maldives…, [travelogue + bonus Excel tip]

Share

Facebook
Twitter
LinkedIn
Note: This is a travelogue style post. There is an Excel tip at the end, but rest of the 2100 words about my experiences of conducting a workshop in Maldives. Feel free to skip this post if you want only Excel stuff.

both-of-us-at-hulhumale-beach

Sometime in November, I got an interesting E-mail from a gentleman named Guru. The title said “Excel Workshop in Maldives”. In the email, Guru introduced himself and asked me if I can come to Maldives to conduct few Excel workshops for companies and individuals.

I usually neglect such mails as many times the actual training (or big consulting assignment etc.) will not happen. So I replied to him giving my number and asked him to call me. I was surprised to receive his call. After talking awhile, it was clear that Guru is tenacious and would not take No for an answer.

So we set things in motion and thanks to Guru’s perseverance, I ended up boarding a flight to Male on 22nd of January. This is a story of what happened next…,

(note: I traveled with my son & Jo. Business trip for me, beach holiday for them.)

The journey (onward):

Almost all the flights to Male from India leave from either Trivandrum, Chennai or Bangalore. We choose the Trivandrum option because it is a direct flight (other 2 flights have a pit-stop at Colombo, Sri-Lanka). The flight took 75 minutes.

Soon after take-off, all we could see was big-blue Indian Ocean beneath us. About 60 minutes in to the journey and small islands and resorts started appearing. They looked nothing like I have ever imagined. The seas were clear blue or green or a mix. The beaches were pure white. The islands looked lush with greenery. The water villas (houses constructed on water) looked calm and elegant.

The same pattern repeated for next 5-10 minutes in various islands before our pilot announced that we would be touching down at Male international airport.

Male Airport

When I saw Male’s map on Google, I thought the airport could not fit anything bigger than an ATR. But I was surprised when we boarded an Airbus 320 at Trivandrum. But I was in for even bigger surprise when we landed at Male. The airport is as big as many other airports I have seen. In fact, they have an entire island for the airport.

So after getting down and finishing immigration formalities we came out.

A note about visas for Maldives:

Maldives has no prior visa requirements for a majority of countries. Almost anyone can go and get a tourist visa for 30 days. Visit Maldives Visa site for more info.

Guru was waiting for us outside airport. We took a ferry to Male, the capital of Maldives. The airport and capital city are well connected by frequent ferries (one every 10 mins). It takes about 15 mins to reach the city.

Male City – Initial Impressions

I have been to some of the most crowded cities in the world – New York, Mumbai, Hong Kong. But I never saw narrower roads than I did in Male. This is probably the first impression you get too. A majority of Maldivians live in Male. Since the city is a small island, they had to get creative to contain so many people and shops and everything. Some of the impressive ways they manage this:

  • Almost all roads are one-ways
  • Many buildings are multistory and quite narrow.
  • Many elevators are small and can carry 6 people at a time.
  • People use bikes or cycles (although you will find a lot of cars, including a BMW that was parked near Sultan Park for the entire duration I was there)

Since I was traveling with family, Guru has arranged accommodation for us in his boss’ house. This was much better than staying in a hotel as my son got more space to play and run.

How my Workshops went?

I had a busy schedule from the moment I landed. On the first day, we conducted a Free Excel Workshop in Aminiya School. This was to get participants to sign-up for our paid workshop.

I choose the topic of Conditional Formatting as it is very close to my heart and the session went very well. We ended up adding few more people to our evening batch.

Later Guru briefed me that I need to conduct 18 hours of Excel training at STELCO (State Electricity Company) and 9 hours at HDC (Hulhumale Development Corp)

We started the training at STELCO next day. We spent the first day discussing Excel overview and writing formulas. The participants were quite friendly and by second day we were cracking jokes and having fun while learning lots of stuff.

Later in the night I conducted a session for individual participants (about 9 of them) again on same topics.

This went for 3 days before we added one more client – FSM (Fuel Supplies Maldives).

What I learned from my workshops?

  • Start with Overview: I always assumed that people would know how to use Excel. So my learning plan started with Formulas (that is how it is for Excel School too). But I was surprised to realize that people want to have a good overview of Excel before jumping in to specifics. So after frist day morning, I changed my plan. My first class became “overview of Excel”. In fact, I even added a lesson Zero to Excel School after coming back.
  • No plan: Before leaving for Maldives, I made elaborate learning plans for both intermediate and advanced Excel sessions. But after landing there, I realized that it is better to have a loosely structured plan and modify it as per participant’s needs.
  • Metaphors are powerful: Often while explaining concepts like namebox, relative vs. absolute references, countif, pivot tables, conditional formatting it was difficult for some participants to understand how they would be relevant. But thankfully, using metaphors I could get my point across
  • Talking for 8 hours a day is a lot of work: After talking for more than 8 hours a day for a week, suddenly I respect all my teachers even more.
  • Pivot tables excite people: In all my classes, when I demoed pivot tables, I could hear “wow!!! that is so much better” from many participants. They raise the overall curiosity of the class and suddenly everyone is paying attention to know more. (hint: expect more pivot table stuff on chandoo.org too)

Participants’ Response:

We had about 50 people attending the workshops. And a majority of them gave a very high rating (4 or 5 out of 5) for it. Many actually wrote testimonials and praised us for doing it. All 3 companies are hopeful to do a follow-up workshop in a few months.

I also learned a lot of things about Excel while explaining or answering students’ questions.

I had a self-doubt whether I would be able to pull off an in-person training program. Now, I am more confident. I can handle future workshops more easily.

So it was a win-win for all of us.

What we did when I was not teaching Excel?

Despite being a small city, Male has lots of surprises. So we were busy for the first 4 days exploring the city and discovering our way back to home. The best things I liked about Male are,

Walks: You can walk from one end of Male to other end in about 30 mins. So you would start from one ocean front and end up another. Although the streets are narrow, they all have foot-paths. So it is easy to walk, leisurely explore the shops and other attractions, watch other tourists and locals.

Ocean Front near Jumhoore Maidhan: is a very lively place to sit and watch tourists, enjoy the sun, ocean breeze, play in the park (or watch your kids play).

(Nishanth and Jo in the sun – Near Jumhoore Maidhan, Male)

nishanth-and-jo-in-sun-at-jumhoore-maidhan

Food: Lots of restaurants serving authentic Asian, continental and Italian varieties. So many varieties of fish and other sea-food at really affordable prices. We especially liked Thai and sea-food at Lemongrass restaurant near Farhadee Magu (close to Sultan Park).

People: Although we did not interact with many people outside my training hours, what I found is that people are very friendly, helpful and cheerful. Participants of my training program are even more awesome as they showed immense curiosity and sense of humor.

About the beaches:

But many people do not go to Maldives to visit Male. They go because of the spectacular beaches in Maldives.

Unfortunately, due to my busy schedule, we could not get much time to explore various beautiful islands in the archipelago. But we did go to two different islands and they both were mind-blowing.

Hulhumale:

(view from Hulhumale jetty)

view-from-hulhumale-jetty

This is an island close to Male. Government of Maldives is developing this island as the mainland Male is very congested. This is where all the new projects are coming up. (and HDC, one of the companies I did training for, is developing the island)

We went to Hulhumale by a ferry on Wednesday (26th of Jan). Hulhumale has lots of beaches (Male has only ocean fronts and one artificial beach). The beaches are very clean, sand is clear white and you can walk almost 200-300 meters in to the water without getting drowned (in some places). We spent the whole evening there.

Six Sense Resort – Lankanfushi Island

(view from a water villa – Six Sense Resort – Lankanfushi Island)

unbelievable-waters-beach-coconut-trees-water-villas-six-sense-resort

A couple of the evening batch students worked at Six Sense Soneva Gili Resort in Lankanfushi Island (one was a training manager and another is a F&B manager). Initially, the training manager tried to arrange a similar workshop at the resort. But they could not make a decision immediately. So we agreed that next time I visit Maldives, I will conduct a workshop at the resort.

But they invited us to spend a day at the resort. Since Maldives is an Islamic country and Friday (and for some companies Saturday) are holidays. So we decided visit the island on Friday (28th). Initially I wanted to say no to the proposal as I was too tired with all the classes. But my wife was keen to enjoy the beaches. So we did go.

Going there proved to be the best part of the trip. The island and the beaches there are nothing like I have ever seen. The waters, sun, sky and calm resort instantly rejuvenated me. We spent the whole afternoon at the beach. I even swam for a while.

We had some coffee and snacks the restaurant. My son started crying loudly when the restaurant supervisor, a Japanese lady, said hello to him.

(3 of us at the staff canteen – Six Sense resort)

all-of-us-at-six-sense-resort-employee-canteen

We left the place barely in time to catch the ferry back to Male.

Are you planning to Visit Maldives? A short tourist guide:

When to go?
November to March is a really good time to visit Maldives. It is very sunny and hot through out the year here. So you may want to avoid the summer months (April-June) or Monsoons (July-October).

What to take?
Beach-wear of course. They have showers in Airport too!!! Carry sun-glasses, hats, slippers, cotton clothes.

About Visas:
For a majority of countries, You do not require visa to enter Maldives. You can get a tourist visa for 30 days upon arrival. Visit Maldives Visa information site.

How much it costs to visit Maldives?

Maldivian currency is Rufiya (MVR). You can get 12.75 MVR for each US $.

Almost all the items are imported to Maldives from near-by countries. For this reason, many food items etc are expensive. That said, compared to costs in many developed countries, Maldives is cheap. You can have a really good meal (with sea-food etc.) for about $10.

Some hacks for budget travelers:

  • For breakfast, go to Seahouse at the Hulhumale Ferry Terminal. They have breakfast buffet for 65 MVR on all days. You can find all varieties (English, Continental, US, Asian) of breakfast items, juices etc. The best part is, you can watch the ocean, speedboats, soak in sun while enjoying the food for a couple of hours.
  • Do not buy milk: It is very expensive here. Instead, you can buy Milk powder and use it for coffee / tea. You can also get yogurt.
  • Take a cab: Taxis are un-metered in Male. You can go from anywhere to anywhere by paying just 20MVR. So if you are tired, hail a cab.
  • Eat out: There are tons of places through of Male that are cheap and delicious. You can walk in to almost any restaurant and eat food for less than $20.
  • No shopping: Since almost everything are imported, you will find the prices to be on higher side for usual shopping items like consumer electronics, clothes, shoes or cosmetics. I was told TVs are cheaper, but carrying one to back home would be a pain.

Closing Thoughts:

We really enjoyed our brief stay at Maldives. I am thankful to Guru and IIPD (the organization Guru works for) for everything they have done to make the training workshops a great success.

Special thanks to STELCO, HDC and FSM for trusting me and giving their time & attention.

I was left with a few hundred Rufiyah by the time we returned to Airport. But I did not give them back to Guru as I know that I would be visiting Male once again. But next time, I hope I could spend a few more hours by the beach too.

Bonus Excel Tip for those of you making this far:

I know you read the travelogue because you want to know more about me. I find it very humbling. So here is a small Excel tip 🙂

Use NETWORKDAYS.INTL() to calculate working days between 2 days with custom weekends:

Often, you may want to find out number of working days between 2 dates. We can use NETWORKDAYS() formula to do this. For eg. NETWORKDAYS(“1-JAN-2011″,”31-JAN-2011”) would tell you the number of working days in Jan (assuming Saturday and Sunday are weekend holidays).

But what if you live in countries like Maldives, where Friday is the weekend. Well, thankfully, you can use the NETWORKDAYS.INTL() formula. This is a new formula introduced in Excel 2010.

So =NETWORKDAYS.INTL(“1-JAN-2011″,”31-JAN-2011”,16) will give you the number of working days in Jan 2011 assuming Friday is a weekend holiday.

But what if you don’t have Excel 2010?

Well, you can use networkingdays() custom UDF instead.

More Travelogues:

Facebook
Twitter
LinkedIn

Share this tip with your colleagues

Excel and Power BI tips - Chandoo.org Newsletter

Get FREE Excel + Power BI Tips

Simple, fun and useful emails, once per week.

Learn & be awesome.

Welcome to Chandoo.org

Thank you so much for visiting. My aim is to make you awesome in Excel & Power BI. I do this by sharing videos, tips, examples and downloads on this website. There are more than 1,000 pages with all things Excel, Power BI, Dashboards & VBA here. Go ahead and spend few minutes to be AWESOME.

Read my storyFREE Excel tips book

Overall I learned a lot and I thought you did a great job of explaining how to do things. This will definitely elevate my reporting in the future.
Rebekah S
Reporting Analyst
Excel formula list - 100+ examples and howto guide for you

From simple to complex, there is a formula for every occasion. Check out the list now.

Calendars, invoices, trackers and much more. All free, fun and fantastic.

Advanced Pivot Table tricks

Power Query, Data model, DAX, Filters, Slicers, Conditional formats and beautiful charts. It's all here.

Still on fence about Power BI? In this getting started guide, learn what is Power BI, how to get it and how to create your first report from scratch.

54 Responses to “6 Tips for Writing Better VLOOKUPs”

  1. andrew says:

    Hi, I am loving the VLOOKUP series this week. 🙂

    Could you please expand a little on why you don't recommend using 1 or 0 in place of true or false? I am in the habit of doing this.

  2. "You can even omit the last argument if it is 0"

    Excel's default for the last argument is TRUE. Because of this, it's dangerous to omit the last arguement. I would use either FALSE or 0. Never omit if you want an exact match.

  3. Daniel Ferry says:

    Nice series, Chandoo!
    .
    Your readers may be interested to know that the quickest formula method to do lookups in Excel is an array-entered INDEX.
    .
    This is one of the many topics covered in the Excel Hero Academy:
    Excel Hero Academy
    .
    Regards,
    Daniel Ferry
    Excel Hero Academy

  4. sam says:

    1. Never use VLOOKUP/HLOOKUP - Always use Match /Index
    2. Sort your data before performing a Loookup
    3. Use 1/-1 option Match as it is at least 10 times faster than the 0 option- But modified to perform an exact match rather than an approximate match as described below
    a) A Column containing a Match Fucntion to Find the Position with the 1/-1 option
    b) A Status column containing a Index to check the status (present/not present)
    c) Multiple array entered Index colums to pick

  5. Gregory says:

    In tip number 5 you state, "you can even omit the last argument if it is 0" which is not correct. If you omit the last argument, Range_Lookup, is TRUE, as Mike Alexander points out.

  6. Sundeep says:

    Excellent series - Need some help from the expert. how easy it is to add/expand a named range in a lookup formula?

  7. Chandoo says:

    @Mike & Gregory: I am sorry for the confusion. The formula =VLOOKUP(value, range, column #) assumes last argument as TRUE.

    Where as the formula =VLOOKUP(value, range, column #, ) assumes last argument is blank or empty which internally gets treated as 0.

    And that is what I mean by you can even omit last argument. I state that "Remember, you must place a comma (,) after the column number if you are planning to use this." otherwise, this will not work.

    @Andrew: I suggest not using 0 or 1 as they are more cryptic and lead to confusion when your spreadsheet gets to someone else's hands.

    @Daniel: Thanks for that.

    @Sam: Good tips. I would just add that using VLOOKUP / HLOOKUP is ok as long as they solve the problem you have and do not take too much time. The performance improvements you get with array entered index or other techniques are minimal when dealing with small and moderately sized data sets.

  8. Hui... says:

    @Sundeep
    Very easy

    Have a read of: http://chandoo.org/wp/2009/10/15/dynamic-chart-data-series/
    Particularly Point 3. Create a new named range and type OFFSET formula

  9. Sundeep says:

    @Hui - Thanks.

    If I have a large workbook with many Vlookups and if I change the range to named range...is there an easy way to change all the formulas? It is more of wishful thinking than a question 🙂

  10. Chandoo says:

    @Sundeep... You can use Apply names from formulas ribbon to apply names to a selected range. This technique works when the ranges are mapped to static references. Dynamic refs. thru OFFSET are bit more tricky.

    You can use the find / replace to automatically replace all $A$1:$C$1000 with dynamic range lstData. See this: http://chandoo.org/wp/2009/02/17/spreadsheet-formulas-edit/

  11. Hui... says:

    @Sundeep
    On the Formulas Tab, Click on the Drop Down on the Define Name button and select Apply Names
    Select one or all Named Ranges and apply
    Excel will go through your worksheet/s and change the Ranges for Named Ranges.

  12. bill says:

    i cannot believe i missed the new to 2007 formula "IFERROR". your mention of this will help reduce the number of characters in many formulars i use (with "ISERROR") by at least 40% along with commensurate reductions in spreadsheet size and calculation speed... not to mention future reduction in typing and debugging time in formulas. thank you. and thank excel.

  13. jayank2000 says:

    Newbie here.
    I am not able to understand the Tip#1. Use of "val", "tbl". I tried and it kept on giving error.
    Chandoo's Tip#1: =VLOOKUP(valSalesPerson,tblData,3,FALSE)
    Does it need column headings? And how do you l lookup the value I am looking.
    Thanks in advance.

  14. JimH says:

    I need some help with creating a formula. I have a list of names on tab 1. (About 20) On tab 2 I have a list of names and there total sales (About 3,500) I created a name range for both the first list of names on tab 1 (Producer) and a name range for the second list on tab 2 (Agent_List) The sales on tab 2 for each producer is in the 7th colume.

    I need the formula to identify name of Producer (Tab1) from the Agent_List and then choose the total sales for that producer.

    This is the formula I put together and I only get #REF!
    VLOOKUP(PRODUCER,AGENT_LIST,7,FALSE)

  15. Hui... says:

    @JimH
    I assume you are adding a column next to the Agent_List on Tab 2 and looking up values from the Agent_List and retrieving values from the Producer list
    .
    So the format for your equation will be:
    =VLOOKUP(A2,Producer,7,FALSE)
    or
    =VLOOKUP(Agent_List,Producer,7,FALSE)
    .
    Note that the named range Producer must be at least 7 columns wide, not just Column A or you will get the #REF! error also

  16. Lala says:

    Hi

    Can anyone please help or this totally impossible in excel? I am trying to do a vlookup with a range of cells that contains "comments" in them and unsuccessful.

    Thank you

  17. Hui... says:

    @Lala
    You cannot search within comments unless you use VBA

  18. Jennie says:

    My tips are:

    Pay attention to data types - no fly if mixing text and numbers. I run into this problem a lot with files downloaded from access that have a tendency to mix data types on me when it hits excel.

    Pay attention to $ - If pulling from the same workbook, $ won't auto fill on your range and you will potentially miss hits.

    • blah blah says:

      Yeah, the data type mixing has bitten several folks I work with in the rear.

      EG: I work at a company where marketing source codes are 10-alphanumeric. But, some codes are like "12345" while others are "123abc". When access or sql dumps to excel, the numerical ones convert to numbers while the text ones stay text.

      So, what I do is create a reference column next to them in which I do a =TRIM([column]). Trim not only removes front/back spaces, it converts a value to text data type. This is useful, b/c sometimes sql db admins will store data with a fixed string length (eg: a column may get stored as char(50), which means it will have 50 chars no matter if it has to add extra spaces at the end to pad it out.) When you dump this to excel, the extra spaces remain at the end. So, the Trim command not only converts numbers to text, it removes padded spaces at the end. Very useful when working with sql dumps.

  19. ankit says:

    I have two sheets, in first sheet i have given a criteria of month (like jan, feb), then on another sheet i have month wise sheet like
    jan feb mar
    a 2 5 8
    b 5 9 8
    c 9 12 89

    now i need in first sheet if i give criteria jan then answer is 2+5+9, or if i give feb then answer is 5+9+12 and like that, how to get that??

  20. Nicole says:

    I am pretty well versed in VLOOKUP but I have a challenge I can't figure out. When I complete the VLOOKUP in one cell, it works fine. When I drag the formula down (using $ where necessary) the value from the first LOOKUP populates in the new cell. If I double click on the cell and hit 'enter' then the correct value is pulled in from the vlookup. Any suggestions why the formula isn't executing correctly until I hit enter?

    • Hui... says:

      @Nicole
      It sounds like Calculation is set to Manual
      Goto the Data Tab Calculation and set it to Automatic

      • Nicole says:

        Absolutely FANTASTIC!! Thank you so much. Slight variation on my version of Excel. I had to go to Formulas Tab then to Calculation sub-tab, Calculation Options, change setting to Automatic. Thank you thank you thank you. Saved me hours of more frustration!

  21. [...] than maybe sorted, which it usually is anyway).Use COUNTIF or MATCH to speed up calculationAs many others have pointed out, VLOOKUP returns #N/A if the lookup value is not found. Instead of using a [...]

  22. Sh says:

    I have more than 2 columns in a table I'm so confused cuz the results i get is #N/A =(

  23. Jerome says:

    I have a 2-sheet database.  Sheet 2 has a list of Accronyms in column A and their description in column B.  On sheet 1, column A is where you input your Acronym. In column B, the formula takes Acronym from column A, looks it up on sheet 2, and displays it on column B. 

    After some research, I found how to make custom text if there is not a match on the Acromyn.  The question i have is, is that when there is no text in comumn A, sheet 1, column B, sheet 1 displays my custom text "ABBREVIATION NOT FOUND".  I'm trying to write a forumla that leaves column B blank unitl there is an input in column A.

    This is my current forulma:
    =IF(ISNA(VLOOKUP(A4,Description!A:B,2,FALSE)),"ABBREVIATION NOT FOUND",(VLOOKUP(A4,Description!A:B,2,FALSE)))

    Any help out there?

    Thanks,

    Jerome

    • Chandoo says:

      Hi Jerome... Thanks for your question. Try this formula instead:

      =IF(A4<>"", IFERROR(VLOOKUP(A4,Description!A:B,2,FALSE),”ABBREVIATION NOT FOUND”), "")

      Works in XL 2007 or above. For older versions use this:

      =IF(A4<>"", IF(ISNA(VLOOKUP(A4,Description!A:B,2,FALSE)),”ABBREVIATION NOT FOUND”,(VLOOKUP(A4,Description!A:B,2,FALSE))), "")

      Btw, to learn more about IFERROR see this: http://chandoo.org/wp/2011/03/11/iferror-formula/

  24. Salvador says:

    I have 2 worksheet, the first one is like this:
    A     B     C     D
    1   DOG   1     BROWN
    1   DOG   2     WHITE
    2   CAT    1    SMALL
    2   CAT    2     MEDIUM
    2    CAT   3     BIG
    THE SECOND WORKSHEET IS LIKE THIS:
    A                  B                                         C                    D
    ENTER#      fORMULA 1 WITH VLOOK          ENTER #     FORMULA 2
                     (RETURN ANIMAL)                                    RETURN TYPE
     
    FOR EXAMPLE i NEED WORKS LIKE THIS:
    2                 CAT                               2                         MEDIUM
     
    FIRST FORMULA IS EASY NOT PROBLEM. bUT FOR THE SECOND i DO NOT FIND HOW TO DO IT. PLEASE HELP.

    • Jo says:

      This would be how I would handle your second formula, in your first worksheet, I would insert a column between C & D. In that column I would have a formula to concatenate the values in column A & C (example =concatenate(a2,c2)) which would result in:

      A B C D E
      1 DOG 1 11 BROWN
      1 DOG 2 12 WHITE
      2 CAT 1 21 SMALL
      2 CAT 2 22 MEDIUM
      2 CAT 3 23 BIG

      Then in the second worksheet formula 2 would be:

      =vlookup(concatenate($a2,$c2),AnimalType columns D&E,2,false)

  25. Gazza says:

    Great Stuff Chandoo
    In your 6th post you say use SUMIF instead of VLOOKUP as it runs faster.
    What if you have a spread sheet with repeated data and you only want to pull one value back?
    would it be best to use a simple VLOOKUP
    or something like: IF(COUNTIF < 2, SUMIF, VLOOKUP)
    I have set COUNTIF < 2 (not just = 1) to take advantage of the fact that if COUNTIF = 0 you won’t get an error

  26. Jo says:

    Now if only you could use the column header name instead of the column index number in the VLOOKUP function.

    Scenario: I have a list/table in one spreadsheet that I use to lookup values in other spreadsheets. If I insert columns in my list/table, I have to go into the other spreadsheet(s) and increment the VLOOKUP formulas' column index number to capture the right column of values.

    Example: if I inserted a column in Table1, my formula:
    =VLOOKUP(A1,Table1,2,FALSE) would have to change to:
    =VLOOKUP(A1,Table1,3,FALSE),
    it would be so much better if you could code something like:
    =VLOOKUP(A1,Table1,Table1[price],FALSE)

    If my lookup result is numeric data I could use sumif as suggested and use the list/table references; is there a similar function I can use for alphanumeric data lookups that uses list/table references?

  27. andy says:

    tip:

    you can use dynamic column reference for your look up if you want to pull multiple column values from another sheet with the same row reference without having to rewrite the the formula, e.g.

    range a1:d1 = "header", 2 , 3, 4
    b2 = vlookup($a2, LookUpRange, b$2, 0)
    c2 = vlookup($a2, LookUpRange, c$2, 0)
    b3 = vlookup($a3, LookUpRange, b$2, 0)

    the above will bring back the value two columns away from LookUpRange in b2, 3 for c2 and 4 for d2 for the same reference, a2. By freezing just the column for your lookup reference value and just the rows for your column reference, you can drag your forums both down and right while keeping all reference both constant and dynamic... as oxymoronic as that sounds.

    • chris says:

      my TIP, building on what Andy says above re using a dynamic refrence: if you use the column functon in the header row - should someone add extra columns to the source sheet your lookup will adapt and still return the right result.

  28. Chaz says:

    With the below formula I am getting "too many arguments for this function. any help?

    =IFERROR(VLOOKUP(RIGHT(M3,7),notes!A:A,1,FALSE),"Failure to process correctly",IFERROR(VLOOKUP(RIGHT(n,2),notes!A:A,1,FALSE),"Failure to process correctly"))

  29. WelshIan says:

    Chaz - IFERROR only requires 2 arguments, you have entered 3 (the vlookup, the error message, the 2nd IFERROR).

    Change your formula to the following:

    =IF(isERROR(VLOOKUP(RIGHT(M3,7),notes!A:A,1,FALSE)),”Failure to process correctly”,IFERROR(VLOOKUP(RIGHT(n,2),notes!A:A,1,FALSE),”Failure to process correctly”))

    Ian

    • WelshIan says:

      Hmm, I'm not sure my formula will return the required output.

      This tests if there is an error in the 1st vlookup, then checks the 2nd, and only returns the error message if both vlookups are errors. Is that what you wanted to do?
      =IF(isERROR(VLOOKUP(RIGHT(M3,7),notes!A:A,1,FALSE)),IFERROR(VLOOKUP(RIGHT(n,2),notes!A:A,1,FALSE),”Failure to process correctly”),VLOOKUP(RIGHT(M3,7),notes!A:A,1,FALSE))

  30. erik says:

    I am trying to use a vlookup with a named range for the lookup array. This works fine. However now I would like to replace this named range with a cell reference (which obviously contains the name of the named range) but get a N/A error message. Is this really not possible?

    vlookup ( A1, named range, 2, 0 ) . This works
    vlookup ( A1, F1, 2, 0 ) . Where cell F1 contains the the text with named range. This does not work.

    Any tips or thoughts would be appreciated. Thank you in advance

  31. erik says:

    Works like a charm. Thank you!

  32. Matt says:

    Some opinions on the pros and cons of using named ranges on http://www.excelvlookuphelp.com along with a few other hot tips

  33. d j says:

    Hello,
    Chandoo,

    Can u explain me how to use vlookup formula in 2 sheets in one excel workbook.

  34. Satish says:

    Hi am Using Index match function to overcome the limitation of Vlookup. But I am failed to get the same result as i get in Vlookup. in vlookup as we can expand the Columns of Vlookup in one single shot. Like Vlookup($A4,A1:G9,3,0) but same Result i Not get in Index match Function. Please help

  35. Sean Burke says:

    Dear Excel super-users,

    Sourcing data from different sheets.

    I'd like to specify in the vlookup formula which sheet to source data from.

    This source sheet will change depending of the name of the person selected in a specific cell C1 on the sheet where the vlookup formula is being run from.

    I'd be grateful for any tips to achieve this.

    Regards,

    Sean

  36. raghuwar singh bisht says:

    dear sir /madam

    please proved me lookup formula
    and exp--------- insert picture formula attched excel sheet

  37. Jayme says:

    Us the Column formula in place of the 3rd argument will save you time when you want to bring in all data columns!

Leave a Reply