+ Reply to Thread
Results 1 to 5 of 5

Help with Formula Please (Display text if no value exists)

  1. #1
    Registered User
    Join Date
    04-07-2011
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    7

    Help with Formula Please (Display text if no value exists)

    I'm trying to calculate a number using multiple cells and the vloopup function (as shown in formula below). If no value exists it's returning "#VALUE!" in the cell, if a value exists then it works fine and gives me the correct number, however whenever no value exists I want it to display "N/A" or "-".

    The current formula...
    =($C$10/2)/COS($C$11*(PI()/180))*$C$16*VLOOKUP('Data Tables'!A13,'Data Tables'!A15:I22,7)

    I have tried;
    IF(ISNA(($C$10/2)/COS($C$11*(PI()/180))*$C$16*VLOOKUP('Data Tables'!A13,'Data Tables'!A15:I22,7)),"-",($C$10/2)/COS($C$11*(PI()/180))*$C$16*VLOOKUP('Data Tables'!A13,'Data Tables'!A15:I22,7))

    But for some reason can't get it to work...

    Any suggestions?

    Thanks

    http://www.mrexcel.com/forum/showthread.php?t=542057
    Last edited by Kynan; 04-07-2011 at 08:41 PM.

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Help with Formula Please (Display text if no value exists)

    Kynan,

    Please take a few minutes to read the forum rules about cross posting.

    http://www.mrexcel.com/forum/showthread.php?t=542057
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    04-07-2011
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Help with Formula Please (Display text if no value exists)

    Thanks for the heads up. I have added it in both forums now. I'll make sure I link it for future posts

  4. #4
    Registered User
    Join Date
    04-07-2011
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Help with Formula Please (Display text if no value exists)

    Formula has been solved. Thanks

  5. #5
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Help with Formula Please (Display text if no value exists)

    Hi Hynan,

    Please don’t forget to mark the thread as solved.

    How to mark a thread Solved
    Go to the first post
    Select
    -- Edit
    -- Go Advanced
    -- Below the word Title you will see a dropdown with the word No prefix
    -- Update to Solved and then select Save

+ 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