+ Reply to Thread
Results 1 to 15 of 15

Vlookup #REF error in formula

Hybrid View

oxicottin Vlookup #REF error in formula 11-27-2012, 02:38 AM
:) Sixthsense :) Re: Vlookup #REF error in... 11-27-2012, 02:41 AM
FDibbins Re: Vlookup #REF error in... 11-27-2012, 03:04 AM
oxicottin Re: Vlookup #REF error in... 11-27-2012, 03:36 AM
Fotis1991 Re: Vlookup #REF error in... 11-27-2012, 03:39 AM
oxicottin Re: Vlookup #REF error in... 11-27-2012, 03:45 AM
Fotis1991 Re: Vlookup #REF error in... 11-27-2012, 03:47 AM
Muzza68 Re: Vlookup #REF error in... 11-27-2012, 03:48 AM
oxicottin Re: Vlookup #REF error in... 11-27-2012, 08:07 AM
Fotis1991 Re: Vlookup #REF error in... 11-27-2012, 08:14 AM
Fotis1991 Re: Vlookup #REF error in... 11-27-2012, 08:25 AM
oxicottin Re: Vlookup #REF error in... 11-27-2012, 08:31 AM
Fotis1991 Re: Vlookup #REF error in... 11-27-2012, 08:43 AM
oxicottin Re: Vlookup #REF error in... 11-27-2012, 10:52 AM
Fotis1991 Re: Vlookup #REF error in... 11-27-2012, 12:44 PM
  1. #1
    Registered User
    Join Date
    02-18-2006
    Location
    WV
    MS-Off Ver
    2003,2007,2010
    Posts
    79

    Vlookup #REF error in formula

    Hello, im trying to reference a chart on my sheet2 using VLOOKUP and I have no clu where to add the name of the sheet. (C5,F5 are on sheet2 and Q5:U263 is on sheet2)

    =IF(G36="","",IF(G36<C5,F5,VLOOKUP(G36,Q5:U263,4,1)))
    Thanks!
    Last edited by oxicottin; 11-27-2012 at 12:46 PM.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Vlookup #REF error in formula

    (C5,F5 are on sheet2 and Q5:U263 is on sheet2)
    All references are in sheet2 or typo error?


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Vlookup #REF error in formula

    I would suggest that you create the formula using the "point and click" method. that way, the correct sheet references will be added for you
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    02-18-2006
    Location
    WV
    MS-Off Ver
    2003,2007,2010
    Posts
    79

    Re: Vlookup #REF error in formula

    Quote Originally Posted by FDibbins View Post
    I would suggest that you create the formula using the "point and click" method. that way, the correct sheet references will be added for you
    I did click on the sheet where I thought it should be an I still go the error. the formula works if its on the same sheet . here is what I used/tried with same error.

     =IF(G36="","",IF(G36<'ReferanceSheet'!C5,F5,VLOOKUP(G36,'ReferanceSheet'!Q5:U263,4,1)))

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Vlookup #REF error in formula

    My suggestion is to upload a sample workbook so anyone that want to helps you, can work on it.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  6. #6
    Registered User
    Join Date
    02-18-2006
    Location
    WV
    MS-Off Ver
    2003,2007,2010
    Posts
    79

    Re: Vlookup #REF error in formula

    OK I'll upload one in the morning when I get up.

    Thanks!

  7. #7
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Vlookup #REF error in formula

    If you upload now, i believe that when you'll get up in the morning you'll have your solution!

    Isn't this a good idea?

  8. #8
    Registered User
    Join Date
    09-30-2012
    Location
    Perth, Australia
    MS-Off Ver
    MSO all versions to 2007
    Posts
    30

    Re: Vlookup #REF error in formula

    vlookup can be a real ***** to make work sometimes.
    Check the type of your data, if it has been pasted from elsewhere it needs to be paste special as "unicode text".
    Otherwise go to the data menu ribbon and do "Text to colums", select each column individually and just click finish without changing anything.
    Also be careful your workbook didn't start out life as a .CSV file.

    Even better is to use INDEX_MATCH for all your lookups.
    =VLOOKUP(G36,'ReferanceSheet'!Q5:U263,4,1) equates to =Index([range of data for return],MATCH([lookup value],[lookup range],0),[column # of return])

  9. #9
    Registered User
    Join Date
    02-18-2006
    Location
    WV
    MS-Off Ver
    2003,2007,2010
    Posts
    79

    Re: Vlookup #REF error in formula

    Ok, here is the workbook attached. The sheet(Calculator) has a cell (G38)that supposed to interact with the sheet (Benefit Rate Tbl)When I add the sheets name by clicking it now gives me an error #NA.

    Thanks!


    Sorry about the sheet being protected I reuploaded also, I fixed the cell locations
    Attached Files Attached Files
    Last edited by oxicottin; 11-27-2012 at 08:27 AM.

  10. #10
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Vlookup #REF error in formula

    Your sheet is protected by a password.


    Also range Q5:U263 in both sheets is empty.
    Last edited by Fotis1991; 11-27-2012 at 08:18 AM. Reason: Also

  11. #11
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Vlookup #REF error in formula

    OR, do you mean?

    =IF(G36="","",IF(G36<C5,F5,VLOOKUP(G36,Base_Period_Chart!C5:G259,4,1)))

  12. #12
    Registered User
    Join Date
    02-18-2006
    Location
    WV
    MS-Off Ver
    2003,2007,2010
    Posts
    79

    Re: Vlookup #REF error in formula

    Im so sorry I reuploaded without protect and fixed the cells to the correct ones. It kinda works now, what doesnt work is if the amount in G36 is less than 2,200.00 then G38 should display INELEGABLE but instead it shows a zero.

    Fixed cells to:

    =IF(G36="","",IF(G36<'Benefit Rate Tbl'!C5,F5,VLOOKUP(G36,'Benefit Rate Tbl'!C5:F263,4,1)))

  13. #13
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Vlookup #REF error in formula

    =IF(G36="","",IF(G36<'Benefit Rate Tbl'!C5,'Benefit Rate Tbl'!$F$5,VLOOKUP(G36,'Benefit Rate Tbl'!C5:F263,4,1)))

  14. #14
    Registered User
    Join Date
    02-18-2006
    Location
    WV
    MS-Off Ver
    2003,2007,2010
    Posts
    79

    Re: Vlookup #REF error in formula

    Quote Originally Posted by Fotis1991 View Post
    =IF(G36="","",IF(G36<'Benefit Rate Tbl'!C5,'Benefit Rate Tbl'!$F$5,VLOOKUP(G36,'Benefit Rate Tbl'!C5:F263,4,1)))
    You sir are awesome! Thanks a mill.....

  15. #15
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Vlookup #REF error in formula

    You are welcome!

    Thanks for the reb*

+ 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