+ Reply to Thread
Results 1 to 4 of 4

If statement will not execute

  1. #1
    Registered User
    Join Date
    05-30-2007
    Posts
    4

    If statement will not execute

    I'm having problems with an If statement that will not execute. The same function works fine when I copy-paste it to an other cell, but it simply does not work for the cell that I want. Anyone who's had the same problem?

    Here is my function:
    =HVIS(Inngangsdata!C5=0;"";Inngangsdata!C5)

    ('Hvis' is 'if' in norwegian, 'Inngangsdata' is just the name of the page from which cell C5 is taken).

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Check the formatting of both C5 and the cell with the formula are they the same?
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Registered User
    Join Date
    05-30-2007
    Posts
    4
    Haha! and I who thought that I had tried everything... You were right, the format was not the same.. Thanks a lot!

  4. #4
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Glad to help - thanks for the feedback

+ 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