Results 1 to 6 of 6

having trouble with if functions

Threaded View

  1. #1
    Registered User
    Join Date
    09-20-2013
    Location
    ontario
    MS-Off Ver
    Excel 2007
    Posts
    14

    having trouble with if functions

    recordsheet.forum.xlsm


    Hello, I am new but i have been racking my brain about this if function for a while. I am attempting to create a nested if function that returns a value from a database worksheet based on the name of a person entered.

    =IF(ROWS(A$3:A4)>$F$1,"",INDEX(DataBase!$A$2:$A$1048576, SMALL(IF(DataBase!$B$2:$B$1048576=Athletname,ROW(DataBase!$B$2:$B$1048576)-1),ROWS(A$3:A4))))


    this is the function that i am using.
    so it states if the row count is greater than the number of data sets put nothing. otherwise index "database is the sheet name" if the database cell = the athlete name. type smallest value from the database.

    now my problem is it works on the first line of my spreadsheet but when i copy it down i get #num error

    but if i highlight the portions individually and hit F9 to calculate them out it will give me the right value.

    I bolded all the worksheet names and name ranges.

    my question was probably confusing so i posted a copy of my file hopefully that makes it easier.
    Last edited by dsm63; 09-20-2013 at 03:10 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Having trouble with complex ROUNDING functions.
    By kendrijami in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 10-19-2010, 04:20 AM
  2. Trouble Combining Functions
    By jturenne in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-06-2009, 01:35 PM
  3. Trouble with CODE/IF functions
    By Darknessfalls in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-26-2008, 01:28 PM
  4. HELP!!! Trouble with IF, AND functions
    By Ally1977 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-13-2006, 04:00 AM
  5. [SOLVED] date functions:trouble
    By VDan in forum Excel General
    Replies: 1
    Last Post: 08-31-2005, 01:24 PM

Tags for this Thread

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