+ Reply to Thread
Results 1 to 5 of 5

If statement not updating

  1. #1
    Registered User
    Join Date
    06-17-2014
    Location
    Romania
    MS-Off Ver
    2013
    Posts
    2

    If statement not updating

    I am trying to make a conditional for when I have prices in EUROS.
    And I used this formula but it will only return the result as if it were always true.
    When I evaluate the formula everything seems ok.

    =IF(LEFT(NF,1)="€",Q12*P12/31*4.3916,Q12*P12/31)

    Can anyone help me?

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: If statement not updating

    What is "NF" and shouldnt that be a cell reference?
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  3. #3
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,082

    Re: If statement not updating

    No soultion to your problem but you could simplify that to

    =Q12*P12/31*IF(LEFT(NF,1)="€",4.3916,1)
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  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
    53,049

    Re: If statement not updating

    Hi and welcome to the forum

    Presume that NF is a range name? what does it contain?

    Perhaps provide a small sample workbook, showing what you have and what you want
    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
    Registered User
    Join Date
    06-17-2014
    Location
    Romania
    MS-Off Ver
    2013
    Posts
    2

    Re: If statement not updating

    What I want to acive is simple.
    I want this excel to check a cell if it is formated for EURO currency and if so apply a formula.
    I have about 700 items and not all come in EURO so I need a formula that does that.

    NF is a name for =GET.CELL(53,Q12)

+ 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] Updating Sheet2 from Sheet 1 based on If statement
    By lizardlover in forum Excel General
    Replies: 1
    Last Post: 03-21-2014, 12:11 AM
  2. Updating the existing Code using If Statement
    By kate.middleton1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-13-2012, 01:19 PM
  3. Help with automatic chart updating/auto updating today function
    By Tux2424 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 09-26-2012, 04:45 PM
  4. Automaticaly updating a value within an existing IF AND statement
    By Darkprophecy in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-27-2012, 07:19 PM
  5. Replies: 1
    Last Post: 04-27-2012, 03:29 AM

Tags for this Thread

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