+ Reply to Thread
Results 1 to 7 of 7

Getting error #value

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    06-29-2014
    Location
    India
    MS-Off Ver
    2010 Windows 10 64 bits
    Posts
    1,269

    Getting error #value

    Hi,
    If the cell '$b$1' = Std. 9 A or Std. 9 B' then the cell should show 'Hindi1' else 'Hindi2'. The formula is giving error #value.

    =IF(Information!$b$1="","",IF(OR(Information!$b$1="Std. 9 A","Std. 9 B"),"Hindi1","Hindi2"))
    Any help will be appreciated.

    Thanking you,
    Last edited by mso3; 08-24-2014 at 08:07 AM. Reason: Correct the formula
    Sincerely,

    mso3

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Getting error #value

    Try this instead:

    Formula: copy to clipboard
    =IF(Information!$B$1="","",IF(OR(Information!$B$1="Std. 9 A",Information!$B$1="Std. 9 A""Std. 9 B"),"Hindi1","Hindi2"))
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Contributor
    Join Date
    06-29-2014
    Location
    India
    MS-Off Ver
    2010 Windows 10 64 bits
    Posts
    1,269

    Re: Getting error #value

    Hi Glenn,
    Thank you for correction. It's partially working. If there is 'Std. 9 A or Std. 9 B' on information sheet $b$1 then the cell should display 'Hindi1' else 'Hindi2'. Now for Std. 9 B it is showing 'Hindi2' instead of 'Hindi1'.

    Std. 9 A: Hindi1
    Std. 9 B: Hindi1
    Else: Hindi2

    Thanking you.
    Attached Files Attached Files

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Getting error #value

    Sorry... Clumsy copying by me..

    Formula: copy to clipboard
    =IF(Information!$B$1="","",IF(OR(Information!$B$1="Std. 9 A",Information!$B$1="Std. 9 B"),"Hindi1","Hindi2"))

  5. #5
    Forum Contributor
    Join Date
    06-29-2014
    Location
    India
    MS-Off Ver
    2010 Windows 10 64 bits
    Posts
    1,269

    Re: Getting error #value

    Hi Glenn,
    Thank you. Now it's working fine.

    Thank you.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Getting error #value

    You're welcome.. and apologies for mucking it up first time...

  7. #7
    Forum Contributor
    Join Date
    06-29-2014
    Location
    India
    MS-Off Ver
    2010 Windows 10 64 bits
    Posts
    1,269

    Re: Getting error #value

    Dear Glenn,
    Please don't mind.

    You have solved my problem and I appreciate you for the same.

    Thank you and have a nice day.

+ 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] Run-tim error -2147467259(80004005): Automation error Unspecidied error
    By mattress58 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-25-2014, 12:12 PM
  2. Excel macro (compile error. syntax error.) error
    By salar_younis in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-06-2014, 06:11 AM
  3. Error "run-time Error '1004': General Odbc Error
    By D4WNO77 in forum Access Tables & Databases
    Replies: 2
    Last Post: 07-16-2012, 09:55 AM
  4. Error 75 File/Path access error, sometimes Error 1004
    By smokebreak in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 02-16-2011, 02:35 PM
  5. [SOLVED] Error Handling - On Error GoTo doesn't trap error successfully
    By David in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-16-2006, 02:10 PM

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