+ Reply to Thread
Results 1 to 7 of 7

Error Message #Value! in 2 formulas

  1. #1
    Registered User
    Join Date
    04-29-2014
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2003
    Posts
    53

    Error Message #Value! in 2 formulas

    Hello,

    Pleas help with a formula with 2 vertical and one horizontal lookup.

    My data file is in the sheet "QB_PL" and a report table in "Report" one.
    I built these 2 formulas and both give me an error message "#Value!".

    =INDEX(QB_PL!C2:AB38,MATCH(Report!B9&D4,QB_PL!B2:B37&QB_PL!A2:A37,0),MATCH(Report!B2,QB_PL!C1:AB1,0))

    =SUMIFS(QB_PL!C2:AB37,QB_PL!C1:AB1,Report!B2,QB_PL!B2:B37,
    Report!B9,QB_PL!A2:A37,Report!E4)

    I checked formatting many times and no success...

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Error Message #Value! in 2 formulas

    The first one using index needs to be entered as an array formula
    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

    The sumifs won't work at all because it requires the Sum Range to be of Equal dimensions to each criteria range.

  3. #3
    Registered User
    Join Date
    04-29-2014
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2003
    Posts
    53

    Re: Error Message #Value! in 2 formulas

    Thank you-) the result changed into "N/A"...

  4. #4
    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
    52,939

    Re: Error Message #Value! in 2 formulas

    1. Is there actually data to find? (does the match exist?)
    2. Please update your profile as necessary to properly reflect the exact version(s) of Excel your question relates to. Members tailor answers based on your Excel version. Your profile says 2003, but your file indicates at least 2007
    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

  5. #5
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Error Message #Value! in 2 formulas

    The #N/A could come from 2 places (3 really, the first match is essentially 2 matches concatenated together)

    Track down which one(s) is failing.
    Separe each match into it's own cell.

    =MATCH(Report!B2,QB_PL!C1:AB1,0)
    =MATCH(Report!B9&D4,QB_PL!B2:B37&QB_PL!A2:A37,0)

    Which one is #N/A ?
    If it's the one concatenating, then break it down further
    =MATCH(Report!B9,QB_PL!B2:B37,0)
    =MATCH(D4,QB_PL!A2:A37,0) <- I might guess that D4 needs to also reference the sheet, same as B9.. Report!D4

  6. #6
    Registered User
    Join Date
    04-29-2014
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2003
    Posts
    53

    Re: Error Message #Value! in 2 formulas

    Hello Jonmo1,

    Thank you very much for your help. With your help I resolved the problem. Much appreciated-

  7. #7
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Error Message #Value! in 2 formulas

    You're welcome.

+ 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. [SOLVED] Remove error message, leave formulas in place
    By Silchas in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-02-2014, 03:13 PM
  2. [SOLVED] #VALUE error message on my formulas
    By ExcelBeginner85 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-29-2013, 07:14 AM
  3. [SOLVED] Error message in formulas awaiting values.
    By mamann in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-04-2013, 12:25 PM
  4. An error message on open - a totally blank VBA message box
    By Mr_Tigas in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-05-2013, 11:29 AM
  5. Error message on 4 IF formulas in one function
    By blondie1986 in forum Excel General
    Replies: 7
    Last Post: 01-17-2012, 05:34 AM
  6. replace VBA run-time error message with custom message
    By BEEJAY in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 07-14-2006, 11:05 AM

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