+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    02-18-2010
    Location
    amsterdam, netherlands
    MS-Off Ver
    Excel 2003
    Posts
    2

    Unhappy If formula isn't working

    Hello all, I'm really going crazy (im already anyhow)
    To be honest Im pretty ok with excel but this time my brain doesnt want to move in order to get my own solution.
    So this is the case:

    I have 3 columns. 1 is called amount payed in 2009
    the other is called amount payed in 2010.
    And the 3rd is for me to state if the amount has been paid. (I will use the word "yes")
    Now I wanted to use an if formula to say that if the 3rd column contains the word yes it should look which of the 1st 2 columns contains an amount (per line there will only be one amount in those cells, so or in 2009 or 2010) and take that amount. But somehow I cannot create the formula. Does anybody knows a formula which I can use to solve this issue?
    Pretty please
    Thanks a million
    Last edited by ampielee; 02-18-2010 at 07:42 AM.

  2. #2
    Registered User
    Join Date
    02-18-2010
    Location
    amsterdam, netherlands
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: IF Formula HELP!!!

    Hi Teylyn,

    Thanks a lot for your message. I did read the Forum rules, but obviously it didnt stcik that well.
    Sorry for that and thanks for pointing out.

    Ampielee

  3. #3
    Forum Moderator teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    2003 & 2010
    Posts
    10,042

    Re: If formula isn't working

    Thanks for changing the title, ampielee.

    You could try a formula along the lines of

    =IF(C1="yes",sum(A1:B1),"")

    or

    =IF(C1="yes",max(A1:B1),"")

    Adjust the cell references to suit your actual cells. This formula will of course only work if only either A or B contains a number.

    hth
    teylyn
    Microsoft MVP - Excel
    At Excelforum, you can say "Thank you!" by clicking the icon below the post.

    Avoid pie charts with more than two data points. Why? See here (pdf, 559 kb). The only acceptable pie chart is here.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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.2.0