+ Reply to Thread
Results 1 to 6 of 6

If and Function

  1. #1
    Registered User
    Join Date
    06-13-2006
    Posts
    28

    If and Function

    I have a tally sheet that I keep monthly and until recently has worked to perfection. I was thrown a curveball this month and need to change the way a calculation is done but can not seem to figure it out.
    If the value in column "F" is less than 1400 and the value in column "g" equals "X" I need 200 added to column "F". I have tried =IF(G7=X,+F7+200,F7) but the "X" errors.
    Any help would be welcomed.


  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    If you are trying to increment the same cell in F as that which you compared to, VBA will be needed.

  3. #3
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,099
    What about this,

    ==IF(AND(G7="X",F7<1400),F7+200,F7)
    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

  4. #4
    Registered User
    Join Date
    06-13-2006
    Posts
    28
    Do you have any other ideas that might work?
    I have attached a sample....
    Attached Images Attached Images

  5. #5
    Registered User
    Join Date
    06-13-2006
    Posts
    28
    Chippy!!!! That worked great! Thanks

  6. #6
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,099
    Glad to hear it - 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