+ Reply to Thread
Results 1 to 3 of 3

Nested formula in IF Function

  1. #1
    Registered User
    Join Date
    12-12-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    16

    Nested formula in IF Function

    Hi all!

    First of all thank you for providing a solution to my previous post, it was extremely helpful! (and quick).

    I have another question. I am trying to build an IF function that does the following:

    =IF($AA157=0,"","1/$AA157")

    ...as you can see I want the cell to display nothing if AA157 displays '0', but if it displays another value, say '5', then I want it to trigger a formula that divides 1/AA157 (in this case, it would be 1/5, which would equal 0.2, or 20%).

    I am not sure if this is possible, but I would really appreciate some help.

    Thank you!

    Shaun

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Nested formula in IF Function

    wont just
    =IF($AA157=0,"",1/$AA157) work?
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    12-12-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Nested formula in IF Function

    Thanks very much! I completely forgot about the significance of the speech marks

+ 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