+ Reply to Thread
Results 1 to 7 of 7

Using IF with more than 7 limitation

  1. #1
    Registered User
    Join Date
    02-25-2009
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    4

    Using IF with more than 7 limitation

    I need to use the "IF" formula on a worksheet with 15 variables. There is a limit of 7 that can be used at once, does anyone know a way around this?

    Thank you for any help I can get!
    Last edited by MrStang; 02-27-2009 at 09:21 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: using formula "IF"

    Several ways around it... can you give an example of what you are trying to do?

    Note: I changed your title this time to be more descriptive of the problem, please read our forum rules about thread titles...
    Last edited by NBVC; 02-26-2009 at 03:28 PM.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    02-25-2009
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Using IF with more than 7 limitation

    I included my excel file. I need the second sheet to read what number is typed (aisle) return the number of cases from sheet1 ( ex. b4=3 then returns c7 from sheet 1) but I need that for all of the aisles (column b of sheet1)
    Attached Files Attached Files

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Using IF with more than 7 limitation

    So you want the sum of all cases where Aisle number is 3...

    Put a 3 in B4 and then enter this formula in B5:

    =SUMIF(Sheet1!$B$5:$B$37,B$4,Sheet1!$C$7:$C$37)

    which you can copy across the row, aisles in row 3 will be looked up and summed.

  5. #5
    Registered User
    Join Date
    02-25-2009
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Using IF with more than 7 limitation

    I don't need the sum just the number of cases of the aisle # that is typed, If I would type in 3 into B4 on sheet 2 I would get back 10(cell c7 sheet1) into B5 of sheet 2. If I would type in 4 then I would get back the contents from C9 of sheet 1.
    Unfortunately I have to leave right now I will return tomorrow morning. Thank you for the help.

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Using IF with more than 7 limitation

    Then:

    =VLOOKUP(B$4,Sheet1!$B$7:$C$37,2,0)

    This returns the value in C which matches the first occurance of the value in B that, in turn, matches B4 from Sheet2

  7. #7
    Registered User
    Join Date
    02-25-2009
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    4

    Thumbs up Re: Using IF with more than 7 limitation

    Quote Originally Posted by NBVC View Post
    Then:

    =VLOOKUP(B$4,Sheet1!$B$7:$C$37,2,0)

    This returns the value in C which matches the first occurance of the value in B that, in turn, matches B4 from Sheet2
    This worked perfectly. I've never used LOOKUP before, now I can see some other uses for it. Thank you very much!

+ 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