+ Reply to Thread
Results 1 to 3 of 3

Nested IF Function not working!! HELP!!

  1. #1
    Forum Contributor Alice21's Avatar
    Join Date
    04-22-2010
    Location
    Wales, United Kingdom
    MS-Off Ver
    Excel 2007
    Posts
    173

    Nested IF Function not working!! HELP!!

    Hi

    In short - I have a long nested IF function that works well for a few rows then does not display the '0' text I would expect when the statement is false.

    Basically I have 12 geographical areas and in these areas are a number of teams. I store the list of areas/teams in a tab called Lookup

    Example geographical area 1 = Wales
    Teams = Caerphilly, Breacon, Cardiff, Newport

    Example geographical area 2 = England
    Teams = London, Manchester, Kent, Surrey, Newcastle, Birmingham, Liverpool

    What I have on my front sheet in cell A56 is a drop down of the geographical areas for uses to select (i.e Wales).
    In cell A57 I want the formula to automatically bring me the first team name in that selected area (i.e Caerphilly). So basically the formula checks the area name in A56 and if it's a match display the first team name. This works fine but when I drag the formula down to show the second team name, third name etc..once there are no more Wales teams it starts showing the England teams even though Wales is the area selected A56. I would expect the cells to show a 0 after the last Wales team

    I have a huge data set and I am unable to quickly draw up a blank spreadsheet (sorry) for but this is what I have at present:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Any ideas why the formula does not show a 0 when false? OR, can anyone think of different way of doing this?

    I just need the users to select an area from a drop down and the teams below to update automatically to show the relevant teams for that area.

    Sorry if I am not very clear, I have to get this off today as I am on leave until July!

  2. #2
    Registered User
    Join Date
    02-21-2011
    Location
    Australia
    MS-Off Ver
    MS Office 2016 on Windows 10
    Posts
    42

    Re: Nested IF Function not working!! HELP!!

    Hi there,

    I am in the process of completing something similar and have found the solution in dependant drop down lists. I found this site very useful.

    http://www.contextures.com/xlDataVal02.html

    Basically you would set up a List of Geographical areas.
    on the next column you would put Wales with the teams below: Caerphilly, Breacon, Cardiff, Newport
    On the next column England with the teams below: London, Manchester, Kent, Surrey, Newcastle, Birmingham, Liverpool

    https://youtu.be/C2JOhit9hEI
    Last edited by BuntyMac; 06-16-2016 at 08:28 AM.

  3. #3
    Forum Contributor Alice21's Avatar
    Join Date
    04-22-2010
    Location
    Wales, United Kingdom
    MS-Off Ver
    Excel 2007
    Posts
    173

    Re: Nested IF Function not working!! HELP!!

    Hi there

    Thank you for that, i'll take a look

    In my mad desperation I think I may have found something that could work also, yet to fully try it...

    http://www.get-digital-help.com/2011...ltiple-values/

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Nested if not working.
    By fleja in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-17-2015, 09:54 AM
  2. [SOLVED] Nested if Function not working with third IF.
    By Ejward in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-08-2013, 04:35 PM
  3. [SOLVED] Nested IF Function...why isnt it working?
    By PJC2013 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-26-2013, 11:00 PM
  4. [SOLVED] Nested IF Function Not Working
    By rstephen in forum Excel General
    Replies: 8
    Last Post: 06-27-2012, 04:31 PM
  5. [SOLVED] Nested If Function Not working
    By heresteve2 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-26-2012, 10:51 AM
  6. Nested IF function not working?
    By HelenW in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-03-2008, 11:56 AM
  7. Countif with nested function not working?
    By jshuatree in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 07-17-2006, 05:55 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1