+ Reply to Thread
Results 1 to 5 of 5

Nested IF Statement Help...

Hybrid View

  1. #1
    Registered User
    Join Date
    01-21-2011
    Location
    Maidenhead/Sheffield
    MS-Off Ver
    Excel 2003
    Posts
    57

    Nested IF Statement Help...

    Hi guys

    I will try and explain this the best I can... in fact I am not even sure if an if statement is the best function to use.

    Basically I have got a matrix of "bandings".

    I want to test a cell, to say " if the value in the cell is between two seperate numbers, put a value in the cell.

    I've attached an example with further explination.

    Would really appreciate some input on this - i've racked my brains and i'm stumped.

    Thanks in advance
    Attached Files Attached Files
    Last edited by The Boosh!; 07-04-2011 at 10:43 AM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,037

    Re: Nested IF Statement Help...

    Acoording to my math.. 1.7 is not between 1.75 and 2.25

    try this:

    =VLOOKUP(B2, $G$2:$I$12, 3, TRUE)
    Never use Merged Cells in Excel

  3. #3
    Registered User
    Join Date
    01-21-2011
    Location
    Maidenhead/Sheffield
    MS-Off Ver
    Excel 2003
    Posts
    57

    Re: Nested IF Statement Help...

    Wow, thanks all for the speedy responses guys :D

    All the functions mentioned worked perfectly, thanks again!

    [QUOTE=zbor;2556845]Acoording to my math.. 1.7 is not between 1.75 and 2.25
    [QUOTE]

    Sorry, slow Day lol! :D

  4. #4
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Nested IF Statement Help...

    Hi

    in B2 try
     =LOOKUP(B2,$G$2:$G$12,$I$2:$I$12)
    and pull down as needed

  5. #5
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,454

    Re: Nested IF Statement Help...

    Hi,

    In C2, and copied down,

    INDEX($I$2:$I$12,MATCH(B2,$G$2:$G$12,1))
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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