+ Reply to Thread
Results 1 to 5 of 5

Problem with an IF formula

  1. #1
    Forum Contributor
    Join Date
    10-26-2013
    Location
    Athens, Greece
    MS-Off Ver
    Excel 2013
    Posts
    248

    Problem with an IF formula

    Hi. I'm looking for a formula that does the following:

    if(and(b5<>"",if(mod(row(),2=1,c6>=0.5*$c$4) give me i4-i5
    If(and(b5<>"",if(mod(row(),2=1,c6<0.5*$c$4 give me $ah$4-(($ah$4/c4)*c5
    In all other circumstances give me ""

    I tried this
    Please Login or Register  to view this content.
    but it says there is a problem.

    Thanks for any help!
    P.S. I have posted this problem also here http://www.mrexcel.com/forum/excel-q...ml#post4400237
    Last edited by tsakta13ole; 01-19-2016 at 10:44 AM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Problem with an IF formula

    There is something odd in your formulas how can C4be larger or smaller than itself multpiled by anything different than 1 ? (c4>=0.5*$c$4)

  3. #3
    Forum Contributor
    Join Date
    10-26-2013
    Location
    Athens, Greece
    MS-Off Ver
    Excel 2013
    Posts
    248

    Re: Problem with an IF formula

    Sorry. I meant C6 instead of C4. I edited my first post. The problem persists and it highlights the last "".

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Problem with an IF formula

    In addition to Pepe Le Mokko's observation about the value of C4 your formula is combining ODD and ROW into one. They should be ISODD(ROW()). There should also be an extra ) at the end of the formula.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    This will return a value but am not sure if it is what you are really wanting to calculate.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  5. #5
    Forum Contributor
    Join Date
    10-26-2013
    Location
    Athens, Greece
    MS-Off Ver
    Excel 2013
    Posts
    248

    Re: Problem with an IF formula

    Thank you very much! This was what I was looking for!

+ 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. Replies: 1
    Last Post: 01-06-2014, 03:54 AM
  2. [SOLVED] Problem with IF Formula
    By cjhazeh in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-25-2013, 09:17 AM
  3. Replies: 7
    Last Post: 02-03-2013, 06:25 PM
  4. Replies: 2
    Last Post: 01-22-2013, 07:09 AM
  5. Problem reading formula with ActiveCell.Formula
    By Matija in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-01-2011, 06:10 AM
  6. Formula problem.
    By sparrow1 in forum Excel General
    Replies: 8
    Last Post: 01-20-2007, 01:11 PM
  7. problem with formula
    By jpoltor in forum Excel General
    Replies: 2
    Last Post: 03-18-2006, 08:20 PM
  8. [SOLVED] Formula Problem
    By Jeanette in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-23-2005, 04:05 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