+ Reply to Thread
Results 1 to 5 of 5

If formula to choose which value to use

  1. #1
    Registered User
    Join Date
    07-24-2010
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2000,2003,2010
    Posts
    38

    If formula to choose which value to use

    How can I write this formula?

    =((A9*100)/D11+0.5)-100 (IF A9 value =0 then use A9 = A10)

    Thanks for your help.
    Last edited by manharji; 03-03-2011 at 05:19 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: How can I write this formula?

    =((if(a9=0,a10,a9)*100)/d11+0.5)-100
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    07-24-2010
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2000,2003,2010
    Posts
    38

    Re: If formula to choose which value to use

    Thanks for prompt reply.

    Please help me with following formula. How can I do following formula?

    =((A9*100)/D11+0.5)-100 (IF D11 value =0 then use D11 = D10)

    Thanks for your help.

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: If formula to choose which value to use

    =((A9*100)/D11+0.5)-100 (IF D11 value =0 then use D11 = D10)
    I think you're looking for
    =IF(D11=0,((A9*100)/D10+0.5)-100, ((A9*100)/D11+0.5)-100)
    Is that what you wanted?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: If formula to choose which value to use

    or similar to my last post:

    =((A9*100)/IF(D11=0,D10,D11)+0.5)-100

+ 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